On Fri, Nov 26, 2004 at 11:49:43AM -0000, Paul McCulloch wrote:
> The attribute in org.apache.struts.taglib.html.BEAN is set by the
> <html:form> tag. This is how the other <html:> tags know which form bean
> they are dealing with.
> 
> I'd be interested to know why the other html tags are made aware of the form
> bean this way, rather than directly asking their enclosing form tag. Any
> ideas anyone? The only thing I can think of is that it means that
> dynamically included pages can still use the html tags to reference the
> parent page's form.

        I've found it extremely useful to get a handle on the form bean without
having to know it's name in the struts config file.  It makes it possible
to write jsp code that doesn't have to care about exactly which form it
happens to be in.

eric

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

Reply via email to