I was facing similar kind of problem with WSAD. Not sure whether it'll help
u or not. I made a little change in WSAD settings. And it worked for me.
1. From your project properties, select Validation section.
2. Turn on the option of Run validation automatically ...
- Nilesh
-Original
Hello
While I switch from one application to another, a new Form object is
created. Is there a way to use the Form object which is created during the
Request process of previous application page?
In my struts-config.xml, I have defined 2 different actions namely index and
core. From index.jsp
I'm also facing the same problem of Dynamic properties with Struts 1.0/1.1
As a workaround, I created my own classes DynaForm and DynaFormClass
I'm attaching a pseudo code of DynaForm and DynaFormClass
// A Form class which is common for all JSP pages
You need to download a few commons package separately
Logging:
http://jakarta.apache.org/builds/jakarta-commons/release/commons-logging/v1.
0/
- Nilesh
-Original Message-
From: Regan, Patrick [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 3:36 PM
To: '[EMAIL PROTECTED]'
Hello
I have an Action object which is common for all JSP pages. It doesn't have
any object level variable in it. What are all the advantages/disadvantages
of making Action object as a singleton?
Thanks in advance !!
- Nilesh
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
do you
mean, What the the advantages/disadvantages to having only a single Action
class in my framework?
peace,
Joe
-Original Message-
From: Bhattad, Nilesh [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 1:56 PM
To: Struts mailing list ([EMAIL PROTECTED])
Subject: Making
Hello
Recently I started working on Struts. I'm using Struts 1.0.2 version.
Struts framework recommends to create separate ActionForm and Action object
for each JSP page.
Instead, I created a single Form object DynaForm which has a HashMap in it.
And I'm using this form object for all the JSP
input forms, can't you
just change the scope of the mapped actions to session or possibly
application? Im not sure what your needs are, but that's all I do.
~ Keith
-Original Message-
From: Bhattad, Nilesh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 3:57 PM
To: Struts mailing
help Keith.
- Nilesh
-Original Message-
From: Bhattad, Nilesh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:04 PM
To: 'Struts Users Mailing List'
Subject: RE: Single ActionServlet, ActionForm, Action across entire applic
atio n... is it ok ?
I want to keep Form object within
I looked at DynaActionForm. In order to use DynaActionForm, I'll have to
specify all form field properties in struts-config.xml
So it'll look something like this...
form-beans
form-bean name=logonForm
type=org.apache.struts.action.DynaActionForm
form-property
10 matches
Mail list logo