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

        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Philip Breau [ philip.breau ] Ted Goddard [ ted.goddard ]
        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.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36457 Fri Jun 28 09:35:55 MDT 2013 ted.goddard add space after dollar for portable EL (MOBI-817)
        Files Changed
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0-ee-base/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/layout/dataview-example.xhtml
        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.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36458 Fri Jun 28 09:55:51 MDT 2013 ted.goddard add space after dollar for portable EL (MOBI-817)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/jsf/mobileshowcase/src/main/webapp/WEB-INF/includes/examples/layout/dataview-example.xhtml

          People

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

            Dates

            • Created:
              Updated:
              Resolved: