myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <>
Subject Re: [Trinidad] tr:table varStatus not working for EL passed to included components
Date Thu, 20 Mar 2008 19:32:42 GMT
Try using ui:decorate instead of a user source tag to see if it is a
problem with the UserTagHandler facelets class. Also simplify you
template so that you eliminate other possible problems (also try
swapping ui:component out with ui:composition to see if that has an

<tr:table varStatus="statux" ...
    <ui:decorate template="/facelets/valueHolder.xhtml">
      <ui:param name="idBase" value="foo:#{statux.index}" />
      <ui:param name="rowIndex" value="#{statux.index}" />


  Raw value: #{rowIndex} <br/>
  Component EL value: <h:outputText value="#{rowIndex}" /> <br/>
  In onclick: <tr:commandLink onclick="Click( 'foo:#{statux.index}');"
.../> <br/>

They may look the same, but they are treated by facelets slightly
differently so it may be worth trying the different permutations. As
always with debugging, try to remove all unnecessary code and try to
see if you can break or succeed with very simple code.

Try using h:dataTable and h:commandLink to eliminate Trinidad as a
potential problem (you can also try t:dataList or ui:repeat to test
varStatus implementations in other libraries).

After these tests, try the facelets mailing list to see if anyone there knows.


View raw message