Re: Suggestion for Inclusion in HTML Bean

2001-05-30 Thread Martin Cooper

If what you want is the name of the form appearing in the output stream,
there is a way to do that (albeit a little unconventional, I suppose):

bean:write name='org.apache.struts.taglib.html.FORM' property='name'/

The value of the 'name' attribute here is the value of the constant
org.apache.struts.taglib.html.FORM_KEY, which is where the FormTag object
itself is stored between html:form and /html:form.

If you want a bean that has that value, you can do something similar with
bean:define.

Hope this helps.

--
Martin Cooper


- Original Message -
From: Jeff Trent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 07, 2001 11:12 AM
Subject: Suggestion for Inclusion in HTML Bean


Can I suggest to any Struts developers listening that a new form tag
called static be added which will simply return the current form value
as static text...







Suggestion for Inclusion in HTML Bean

2001-05-07 Thread Jeff Trent



Can I suggest to any Struts developers listening 
that a new form tag called "static" be added which will simply return the 
current form value as static text...