You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Za...@ocs.com on 2003/05/01 16:08:42 UTC

Generic question about form bean

Hi, Guys

I am a newbie in Structs and I love Structs. I have a basic question about using bean, form bean in this case. I know form bean is used to populate page fields. But other than getters setters methods in the form bean can we have other methods in the form bean ? For example, I want to pass PageContext to the bean and ask him to put a list of attributes to PageContext, such as formBean.setToPageContext(attributeList) ?

Any guides are appreciated.

Thanks

Zaili


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org