I don't know if a got it...You can use nested beans inside your ActionForm, like:

FirstBean -> has get/set name and get/set id
SecondBean -> has get/set version

MyActionForm -> has get/set firstBean and secondBean

You can do :

<html:form...>
  <html:hidden property="firstBean.id"/>
  <html:text property="secondBean.version/>
</html:form>

as as wrote:

Hi,

I have a question on using two beans in same form.....
I get the followig error:
javax.servlet.jsp.JspException: No getter method for property name of bean testModule
basically I am trying to access name and id of bean1 and version of bean2 to show in 
the same one form...
is this possible..
samples appreciated.

thanks much,
Sam


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!





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



Reply via email to