You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by teknokrat <te...@yahoo.com> on 2003/03/17 19:23:59 UTC
wrapping beans in a form - any ideas
Have there been any discussion on the pros/cons of having forms like
class MyForm extends ActionForm {
MyBean bean;
public void setBean(MyBean bean) {
this.bean=bean;
}
public MyBean getBean() {
return bean;
}
}
And then use the properties like so <bean:write name="bean"
property="bean.name /> and so on
cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org