dear all,

I have method named getImageAsset in the java class.

and I have this code in HTML template file:
<img jwcid="@Image" image="ognl:imageAsset(book.isbn)">

when I run the application, there was error saying "java.lang.NoSuchMethodException imageAsset(java.lang.String)". why does tapestry search for method named imageAsset in the java class, instead of getImageAsset?

My application works smoothly when I use this code in HTML template file:
<img jwcid="@Image" image="ognl:getImageAsset(book.isbn)">

Can someone explain this behavior?

Thanks....




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to