javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-983

Enable all standard validator and converter attributes for ValueExpressions

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Validation/Conversion
    • Labels:
      None

      Description

      At the moment for example the <f:convertNumber> converter does not allow to use dynamic value expressions. As a result the converter cannot be used within <h:dataTable> or any other iterating components because the attribute values will be evaluated at component creation and not at runtime.

      Imagine an example where money values of different currencies will be displayed in a table:
      <h:dataTable value="someData" var="item">
      <h:column>
      <h:outputText value="#

      {item.moneyValue}

      ">
      <f:convertNumber currencyCode="#

      {item.moneyCurrencyCode}

      " />
      </h:outputText>
      </h:column>
      </h:dataTable>

      This will not work as the currencyCode attribute will not be evaluated dynamically when converting the value.

        Activity

        Mathias Werlitz created issue -
        Hide
        Ed Burns added a comment -

        Bulk assign all of Sheetal's spec issues to me.

        Show
        Ed Burns added a comment - Bulk assign all of Sheetal's spec issues to me.
        Ed Burns made changes -
        Field Original Value New Value
        Assignee sheetalv [ sheetalv ] Ed Burns [ edburns ]
        Ed Burns made changes -
        Assignee Ed Burns [ edburns ]
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Manfred Riem made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]
        Hide
        Manfred Riem added a comment -

        Setting priority to Minor

        Show
        Manfred Riem added a comment - Setting priority to Minor

          People

          • Assignee:
            Unassigned
            Reporter:
            Mathias Werlitz
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: