All,

My code uses the html:link in the following way:-

<html:link forward="genFwd" paramId="target" paramName="menu"
paramProperty="name" paramScope="session">
   <bean:write name="menu" property="displayText" scope="session" />
</html:link>

As per my understanding, it should produce 

<a href="someurl?target=xxxx"> yyyy </a>

where,
xxxx = session.getAttribute("menu").getName() [by reflection]
yyyy = session.getAttribute("menu").getDisplayText() [by reflection]

But for some reason, I am getting an "No getter method name for bean
menu" error. 

I printed out the bean and it is the correct object that I am
expecting & has the getName() and getDisplayText() methods (they are
public). 

After tracing the source code, it looks like the PropertyUtils class
that resolves the methods is not able to find them by reflection & is
throwing an exception.

I would appreciate your help ASAP.
Thanks
Ashwin.





        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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

Reply via email to