下午好。
我有以下问题,属性值结束
<c: foreach should vary for each row in the datatable, eh trying with expression language but simply does not work.
这是代码:
<ace:dataTable value="#{TreeTableBk.rubros}" var="rubro"
paginator="true" paginatorPosition="bottom" rows="10" style="font-size: 12px; font-family: Tahoma, Verdana, Arial, Sans-Serif">
<ace:column
headerText="Informacion">
<div align="left">
<h:panelGroup>
<c:forEach begin="0" end="#{rubro.nivel}">
<h:outputText value="__*"></h:outputText>
</c:forEach>
<h:inputText
value = "#{rubro.codigoPadre}"
rendered = "#{rubro.final_ == 'N'}"
styleClass = "SMRInputTextNegrilla6"
style = "background-color:#A5CCE7">
</h:inputText>
<h:inputText
value = "#{rubro.codigoPadre}"
rendered = "#{rubro.final_ == 'S'}"
styleClass = "SMRInputTextNegrilla6" >
</h:inputText>
<h:inputText
value = "#{rubro.codigo}"
styleClass = "SMRInputTextNegrilla6"
style = "background-color:#D1F2C7">
</h:inputText>
<h:inputText
value = "#{rubro.descripcion}"
styleClass = "SMRInputTextNegrilla6" >
</h:inputText>
<h:inputText value="#{rubro.nivel}" styleClass="SMRInputTextNegrilla6">
</h:inputText>
</h:panelGroup>
</div>
</ace:column>
</ace:dataTable>
任何想法如何解决这个问题都会有所帮助。
非常感谢