Details
-
Type: Bug
-
Status: Resolved
-
Priority: 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.
<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.
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.