> From: Frank Burns [mailto:[EMAIL PROTECTED]
> I have a jsp form which has fields that require no
> validation. So I don't
> need to validate the form input.
> If I don't include an ActionForm, I get a "... null form ..."
> error message.
> Does this mean that I MUST create ActionForms, even if
Hello Frank
ActionForm in no necesary if you don't use the tag.. if
you use it then you have to use an actionform even if you don't have any
validation on it.
Hope it helps,
Johann
-Original Message-
From: Frank Burns [mailto:[EMAIL PROTECTED]
Sent: Monday, Marc
If its a primitive , it will look for 'is' , but for the Boolean object it
will look for 'get' (same as any other object).
-Original Message-
From: Renato Romano [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 20 January 2004 23:00
To: 'Struts Users Mailing List'
Subject: ActionForm boolean prope
if you have getAmount() and setAmount() methods, you address the according property in
you jsp as amount and not as Amount !!!
silly, but these are the rules...
hope this helps
martin
-- Urspruengliche Nachricht --
Von: "Andre Risnes" <[EMAIL PROTECTED]>
Ant
>
> Are you casting the ActionForm in to your own form in your
> save action?
>
> like:
>
>public ActionForward execute(ActionMapping mapping,
> ActionForm form,
> HttpServletRequest request,
> Ht
>
> Without seeing any of your code, one possibility is that the
> case of your property names isn't properly matching your Form.
> For instance, the property "lastname" isn't going to match
> setLastName() in your form, but "lastName" will.
I believe i've tried every possible case combination.
spond to "Struts Users Mailing List"
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:
Subject:RE: ActionForm is not automatically popluated.
-Original Message-
Hi,
I have a tomcat/struts/velocity application that
I'd start by getting log4j and turning on full debug logging.
Study the logs of a working form.
Study the logs of the form that does not work.
Rick Hightower
Developer
Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm
Struts/J2EE consulting --
http://www.arc-mind.com/consulting.
Without seeing any of your code, one possibility is that the case of your
property names isn't properly matching your Form. For instance, the
property "lastname" isn't going to match setLastName() in your form, but
"lastName" will.
-Rob
www.neosllc.com
-Original Message-
From: Andre R
using struts, so I don't use
> the
> above scenario myself, yet.
>
> My 2 cents..
>
> Pritpal Dhaliwal
>
>
> -Original Message-
> From: Richard Hightower [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 13, 2004 9:20 AM
> To: Struts Users Mailing L
cents..
Pritpal Dhaliwal
-Original Message-
From: Richard Hightower [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 9:20 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: ActionForm - redirect to custom JSP after validation failed
First, the behavior experiencing
Understanding the lifecycle of an ActionForm...
The ActionServlet handles requests for Struts, i.e., requests ending in *.do
is common. The ActionServlet looks up the RequestProcessor associated with
the module prefix. The RequestProcessor implements the handling of the
lifecycle and uses RequestU
If I understand what you're asking, try setting validate="false" in your action
mapping so that validation is deferred to your action. Otherwise, Struts will
perform validation automatically and, as you've noticed, never invoke your
action if there are errors.
Another option would be to keep valid
First, the behavior experiencing is as designed. I suggest getting a good
book on Struts geared for Struts novices like Professional Struts published
by Wrox (written by James Goodwill and me).
You can turn validation off in the action mapping (action element in the
struts config file) by setting
You could forward (not redirect) to a generic failure page if there are
errors present. I confess i haven;t done this but it could be what you
want, even forward to a global forward defined in struts config, so you
can reuse you error page for other stuff.
On 13 Jan 2004, at 16:27, Christian
You could use the redisplay attribute:
Jerome
"Antony Paul" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> How to tell struts that I dont want to display the password if
> validation fails ? What about other form elements ?
>
> rgds
> Antony Paul.
--
Sorry, I have no experience w/ DynaActionForms. Someone else is going to
have to field this one - anybody?
- Original Message -
From: "Antony Paul" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 5:0
-
From: "David Chelimsky" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 4:18 PM
Subject: Re: ActionForm and password fields.
> Assuming you're using struts validator, this goes in your ActionForm
Assuming you're using struts validator, this goes in your ActionForm class:
public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
ActionErrors errors = super.validate(mapping, request);
if (errors != null) {
setPassword(null);
}
return errors;
}
Thank you for your response Manish.
"Manish Singla" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Because when you forward to Action B, at that time Struts Request
> Processor again processes Action Form. (FYI: In Action B, request is
> still having old values from Form F. Thus, va
AIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 6:53 PM
Subject: Re: ActionForm field not changing when forwarded to Action
Because when you forward to Action B, at that time Struts Request
Processor again processes Action
cessor wil not overwrite in Action B ?
BR
Eric
- Original Message -
From: "Manish Singla" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 6:53 PM
Subject: Re: ActionForm field not changing when forwar
Because when you forward to Action B, at that time Struts Request
Processor again processes Action Form. (FYI: In Action B, request is
still having old values from Form F. Thus, values are reset and populated)
HTH
Manish Singla
bort wrote:
Hi all
I have an application which exhibits two similar
You an ActionForm or a DynaActionForm
Barry
- Original Message -
From: "Mariano García" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, October 14, 2003 9:18 AM
Subject: ActionForm
> Hi all,
>
> I have a jsp page with a form, so I want to fill di
On Mon, 15 Sep 2003, Chang, Henrique wrote:
> Date: Mon, 15 Sep 2003 11:32:38 -0400
> From: "Chang, Henrique" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: ActionForm validate() - How to get ServletCon
If it works okay after restart rather than just reload, i'd suggest it
would be the container not maintaining sessions across reloads. And
that I guess would be the nature of your question.
I know that tc 4.127 has this as a fix from 4.124.
Cheers Mark
On Monday, August 25, 2003, at 03:53 PM,
Howdy ya'll, I posted this Friday but no one's biting so far...
Has anyone had problems with session-scoped ActionForms being null after
(de)Serialization (context restart). I have confirmed that running
myForm.reset(...) on my ActionForm after restart throws a
NullPointerException via debugging
RequestProcessor has a processPopulate method to init form fields in the
action form based on request parameters (though it actually delegates to
RequestUtils class to do the real work).
the processActionForm() method in RP is resposible for finding or
instantiating the action form instance based
|> Question 1: Do I use conventional ActionForm?
|> Map-backed ActionForm? or DynaActionForm for this
|> project?
|
|If I were you, I would use the conventional ActionForm if
|most of the properties are Strings.
If your data is fixed on form, then it is good to have ActionForm.
More, you may use
- Original Message -
From: "Caroline Jen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 01, 2003 10:42 AM
Subject: ActionForm Design Question
> Hi, I am building a web site. The primary functions
> of this site are for authors to submit their research
> papers. The
EMAIL PROTECTED]>
|
| cc:
|
:12 PM
To: Struts Users Mailing List
Subject: Re: ActionForm resulting in 'No collection found'
I think instead of setting the form in the request you should set at the
seesion,
request variables last only for one single request.
That' s one way the form is available in suseque
I think instead of setting the form in the request you should set at the
seesion,
request variables last only for one single request.
That' s one way the form is available in susequent pages
I hope that will help
|-+--->
| | "Kukwa, Bri
Jsp that
will display the data.
-Gp
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: July 25, 2003 11:06 AM
To: [EMAIL PROTECTED]
Subject: Re: ActionForm as a view bean
Hello again,
Actually, as it turns out, the ActionForm is NOT a good idea for a view
bean
Hello again,
Actually, as it turns out, the ActionForm is NOT a good idea for a view
bean. The ActionForm is not created until the html.FormTag.doStartTag()
runs, and again, if the initialization from the back end fails, it's too
late to do anything about it.
What do you all do? The problem is
ginal Message-
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 11:35 AM
To: Struts Users Mailing List
Subject: Re: ActionForm mapped property submit/populate error
A very common problem and you can spend too much time
on these issues.
Personally - I would use the n
A very common problem and you can spend too much time
on these issues.
Personally - I would use the nested tags.
When using them - don't worry about generating the
nested property syntax. Just use them intuitively in
the easiest fashion possible. This includes mapped
properties.
For indexed pr
I think that kind of validation is better to be done
in the business logic layer.
--- Fedor Smirnoff <[EMAIL PROTECTED]> wrote: >
Hey,
>
> I wanted to find out if its acceptable to access
> database in the validation stage of SOMEActionForm.
> Basically when a user enters email address to
> subs
Dear AJ,
1. In your Form bean,
declare a collection to hold the list of questions.
2. In your JSP page,
use tag and iterate over the questions,
printing one tag in each loop.
3. In your Action class,
when the user adds a question, add the question to the
collection inside y
Agreed. Was just curious if Struts had an adequate solution for this type of
problem. Currently, I went back to using getParameterValues() which does an
excellent job.
In a message dated 6/25/2003 1:14:48 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
> >I'm running into a problem with
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 9:20 AM
Subject: ActionForm
> I'm running into a problem with using ActioForm. I mean I know how to do
the
> normal stuff like say a login form, but I'm running into serious issues
whe
Hey,
I wanted to find out if its acceptable to access
database in the validation stage of SOMEActionForm.
Basically when a user enters email address to
subscribe, I need to check if it already exists in the
database, should I do it in SOMEAction or
SOMEActionForm?
Thank you
Fedor
___
er.
Thanks!
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: June 20, 2003 5:10 AM
To: Struts Users Mailing List
Subject: Re: ActionForm 'reset' method being called when JSP is rendered
The mistake most people make is resetting properties needlessly.
G
- Original Message -
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 6:10 AM
Subject: Re: ActionForm 'reset' method being called when JSP is rendered
> Jerry Ja
Jerry Jalenak wrote:
The doStartTag has a call to initFormBean; in initFormBean there is a call
to RequestUtils.createActionForm, followed by a call to the ActionForms
'reset' method. In a wizard type of application, this could indeed cause
problems where the reset method may be clearing values fr
As Craig mentioned, reset is always called before an autopopulation
event. For consistency, it is also called if the html:form tag needs to
instantiate the form itself.
In a multi-action sequence, the request is run through the same gauntlet
each time. A forwarded request within the container i
> Cc: [EMAIL PROTECTED]
> Subject: Re: ActionForm 'reset' method being called when JSP is rendered
>
> I have looked at this again, and in 1.1 rc2 on tomcat 4.1.18 the reset
> is called for each action of a multi action sequence sharing a form bean
> even though the f
I have looked at this again, and in 1.1 rc2 on tomcat 4.1.18 the reset
is called for each action of a multi action sequence sharing a form bean
even though the form bean is in session scope and only created once - I
have written a demo app with logging that shows this behaviour - should
I submi
a, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Richard J. Duncan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 12:00 PM
To: [EMAIL PROTECTED]
Subject: RE: ActionForm 'reset' method being called when JSP is rendered
If what your saying is t
:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:43 AM
To: Struts Users Mailing List
Subject: Re: ActionForm 'reset' method being called when JSP is rendered
I am writing an application with a series of "wizard" type pages, so I
thought that I would use one big ActionForm
I am writing an application with a series of "wizard" type pages, so I
thought that I would use one big ActionForm in session scope and each
page add extra information to it - however this did not work as reset
was being called at each page invocation - I am interested to hear that
reset should
EMAIL PROTECTED]
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 6:56 AM
To: Struts Users Mailing List
Subject: Re: ActionForm 'reset' method being called when JSP is rendered
In Struts 1.0.2 and later, reset is called by the html:fo
In Struts 1.0.2 and later, reset is called by the html:form tag *if* the
ActionForm is being instantiated at that time. The scope shouldn't matter.
Also remember that the html:form tag is looking at the Action to which
it submits, which may not be "Action 1". If these are the same Action,
or sh
- Original Message -
From: "Jerry Jalenak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 9:04 AM
Subject: ActionForm 'reset' method being called when JSP is rendered
> I'm seeing some odd behaviour with one of my actions. If anyone can
explain
> this I'd su
Thank you very much.
Mike Jasnowski writes:
> Yes they can, but for things other than Java defined complex types you may
> have to write your own converter. I'm not sure what the ootb complex Java
> types are. See the commons beanutils package for more info.
>
> -Original Message-
> Fr
>I'm not sure what the ootb complex Java
>types are
I should have qualified that with, "What types are supported by commons
Converter "
-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 12:48 PM
To: Struts Users Mai
Yes they can, but for things other than Java defined complex types you may
have to write your own converter. I'm not sure what the ootb complex Java
types are. See the commons beanutils package for more info.
-Original Message-
From: Rodrigo di Lorenzo Lopes [mailto:[EMAIL PROTECTED]
Sen
marzo 2003 15.37
To: Struts; [EMAIL PROTECTED]
Subject: RE: ActionForm reset method
RequestProcessor is the class to which the ActionServlet delegates the
bulk of its work processing a request (ie: populate form, call Action
execute, etc...).
Struts makes it easy to replace the standard RequestPro
e the best documentation is the source code itself :-)
-Original Message-
From: Renato Romano [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 25 March 2003 22:17
To: [EMAIL PROTECTED]; 'Struts Users Mailing List'
Subject: RE: ActionForm reset method
Ok. That's all clear but one thing:
ginal Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: martedì 25 marzo 2003 14.49
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: ActionForm reset method
Depends on what your cases are...
In my app I needed to switch it off for certain specific actions so I
created m
Depends on what your cases are...
In my app I needed to switch it off for certain specific actions so I
created my own action mapping class with a noReset parameter , and overrode
RequestProcessor to check for that.
Needless to say I later needed something a little more dynamic - so I also
added
)
{
window.open("urltouraction.do?myparameter="+myParam);
}
-Tim
-Original Message-
From: Art Vandalay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 12:06 PM
To: Struts Users Mailing List
Subject: RE: ActionForm Does Not Contain Dynamically Set Data
I don't beli
Yes, a query parameter is an option. The reason I
don't want to use query parameters is we have a
standard to avoid using them if at all possible as
they expose data to the user. This particular piece of
data in question doesn't present a security risk by
being exposed, but exposing it does go agai
Are you saying that you open the window, then set a field value in that
child window to something from the parent, and you want to use that value to
do something on the server? why not pass the value as a querystring
parameter?
> -Original Message-
> From: Art Vandalay [mailto:[EMAIL PROT
I don't believe this is off topic. This question
regards how to get Struts to populate a form field
that was set using Javascript.
--- James Mitchell <[EMAIL PROTECTED]> wrote:
> Please label JavaScript topics as [OT].
>
>
>
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://jakar
I found it, I was keeping a copy of HttpServletRequest which is
quite understandably not serializable.
Edgar
Subject: Re: ActionForm serialization
From: "Chetan Sahasrabudhe"
Date: 2003-02-27 10:58:21
[Download message RAW]
Edgar:
in your form do u have any customize j
Edgar:
in your form do u have any customize java object which acts as a
attribute ?
if it is so, make sure the object class is extending serializable classes.
one more question, r u having your operation in transaction ?
- Original Message -
From: "Edgar Dollin" <[EMAIL PROTECTED]
Since that's the second or third time I've posted that missive on dealing
with the database access problem first before involving Struts, I went
looking to see if I could incorporate it into a FAQ, and found this:
http://jakarta.apache.org/struts/faqs/database.html
Considering the august list of
Alex wrote:
> I didn't find the solution for my problem :
> I got an use case where I have to add new student.
> I had a StudentActionForm who got simple data like
> name, first name, birth date.
> I had an attributs who correspond on a formation
> selected by a new student.
> The formations data d
It is recommended that you use only String type for your form-bean properties. You
can then translate them into your business objects.
For one thing, using the actual data type of the field -- such as int -- would make
difficult the process of validation and reproduction of erroneous user ent
I don't see how the *name* of a method can lead to an exception. Secondly why are you
getting a *NumberFormatException*. Aren't all your ActionForm properties String
types? (Refer to the countless discussions on this subject for its virtues)
All that being said, remember that unless otherwise
When you have
String getTName()
void setTName(String tName)
in your ActionForm, you use them in your JSP like
This help you ?
Iris
ashokd wrote:
Hi,
Their is any naming conventions for ActionForm methods ?
I got a problem with this.
First I used like below then I got the problem(NumberFor
> It seems that when 2.do was called,
> it removed the Form already in the session
> and added a new one.
> It is correct?
> Is it a feature?
DynaActionForm does reset() itself on every request. In your case you should
extend the DynaActionForm and override reset()
Tib
--
To unsubscribe, e-mail
... and you aren't using DynaActionForms, which erase your form every time
the controller is called.
-b
> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 15, 2002 12:48 PM
> To: Struts Users Mailing List
> Subject: RE: Act
I guess I misread the question. Setting up the form and forwarding to a jsp
does what I described.
David
From: Martin Cooper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject:
On Fri, 15 Nov 2002, David Graham wrote:
> Of course, this happens all the time in add/edit forms. Any change to the
> form in the first action will be seen by the action it forwards to as long
> as both actions are setup to use the same form bean in struts-config.xml.
Nope. The form bean will
... and you aren't using DynaActionForms, which erase your form every
time the controller is called.
-b
> -Original Message-
> From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com]
> Sent: Friday, November 15, 2002 12:48 PM
> To: Struts Users Mailing List
> Sub
sers Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: ActionForm manipulation within an Action
Date: Fri, 15 Nov 2002 19:02:59 -
Well, I had tried it before just like you are saying...
Two actions use t
n can be in the request scope as long as you're forwarding
to
the next resource and NOT redirecting.
David
>From: "Sri Sankaran" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List&qu
Right you areshould have read your message a little better.
Sri
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 15, 2002 1:16 PM
To: [EMAIL PROTECTED]
Subject: RE: ActionForm manipulation within an Action
The form bean can be in the
ling List" <[EMAIL PROTECTED]>
Subject: RE: ActionForm manipulation within an Action
Date: Fri, 15 Nov 2002 12:47:51 -0500
...and the form bean is of session scope.
Sri
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 15, 2002 12:35 PM
To: [
...and the form bean is of session scope.
Sri
-Original Message-
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Friday, November 15, 2002 12:35 PM
To: [EMAIL PROTECTED]
Subject: Re: ActionForm manipulation within an Action
Of course, this happens all the time in add/edit
Of course, this happens all the time in add/edit forms. Any change to the
form in the first action will be seen by the action it forwards to as long
as both actions are setup to use the same form bean in struts-config.xml.
David
From: "Jorge Martins" <[EMAIL PROTECTED]>
Reply-To: "Struts
If you only use one form in a document you could use
document.forms[0].fieldname
for the first form and
document.forms[1].fieldname
For the second.
The other issue is that there really isn't much of an issue to use the
SAME actual action form twice since it goes to the same
Hi David, thanks for the explaination. I got it
-Dan
- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 01, 2002 1:33 PM
Subject: Re: ActionForm and java.io.Serialize
> Every object you place in the ses
Every object you place in the session must be serializable so the container
can persist sessions if needed.
David
From: "Dan Tran" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: ActionForm and java.io.Se
Marcus Biel wrote:
If you got Data records from a database -
have they got to be saved in an ActionForm, or in a value bean ???
I guess they have to be saved in a value bean,
because ActionForm just take request parameters.
If so, what about the action mapping ?
name="ValueBean" instead of name=
cc :
Objet : Re: ActionForm and ArrayList
In your ActionForm define something like this
String [] _rows;
String [] getRow() (return _rows)
void setRow(String [] rows ) { set _rows = rows ;}
Then in your jsp, each elements of your array use property="row", you may
want to use logic:iterate
It is the idea
-Good luck
Wendy Smoak wrote:
>I have an ActionForm (ContactForm) object in scope, and _also_ a ContactImpl
>value object that pretty much mirrors the get/set methods in the
>ContactForm.
>
>I'm using the BeanUtils.copyProperties method to move the properties back
>and forth, but I'm confused as to when eac
thanks... why i didnt think of that! Shame on me! :o)
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: 26 septembre, 2002 10:53
To: Struts Users Mailing List
Subject: RE: ActionForm
I just ran into a similar problem where I have a set up action which
populates
I just ran into a similar problem where I have a set up action which
populates the form (in request scope) and forwards to the .jsp page. When
validation failed, I had my input attribute set to the .jsp page and was
getting the behavior your described. I changed the input attribute to be the
actio
vested.
robert
> -Original Message-
> From: Charles [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 6:59 PM
> To: Struts Users Mailing List
> Subject: Re: [ActionForm] Extending existing ActionForm classes
>
>
> Yup my CreateUserProfileForm does extend
Gonna be kinda difficult since ActionForm classes already extend ActionForm.
Just create another ActionForm class and set its state in the associated
Action class.
Mark
-Original Message-
From: Charles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 2:17 PM
Hi,
I got questi
>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 12:16 AM
Subject: Re: [ActionForm] Extending existing ActionForm classes
> CreateUserProfileForm etc must extend from ActionForm then
> UpdateUserProfileForm can extend from CreateUserProfil
CreateUserProfileForm etc must extend from ActionForm then
UpdateUserProfileForm can extend from CreateUserProfileForm.
Your forms must have a base type of ActionForm
HTH
Jin
- Original Message -
From: "Charles" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Se
Jim,
Thanks! I was about 1/2 way there - forget to add the .do to the
reference.
Jerry
> -Original Message-
> From: Jim Crossley [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 12:55 PM
> To: Struts Users Mailing List
> Subject: Re: [ActionForm]
The input can reference another struts action that is able to do the
"dynamic determination", e.g.
input="/determinator.do?valid=no"
or some such thing.
Jim
- Original Message -
From: "Jerry Jalenak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 1:47 P
You _do_ have a form-bean element named "UserRegistrationForm", right?
Are you sure it's not "userRegistrationForm"? The "name" attribute of
the action is a bit misleading. It would be more properly called
"form-name" or "form-bean-name". Whatever you put here _must_ match one
of the form
Subject: Re: ActionForm across multiple pages - confusion
From: "David Chu" <[EMAIL PROTECTED]>
===
Ah, ok, that makes sense. I didn't realize I actually had two distinct
ActionForm objects. Thanks guys.
--
-david
--
David C. Chu
America Online
1 - 100 of 222 matches
Mail list logo