History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OGNL-98
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jesse Kuhnert
Reporter: Max Weißböck
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OGNL

Simple ognl expressions like comparison "==" or divide "/" cause errors

Created: 28/Jun/07 02:07 AM   Updated: 30/Jun/07 02:42 PM
Component/s: None
Affects Version/s: 2.7
Fix Version/s: 2.7.1

Environment: Used in Tapestry 4.1.2 on Windows XP and Java 5


 Description  « Hide
The following expression fails:

"ognl:components.productSaleTable.tableRow.totalPriceInCent / 100.0"

It throws the error: Caused by: compile error: ) is missing

This one also fails:

"ognl:ordersPerShopLoop.index % 2 == 0"

It throws the error: Caused by: compile error: invalid types for ==


 All   Comments   Change History      Sort Order:
Jesse Kuhnert - [30/Jun/07 02:42 PM ]
I wasn't able to reproduce your "value / 100.0" error but did find the other one.

If you have more exact object type information(and one of the sample values perhaps) - I can probably nail it but just don't have enough information yet.