Ray,
this should work as described and there are tests to check that it
does. Is there something unusual with your bean properties?
Could you post the relevant classes?
On 9/20/06, Ray Shi <[EMAIL PROTECTED]> wrote:
Hi there,
In the Java code, if I creat an Order bean instancen, and set it to the
variable 'order' in the Jelly context as showed in the folllowing code
snippet,
…
myJellyContext.setVariable("order", order);
…
myScript.run(myJellyContext, output);
...
Then in the Jelly script, I would expect the jelly:core expr element <j:expr
value='${order.customer.name}'/> would return "Bob Smith" which is the value
of the nested 'name' property.
However with the current Jelly implementation, it returns a null value.
So how do I access the properties of Java beans added into the Jelly context
from within the Jelly scripts?
Thanks in advance
Ray
--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]