Re: Inappropriate OGNL expression !

2012-09-21 Thread Chuck Hill
invoking setValue on WOOgnlAssociation: 'dateFormat(anOperation.dateStart)'. InappropriateExpressionException: Inappropriate OGNL expression: dateFormat(anOperation.dateStart) at ognl.SimpleNode.setValueBody(SimpleNode.java:257) at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177

Re: Inappropriate OGNL expression !

2012-09-21 Thread Chuck Hill
setValue on WOOgnlAssociation: 'dateFormat(anOperation.dateStart())'. InappropriateExpressionException: Inappropriate OGNL expression: dateFormat(anOperation.dateStart()) at ognl.SimpleNode.setValueBody(SimpleNode.java:257) at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177

Re: Inappropriate OGNL expression !

2012-09-21 Thread Louis Demers
Had some hope for a few seconds... Bot no Sep 21 11:59:23 ERROR ognl.webobjects.WOOgnlAssociation - Exception invoking setValue on WOOgnlAssociation: 'dateFormat(anOperation.dateStart())'. InappropriateExpressionException: Inappropriate OGNL expression: dateFormat(anOperation.dateStart

Re: Inappropriate OGNL expression !

2012-09-21 Thread Ramsey Gurley
On Sep 21, 2012, at 9:59 AM, Chuck Hill wrote: One solution is to add a method public String dateFormatForOperationStartDate() { NSTimestampFormatter formatter = new NSTimestampFormatter(%Y-%m-%d %H:%M:%S);

Inappropriate OGNL expression

2012-03-12 Thread Pascal Robert
=$~transactionsForSpec(revisionItem) / But I'm getting: ognl.InappropriateExpressionException: Inappropriate OGNL expression: transactionsForSpec(revisionItem) Funny thing is that it does work even if I'm getting this, the sub-component is called and the array have the right objects. So I'm curious of finding

Re: Inappropriate OGNL expression

2012-03-12 Thread Simon
moved some code to a sub-component and I have to pass the array I get from the method to the component. So I did:  wo:BuildManifest transactions=$~transactionsForSpec(revisionItem) / But I'm getting:   ognl.InappropriateExpressionException: Inappropriate OGNL expression