Hi,
I would suggest that manually call validate and use Request Scope
Not many people seem to be using this approach, yet I have found it to be
the best overall solution.
This is how it works:
First of all make sure you do not have validate=true set in your action
mapping.You should call
Hi,
I feel that the approach given by Peter would be fine.
You might be populating the drop down by iterating a collection fetched from
Database. When you submit the form only the selected value is submitted from
the drop down not the entire collection (That is why you do not get the
collection
The trick is to point the input variable in your struts-config.xml to the
action class that generated the JSP page rather than the JSP page itself.
action attribute=enquiryForm name=enquiryForm path=/Enquiry
scope=request
validate=true type=com.tuningfork.action.EnquiryAction
out exactly what is going wrong.
Niall
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 8:33 AM
Subject: Re: Validation in ie5
I am using struts 1.2.7, and I have tryied with the commons-validator
1.2.0, but that didn't help.
When I use
Hi, I have replaced :
function retrieveFormName(form) {
// Please refer to Bugs 31534, 35127, 35294 37315
// for the history of the following code
if (form.getAttributeNode) {
if (form.getAttributeNode(id)
form.getAttributeNode(id).value) {
I can't see any difference between the two version of the retrieveFormName()
function you've pasted here.
Also can you find out whats on line 1361?
Niall
- Original Message -
From: [EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 9:41 AM
Hi, I have replaced :
function
The diff is :
form.attributes[name];
return form.attributes[name];
Line 1361 is :
oMasked = eval('new ' + retrieveFormName(form) + '_mask()');
' + retrieveFormName(form) + '_mask();');
Whether that makes a difference in IE5 I'm only guessing in the dark.
Niall
- Original Message -
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, January 05, 2006 10:45 AM
Subject: Re: Validation in ie5
The diff is :
form.attributes[name
Hi, I changed the retrieveFormName method so it now lookes like this :
function retrieveFormName(form) {
var x;
if (form.getAttributeNode) {
if (form.getAttributeNode(id)
form.getAttributeNode(id).value) {
x = form.getAttributeNode(id).value;
}
, January 05, 2006 2:10 PM
Subject: Re: Validation in ie5
Hi, I changed the retrieveFormName method so it now lookes like this :
function retrieveFormName(form) {
var x;
if (form.getAttributeNode) {
if (form.getAttributeNode(id)
form.getAttributeNode(id).value) {
x
The Action framework doesn't support browser detection
out-oif-the-box. But, you could check the HTTP request flags from the
Action to determine the browser, and then forward to another version
of the page that didn't use client-side validation or used custom
validation.
You might want to report
Saying it doesn't work in ie5 doesn't really help alot - I don't have a
copy of ie5, so if you could specify the issue then it would be helpful.
Also what version of 1) Struts and 2) Commons Validator are you using? Can
you try upgrading to Commons Validator 1.2.0 and see if the issue still
Christopher Becker wrote:
I am developing a Struts (v1.2.7) app that has multiple struts-config
files, but not utilizing modules, so web.xml has one init param with
config files separated by commas, eg.
init-param
param-nameconfig/param-name
I'm not sure it matters much which order they're applied in, though,
since all have to pass
anyway.
Order does matter... That will decide which *one* of the error messages to
display to the user when one of these tests fail.
On 12/15/05, Laurie Harper [EMAIL PROTECTED] wrote:
Deepa Khetan
ya.. i agree with you Raghu!! I would want minlength validation to work
before mask is applied.. But the order in which the validations are
specified do not affect the order in which they are applied. I have tried
that out.
On 12/15/05, Raghu Kanchustambham [EMAIL PROTECTED] wrote:
I'm not
Deepa Khetan wrote:
Is there a way to specify the order of validaions to occur using
validation.xml?? I have noticed that mask take precedence over minlength
I'm not sure; maybe the order they're listed will affect the order
they're applied? I'm not sure it matters much which order they're
Bahadır Yağan wrote:
Hi,
Is there a way to change the behavior of the validation plug-in, to
print the errors inside the page rather than showing them in a message box.
You can place server-side validation errors anywhere in the page you
like, but there's currently no way to control how
Is there a way to specify the order of validaions to occur using
validation.xml?? I have noticed that mask take precedence over minlength
On 12/13/05, Laurie Harper [EMAIL PROTECTED] wrote:
Bahadır Yağan wrote:
Hi,
Is there a way to change the behavior of the validation plug-in, to
On 11/16/05, Jesus Salvo Jr. [EMAIL PROTECTED] wrote:
Struts 1.2.7
What I am confused about is that validation via the validation.xml seems only
to work ( or so I believe after reading various documentations and samples )
if one uses DynaValidatorForm instead of an ActionForm.
I haven't
On Thursday 17 November 2005 13:24, Wendy Smoak wrote:
On 11/16/05, Jesus Salvo Jr. [EMAIL PROTECTED] wrote:
Struts 1.2.7
What I am confused about is that validation via the validation.xml seems
only to work ( or so I believe after reading various documentations and
samples ) if one
Subject: RE: Validation seemingly not getting called any longer
Yeah, that's there. Like I said, it was working earlier. Not sure why
it's not now.
Preston
[EMAIL PROTECTED] 11/8/2005 2:41 PM
Do you have the commons-validator jar in your WEB-INF/lib directory of
your
web application?
Might
using
multiple (or module based) struts-config.xml files.
Regards,
David
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 9:27 PM
To: user@struts.apache.org
Subject: RE: Validation seemingly not getting called any longer
Solved
struts-user list starts here:
http://marc.theaimsgroup.com/?l=struts-userm=111056535028708w=2
Regards,
David
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 1:46 PM
To: user@struts.apache.org
Subject: RE: Validation seemingly not getting
I think you need something in the struts config file telling it to use the
validation plugin. Try that line of investigation.
Not sure off the top of my head.
Shawn D. Garner
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 11:39 AM
' user@struts.apache.org
Sent: Tuesday, November 08, 2005 1:08 PM
Subject: RE: Validation seemingly not getting called any longer
I think you need something in the struts config file telling it to use the
validation plugin. Try that line of investigation.
Not sure off the top of my head.
Shawn D
Preston CRAWFORD wrote:
We have a simple login form. By the book. For some reason all of a
sudden the validation in validation.xml is no longer getting called.
We have validate set to true in the action. Everything is still named the
same. Any idea why this would have changed or where to start
I have that.
plug-in className=org.apache.struts.validator.ValidatorPlugIn
set-property property=pathnames
value=/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml/
/plug-in
And my action looks like this...
action path=/loginSubmit
The short answer is that there isn't a way to echo back user input in the
error message. Most of the time I don't think its necessary to do so
anyway - since if you're re-displaying/highlighting errors then what is the
need. The one time I scenario I wanted to do something like that, was when I
Nothing that I can see. What could I log to find out what's going on? It
basically just doesn't get called.
Preston
[EMAIL PROTECTED] 11/8/2005 10:52 AM
Preston CRAWFORD wrote:
We have a simple login form. By the book. For some reason all of a
sudden the validation in validation.xml is no
I think you also need a tag in the jsp page using it.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 12:39 PM
To: Struts Users Mailing List
Subject: Re: Validation seemingly not getting called any longer
yes
validation.xml and
validator
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 12:39 PM
To: Struts Users Mailing List
Subject: Re: Validation seemingly not getting called any longer
yes
validation.xml and
validator-rules.xml
are both configured as properties via plug-in in struts-config.xml
http://www.oracle.com
List
Subject: Re: Validation seemingly not getting called any longer
yes
validation.xml and
validator-rules.xml
are both configured as properties via plug-in in struts-config.xml
http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html
HTH,
Martin-
- Original Message -
From
On 11/8/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
I have that. Either way the bottom line for me is it flys past
validation, message or no message. So I need to figure out why that is
happening.
What _type_ of Action is LoginSubmitAction and How is it configured in
validation.xml?
What's
It's not configured in Validation.xml. The form is
formset
form name=loginForm
field property=username depends=required
arg key=loginForm.username/
/field
field property=password depends=required,mask
arg
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 7:05 PM
To: user@struts.apache.org
Subject: Re: Validation seemingly not getting called any longer
It's not configured in Validation.xml. The form is
formset
form name=loginForm
@struts.apache.org
Subject: Re: Validation seemingly not getting called any longer
It's not configured in Validation.xml. The form is
formset
form name=loginForm
field property=username depends=required
arg key=loginForm.username/
/field
: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 9:27 PM
To: user@struts.apache.org
Subject: RE: Validation seemingly not getting called any longer
Solved it. Weird.
I rolled back to an old version to try to figure out what was
different. And the 1 thing
I would like to know the answer on this too. I searched the Net, all
examples use properties from property file. Using resource=false
does not help with either (neither?) of these variants:
arg0 key=nestedUser.fromAddress resource=false/
arg0 key=${nestedUser.fromAddress} resource=false/
arg0
It's a shame no-one answered this. I was interested in reading a reply.
My situation is that on validation failure, my 'input' mapping is to
another action, not direct to a JSP, so that I can carry out the
necessary view helper code. As part of this I can also grab the
validation errors from
[EMAIL PROTECTED]
Date Wed, 12 Oct 2005 21:02:00 +0100
To Struts Users Mailing List user@struts.apache.org
Subject Re: Validation Configuration for Multiple Modules
[EMAIL PROTECTED] on 11/10/05 07:20, wrote:
I'm using *Struts 1.1* to build an application with multiple Struts
modules
Message -
From Adam Hardy [EMAIL PROTECTED]
Date Wed, 12 Oct 2005 21:02:00 +0100
To Struts Users Mailing List user@struts.apache.org
Subject Re: Validation Configuration for Multiple Modules
[EMAIL PROTECTED] on 11/10/05 07:20, wrote:
I'm using *Struts 1.1* to build an application
[EMAIL PROTECTED] on 11/10/05 07:20, wrote:
I'm using *Struts 1.1* to build an application with multiple Struts
modules.
I put my validations for each module in a seperate validations.xml
file. For example, I have validations-a.xml for module a and
validations-b.xml for module b. I then
In general, ActionForm validation is limited to the most basic input
validation, mostly making sure that incoming strings can be parsed
into a specific type. If you need to issue a SQL query to ensure
valid data, that sounds like a business logic operation, and probably
makes more sense in the
your records.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Friday, September 16, 2005 4:37 AM
To: user@struts.apache.org
Subject: Re: Validation Issue
Amol Yadwadkar wrote:
Hi List,
I am using Validation Framework.
field
property
Amol Yadwadkar wrote:
Hi List,
I am using Validation Framework.
field
property=clientTaxId
depends=required,mask
arg0 key=loanAppForm.clientTaxId/
arg1 name=mask key=prompt.taxid /
var
var-namemask/var-name
var-value${taxid}/var-value
I think you're assertion is incorrect. including the html:javascript tag
on a page will generate all the javascript validations for a form - they get
invoked by you putting some javascript in the html:form's onsubmit
event - nothing to do with the validate setting in the struts config. All
the
emre akbas wrote the following on 9/9/2005 10:12 AM:
,
I want to know what the state-of-the-art practices about Struts validation
are. It is well-known that there are some problems in automatic validation.
Here is a good article:
http://www.reumann.net/struts/articles/request_lists.jsp Are
On 9/9/05, emre akbas [EMAIL PROTECTED] wrote:
Hi,
I want to know what the state-of-the-art practices about Struts validation
are.
Try these:
https://strutslive.dev.java.net
https://formdef.dev.java.net
It is well-known that there are some problems in automatic validation.
Here is a
I just fixed this. You have mixed up the versions of the
validator-rules.xml and the struts jar. Either go back to struts jar
1.1 or upgrade the validator-rules.xml.
On 8/12/05, Doug Thomas [EMAIL PROTECTED] wrote:
While implementing struts validation for the first time (yup - I'm a
newbie), I
I have a question. I have decided to use the vaildation framework to do
the validation in my web app. I have created a validation.xml file, and
a vaildator-rules.xml file. I noticed in books about struts that I have
there is a properties file associated with the vaildation. Am I right?
If
the properties file is that u r using right now... I mean u can use it in
order to call value keys.
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
No creo en el destino pues no me gusta tener la idea de controlar mi vida
A good book about Struts and Validator framework is Jakarta Struts Live -
Rick Hightower
U can get it in www.theserverside.com http://www.theserverside.com
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
No creo en el destino pues no me gusta tener la idea de controlar mi vida
I like the CSS 'trick' -- I will try it tonight !
Thanks again Wendy,
Regards, Alex.
On 7/22/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Aleksandar Matijaca [EMAIL PROTECTED]
I would like
to automatically place a little red * right beside the input field.
For my password
You could add errorClassId on the input element and use CSS to insert an
image of a little red *... :-) I can't think of a clean way to find out if
an error exists for a particular property though. This might work (haven't
tried it):
c:if test=${not empty messages.message['property']}*/c:if
Thanks Laurie, I will try it !!
Cheers, Alex.
On 7/21/05, Laurie Harper [EMAIL PROTECTED] wrote:
You could add errorClassId on the input element and use CSS to insert an
image of a little red *... :-) I can't think of a clean way to find out if
an error exists for a particular property
It didn't work, but thanks for the effort Laurie...
Regards, Alex.
On 7/21/05, Laurie Harper [EMAIL PROTECTED] wrote:
You could add errorClassId on the input element and use CSS to insert an
image of a little red *... :-) I can't think of a clean way to find out if
an error exists for a
From: Aleksandar Matijaca [EMAIL PROTECTED]
I would like
to automatically place a little red * right beside the input field.
For my password confirmation field, wnen I put
html:errors property=confirm_password/
beside the text field, I get the WHOLE STRING for the 'required'
validation,
Finally, I found two valuable solutions to my problem.
The first one is MappingDispatchAction, as suggested
by Hubert. It is efficient but I dislike to have so
much entries in my struts-config (my application is
going big enough)
I found a good explanation for it by the frustrated
programmer (who
http://www.objectsource.com/Struts_Survival_Guide.pdf, Chapter 5.
Paul Goepfert wrote:
I have created a web app using struts and velocity. I am going to add
vaildation on the struts end of the app. I am still learning struts.
The only thing I have been able to do is use struts to move
Hi,
As much I know if you need to load data when the page is load before the
validation is called.
You may load data when the action is called and there could be another
action associated with the Submit button's page which will check the
validation.
I'm not sure whether it make you clear or
It seems that you're trying to prepopulate a form with values from the
DB before showing it to the user.
So, you have
1) call /EditionPersonne to prepopulate the form
2) show EditerPersonne.jsp to display the form
3) submit the form to /SomePathLikeSubmitPersonne
If so, you don't need to specify
Unfortunately EditerPersonneAction do extend
DispatchAction (using parameter do) ! (Otherwise
your solution would be good)
(I answer you personally because I assume such a
message is not useful for the list)
Billy
--- Hubert Rabago [EMAIL PROTECTED] wrote:
It seems that you're trying to
No, always respond to the user list when it's relevant to the question
you posted. This way, other people can offer solutions as well, and
those having the same problems will get to hear/read what the solution
is.
Since you're extending DispatchAction, you probably should turn off
automatic
Another option is to switch to MappingDispatchAction* so you can set
different attributes for the different situations that your Action
needs to handle.
Hubert
*http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction.html
On 7/19/05, Hubert Rabago [EMAIL PROTECTED] wrote:
Paul Goepfert wrote:
I have created a web app using struts and velocity. I am going to add
vaildation on the struts end of the app. I am still learning struts.
The only thing I have been able to do is use struts to move between
pages by way of buttons.Now I want to add validation to my
Rafael Taboada wrote:
Hi folks I'm using validation framework in order to validate my fields in a
form.
I have three fields in a search form:
strUsername
strFromDate
strToDate
But we have the rule that the user can fill strUsername or use dates range.
I mean he can search by username or he
,
Nitish Kumar
-Original Message-
From: Borislav Sabev [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 14, 2005 3:34 PM
To: Struts Users Mailing List
Subject: Re: Validation framework
Rafael Taboada wrote:
Hi folks I'm using validation framework in order to validate my fields
From: Rafael Taboada [EMAIL PROTECTED]
java.lang.NoClassDefFoundError: antlr/TokenStream
That just looks like you're missing antlr.jar from the classpath. Is it in
WEB-INF/lib?
--
Wendy Smoak
-
To unsubscribe, e-mail:
Yeah, that was the problem...
Do u know a tutorial about how to fill my validation.xml?
I want to know what i have to put in each tag.
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
No creo en el destino pues no me gusta tener la idea de controlar mi vida
Rafael Taboada wrote:
Yeah, that was the problem...
Do u know a tutorial about how to fill my validation.xml?
I want to know what i have to put in each tag.
Are the docs at http://struts.apache.org/userGuide/dev_validator.html
not satisfactory?
Dave
List user@struts.apache.org
Sent: Thursday, July 14, 2005 8:41 PM
Subject: Re: Validation Framework Manual
Rafael Taboada wrote:
Yeah, that was the problem...
Do u know a tutorial about how to fill my validation.xml?
I want to know what i have to put in each tag.
Are the docs at http
If you are using Validator, you can create a DynaForm. then based on the action that you are calling, the validations can be different. This will work for either client side or server side supposedly. I have only used server side with it.
Marc Demlenne [EMAIL PROTECTED]
Marc Demlenne
Hi, use Validator framework.
In this framework u can put code in order to set a client-side validation
for each feld.
In ur modify method, call to ur validate method.
I hope it can help u
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
No creo en el destino pues no me gusta tener
I DO use struts validator framework ...
What i want is to to have _only_ one of the submit button to check the
client-side validation
But I can only decide to call validator or not by form, not by button.
As it is for client side that I have this problem, I can't call it
from my modify
Set validation off in struts-config and call the Validate method from
within your Action:
if (yourForm.getAction().equals(action_to_validate)) {
ActionErrors errors = form.validate(/*params*/);
if (errors.isEmpty()) {
// all is good
} else {
saveErrors(errors);
return
ada [EMAIL PROTECTED]
cc
Subject
Re: validation client-side. Problem with 2 submit buttons
I DO use struts validator framework ...
What i want is to to have _only_ one of the submit button to check the
client-side validation
But I can only decide to call validator or not by form, not
Sorry -- missed the 'client-side' bit somehow. ;)
On 7/13/05, Jeff Beal [EMAIL PROTECTED] wrote:
Set validation off in struts-config and call the Validate method from
within your Action:
if (yourForm.getAction().equals(action_to_validate)) {
ActionErrors errors =
]
Marc Demlenne [EMAIL PROTECTED]
07/13/2005 11:30 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users Mailing List user@struts.apache.org, Rafael Taboada
[EMAIL PROTECTED]
cc
Subject
Re: validation client-side. Problem
Hi, Rafael.
you can find clue on the following documentation.
http://struts.apache.org/userGuide/dev_validator.html
check validwhen.
ichy
2005/7/14, Rafael Taboada [EMAIL PROTECTED]:
Hi folks I'm using validation framework in order to validate my fields in
a
form.
I have three fields
Rick Reumann wrote:
if ( errors != null !errors.isEmpty ) -- this part can probably be
shortened, I was too lazy to figure out what really gets returned if
validation passes.. a null or empty ActionErrors?
here is part of the code of RequestProcessor, so in both cases the form
is
Rafael Taboada wrote:
Hi folks, I'm doing my validation for my form fields...
I use validation framework, so I don't use validate method in my form bean.
The problem I have is the validate is called when I use for first time the
module. I mean, when I see for frst ime the HTML form, validation
Rafael Taboada wrote the following on 7/11/2005 6:28 PM:
Thanks, I got it!...
I needed to save the errors :)
Rick Thanks for ur advice about using another class to manage JDBC... I'll
review that... Do u know any samples about how to do that?..
Well typically I like to use the container
Rafael, turn validation off and call form.validate() manually from
your event handler method.
Michael.
On 7/11/05, Rafael Taboada [EMAIL PROTECTED] wrote:
Hi folks, I'm doing my validation for my form fields...
I use validation framework, so I don't use validate method in my form bean.
The
I usually map multiple actions to the same form. Some have validate = true (for
example, doAdd), some have validate = false (for example, viewAdd). Slightly
different URL distinguishes them.
Does that help?
Erik
-Original Message-
From: Rafael Taboada [EMAIL PROTECTED]
Sent: Jul 11,
Michael, it didn't work..
My ActionMapping is:
action path=/Colores parameter=method type=
com.sancristobal.Actions.ColorAction name=colorForm
input=/pages/Colores.jsp scope=request validate=false/action
My ActionForm is:
public class ColorForm extends ValidatorForm {
private String
Rafael Taboada wrote the following on 7/11/2005 5:34 PM:
Michael, it didn't work..
What didn't work? You still got validation when it was set to false?
(Also just a side note, it's good practice to move all the JDBC
Connection stuff to another class other than your Action. You might be
Hi. When I turned off validation yn mi struts-config.xml, validation isn't
called. And when I turned off validation and call validate manually inside a
method of my ActionClass, validation isn't called.
I calle validate method in:
public ActionForward buscarColor(ActionMapping mapping,
On 7/11/05, Rafael Taboada [EMAIL PROTECTED] wrote:
Hi. When I turned off validation yn mi struts-config.xml, validation isn't
called. And when I turned off validation and call validate manually inside a
method of my ActionClass, validation isn't called.
I calle validate method in:
public
Thanks, I got it!...
I needed to save the errors :)
Rick Thanks for ur advice about using another class to manage JDBC... I'll
review that... Do u know any samples about how to do that?..
Thanks again
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
No creo en el destino pues no me
Sorry, I'm not at my home box and I'm also in a hurry or I would have a better
answer.
I have always done this the hard way -- using a logic:messagesPresent switch
beside each field, seeing if a message for that particular property is present,
highlighting if it is. It does work but it's a lot
To get the error appear next to the field add the following :
html:messages id=error property=FIELD_NAME
bean:write name=error /
/html:messages
to change the text of the field label
(if your form is a table)
...
td html:messages id=error property=FIELD_NAMEclass=error/html:messages
Goswami, Raj wrote:
I have a Select box which has all the states. The first option is 'Select
One.' I need to display an error message if none of the state is selected. I
am using DynaActionForm and the xml config file for validation. I put the
value of 'Select One' as '-1' and it
From: Vicky [EMAIL PROTECTED]
My action class extends LookupDispatchAction, which
has different methods in it. In struts-config.xml i
have parameter method as we all know. My problem is;
in my validation.xml i do have to perform different
validations for different methods, how do I
I would probably use ValidWhen
field property=freeText depends=validwhen
arg0 key=myForm.freeText.name/
var
var-nametest/var-name
var-value(
Wendy,
But having different actions in struts-config. how
would I call them in my jsp html:form ? because right
now I have only one action in jsp html:form
action=myAction and then for each button i have
property=method.. in jsp
in struts-config for this action mapping I have
parameter=method
Your sure did: C#.NET makes stuff like this soo easy! Struts is dead.
~mark
-Original Message-
From: Vicky [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 2:48 PM
But having different actions in struts-config. how
would I call them in my jsp html:form ? because right
now I
From: Vicky [EMAIL PROTECTED]
But having different actions in struts-config. how
would I call them in my jsp html:form ? because right
now I have only one action in jsp html:form
action=myAction and then for each button i have
property=method.. in jsp
in struts-config for this action
You might be interested in checking out ValidatorLookupDispatchAction
(http://struts.whoisandy.com/archives/2005/05/27/validatorlookupdispatchaction.php).
I stumbled across, but never actually used it.
~ Andrew Tomaka
On 6/23/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Vicky [EMAIL
so struts is dead? we must be haunting you, right?
On 23/06/05 19:52nbsp;Mark Galbreath wrote:
Your sure did: C#.NET makes stuff like this soo easy! Struts is dead.
~mark
-Original Message-
From: Vicky [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 2:48 PM
But having
From: Dylan Stamat [EMAIL PROTECTED]
When validation finds that there are errors, and returns to the form page
with displayed errors... I want to anchor to the lower part of the large
form page... so, only the errors and the form shows... not the text above.
Anybody have any ideas on how to do
601 - 700 of 902 matches
Mail list logo