You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rob Leland <Ro...@freetocreate.org> on 2001/04/18 09:08:16 UTC

Re: Required vs. optional "name" attribute

James Howe wrote:
It's not a
> terribly big deal, but it seems as if the name attribute shouldn't have to
> be required if some sort of "default" bean is available for the page.
The original designers were probably trying not to couple the logic
tags to the html tags, or to struts itself.

The name of the current form I believe is kept in the request variable

org.apache.struts.action.BEAN

so you can always confidently reference that for your logic 'name'
value.


> 
> Thanks.