A quick check to the latest src (20010508) seem to indicate that now
html:form store data in the request context.
Cedric
Tim Moore wrote:
I'm working on a very complex webapp with hundreds of form pages. Frequently
there are chunks of a form that are shared across several pages. I was
I'm working on a very complex webapp with hundreds of form pages. Frequently
there are chunks of a form that are shared across several pages. I was
hoping to use the components library to separate these common form chunks
into reusable pages, but I'm not having much luck with this.
The problem
Title: RE: Struts forms and JSP components/templates
I think the scope of the form is specified in struts-config.xml, you can put it in session scope.
Shunhui
-Original Message-
From: Tim Moore [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 2:40 PM
To: '[EMAIL PROTECTED
I think the change from page to request was alread made for html:form. Get
the latest Struts from CVS.
Hal
-Original Message-
From: Tim Moore [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 5:40 PM
To: '[EMAIL PROTECTED]'
Subject: Struts forms and JSP components/templates
Title: RE: Struts forms and JSP components/templates
That
just specifies the scope where the form bean is stored. If you look at the
doStartTag method in the FormTag.java source, it contains a few lines that look
somethinglike this:
pageContext.setAttribute(Constants.BEAN_KEY, bean
5 matches
Mail list logo