2 Replies Latest reply on Sep 22, 2010 9:46 AM by volothamp

    Evaluating expression into Facelets components

    volothamp

      Hello guys, I have some problem evaluating expression in a Facelets component defined in a .taglib.xml
      SortField2.getExpression() gives me the value "#{sortBy}" instead of evaluating the value.
      My component (a simple column) is defined as:
      <ui:composition>
          <rich:column sortBy="#{sortBy}" width="#{width}" styleClass="#{styleClass}">
              <f:facet name="header">#{header}</f:facet>
              <ui:insert />
          </rich:column>
      </ui:composition>
      I see that in TagValueExpression there is a "original" field which contains my value, but unfortunately it is private.
      Any idea on how to extract it?
      Thank you for your help.

      Hello guys, I have some problem evaluating expression in a Facelets component defined in a .taglib.xml

       

      SortField2.getExpression() gives me the value "#{sortBy}" instead of evaluating the value.

       

      My component (a simple column) is defined as:

       

      <ui:composition>

          <rich:column sortBy="#{sortBy}" width="#{width}" styleClass="#{styleClass}">

              <f:facet name="header">#{header}</f:facet>

              <ui:insert />

          </rich:column>

      </ui:composition>

       

      I see that in TagValueExpression there is a "original" field which contains my value, but unfortunately it is private.

       

      Any idea on how to extract it?

       

      Thank you for your help.