amateur83
asked on
JSF h:dataTable
The code attached will generate my results in..
A
B
C
D
how can i display it in
A B C D?
A
B
C
D
how can i display it in
A B C D?
<t:dataTable id="data" var="artistCategoryInfo" value="#{searchArtistBean.artistCategoryList}"
preserveDataModel="false" align="center"
width="98%" border="0" cellpadding="2"
cellspacing="1" rowIndexVar="tableRowIndex" >
<h:column>
<h:commandLink action="#{searchArtistBean.listArtistAction}"
actionListener="#{searchArtistBean.listArtistListen}">
<h:outputText value="#{artistCategoryInfo.name}" />
</h:commandLink>
<f:param id="artistCategory" value="#{artistCategoryInfo.name}"/>
</h:column>
</t:dataTable>
ASKER
thanx, but I've already read that before....
So there is example, are you not able do like that?
ASKER
karanw, if i was able to do so, then i won't be posting the question here....
I am able to display in
A
B
C
D
but i need to display it in A B C D..
i tried doing so by adding panel grid but it didnt work.
I am able to display in
A
B
C
D
but i need to display it in A B C D..
i tried doing so by adding panel grid but it didnt work.
store the 4 string values in list. And then display these four values like list[0] list[1].....
ASKER
Thanx karanw, i found the solution.
I used t:dataList instead of t:dataTable. This way, it displays my items jsut the way i want.
Thanx anyway...
I used t:dataList instead of t:dataTable. This way, it displays my items jsut the way i want.
Thanx anyway...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.exadel.com/tutorial/jsf/jsftags-guide.html