Hello, I am stuck with this. I have column attachment with multiple values (Value1 and Value2) now I wanted to display Value1 in one column and Value2 in other column.
<rich:column style="width:28%;" id="dailycol3">
<f:facet name="header" >#{lbl['label.attachment']}</f:facet>
<rich:dataTable value="#{daily.files}" var="file" id="table1"
style="width:100%;border: 0px;">
<rich:column style="width:20%; border: 0px;" id="dailycol3_1">
<h:outputText value="#{file.fileDescription}" id="dailyop4"/>
<h:commandLink actionListener="#{dailyOrderMaster.downloadFile}" value="#{lbl['label.download']}" id="dailycmdlnk2">
<f:param name="fileName" value="#{file.uploadedFileName}"/>
<f:param name="caseFileId" value="#{file.caseFileId}"/>
</h:commandLink>
</rich:column>
</rich:dataTable>
</rich:column>
Column |
---|
Value1 |
Value2 |
Value3 |
Value4 |
Now I wanted to display each value in seperate columns.How to do this ????
column1 |
---|
Value1 |
Column2 |
---|
Value2 |
Column3 |
---|
Value3 |
I don't understand, if you have two values then put them in two columns. If those values are in a list (= they are on different rows) then change the data model. What you're showing is still one column (or are they meant to be next to each other?)