Note that there are some explanatory texts on larger screens.

plurals
  1. POIterating <rich:columns> having value contains List , that contains another list is not working?
    primarykey
    data
    text
    <p>I'm using richFaces 3.3 and JSF 1.2.</p> <p>In my sample application I need to display List of items in and contains also i.e( 2 columns having and third one is ) </p> <p>If I try to give List with in another List as value for rich:columns means its not working but direct bean value is working ???</p> <p>mainClass </p> <p>having getter , setter of String item1 , String item2, List priceList</p> <pre><code>mainList contains item 1 item 2 List&lt;price&gt; priceList like that... so in &lt;rich:dataTable&gt; if i try to give value like &lt;rich:dataTable id="positions" value="#{bean.mainList}" var="var"&gt; &lt;rich:column&gt; &lt;f:facet name="header"&gt; &lt;h:outputText value="item1"/&gt; &lt;/f:facet&gt; &lt;h:outputText id="contname" value="#{var.item1}"&gt; &lt;/rich:column&gt; &lt;rich:column&gt; &lt;f:facet name="header"&gt; &lt;h:outputText value="item2"/&gt; &lt;/f:facet&gt; &lt;h:outputText id="contname" value="#{var.item2}"&gt; &lt;/rich:column&gt; &lt;rich:columns value="#{var.priceList}" var="partnerPriceItem" columns="2" index="ind"&gt; &lt;f:facet name="header"&gt; &lt;h:outputText id="output#{ind}" value="#{partnerPriceItem.id}" /&gt; &lt;/f:facet&gt; &lt;h:outputText id="price#{ind}" value="#{partnerPriceItem.price}" /&gt; &lt;/rich:columns&gt; &lt;/rich:dataTable&gt; </code></pre> <p>here for first 2 columns working fine. but when I try to give referencing from another List means not working ??</p> <p>output like </p> <p>item 1 item 2 price1 price2 price3</p> <p>1 2 100 200 300 <br> </p> <p>2 2 50 100 75</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload