ICEmobile
  1. ICEmobile
  2. MOBI-817

dataView column displays EL rather than value on JBoss 5

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Final
    • Fix Version/s: EE 1.3
    • Component/s: Applications
    • Labels:
      None
    • Environment:
      ICEmobile, JBoss 5

      Description

      The dataView example contains:

                      <mobi:dataViewColumn headerText="Cost" value="$#{car.cost}"
                                           rendered="#{dataViewBean.costColVis}" />

      which results in the cost value being displayed literally as $#{car.cost} on JBoss 5 due to the "$" character being detected as EL syntax.

        Activity

        Hide
        Ted Goddard added a comment -

        The fix is to use the expression "$ #

        {car.cost}

        ". Note that an internationalized version of the demo would not have this problem since the currency symbol would also be obtained from the bean or a property bundle and would not appear in the EL expression.

        Show
        Ted Goddard added a comment - The fix is to use the expression "$ # {car.cost} ". Note that an internationalized version of the demo would not have this problem since the currency symbol would also be obtained from the bean or a property bundle and would not appear in the EL expression.
        Hide
        Ted Goddard added a comment -

        Verified on Tomcat 7 and JBoss 5.

        Show
        Ted Goddard added a comment - Verified on Tomcat 7 and JBoss 5.

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: