Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do i set end value and begin value dynamically in c:forEach loop?
    primarykey
    data
    text
    <p>Good afternoon.</p> <p>I have the following problem, the end of the attribute value </p> <pre><code>&lt;c: foreach should vary for each row in the datatable, eh trying with expression language but simply does not work. </code></pre> <p>This is the code:</p> <pre><code>&lt;ace:dataTable value="#{TreeTableBk.rubros}" var="rubro" paginator="true" paginatorPosition="bottom" rows="10" style="font-size: 12px; font-family: Tahoma, Verdana, Arial, Sans-Serif"&gt; &lt;ace:column headerText="Informacion"&gt; &lt;div align="left"&gt; &lt;h:panelGroup&gt; &lt;c:forEach begin="0" end="#{rubro.nivel}"&gt; &lt;h:outputText value="__*"&gt;&lt;/h:outputText&gt; &lt;/c:forEach&gt; &lt;h:inputText value = "#{rubro.codigoPadre}" rendered = "#{rubro.final_ == 'N'}" styleClass = "SMRInputTextNegrilla6" style = "background-color:#A5CCE7"&gt; &lt;/h:inputText&gt; &lt;h:inputText value = "#{rubro.codigoPadre}" rendered = "#{rubro.final_ == 'S'}" styleClass = "SMRInputTextNegrilla6" &gt; &lt;/h:inputText&gt; &lt;h:inputText value = "#{rubro.codigo}" styleClass = "SMRInputTextNegrilla6" style = "background-color:#D1F2C7"&gt; &lt;/h:inputText&gt; &lt;h:inputText value = "#{rubro.descripcion}" styleClass = "SMRInputTextNegrilla6" &gt; &lt;/h:inputText&gt; &lt;h:inputText value="#{rubro.nivel}" styleClass="SMRInputTextNegrilla6"&gt; &lt;/h:inputText&gt; &lt;/h:panelGroup&gt; &lt;/div&gt; &lt;/ace:column&gt; &lt;/ace:dataTable&gt; </code></pre> <p>Any idea how to resolve this would be helpful.</p> <p>many Thanks</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.
 

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