cript.
>
> But can you please look into my 2nd query...
>
> Thanks
> --
> Akshat
>
> --
> View this message in context:
http://struts.1045723.n5.nabble.com/Scope-Interceptor-and-Struts2-Validation-query-tp4554566p4556964.htm
Validation and using my Javascript.
But can you please look into my 2nd query...
Thanks
--
Akshat
--
View this message in context:
http://struts.1045723.n5.nabble.com/Scope-Interceptor-and-Struts2-Validation-query-tp4554566p4556964.html
Sent from the Struts - User mailing list archive at Nabble.com
On Tue, Jul 5, 2011 at 4:10 PM, log2akshat wrote:
> i have implemented the Struts2 validation framework, it is working fine. But
> I want these error-messages in a small popup screen with a ok button, when
> this popup is closed the focus should go to the field that has an error.
>
&
i have implemented the Struts2 validation framework, it is working fine. But
I want these error-messages in a small popup screen with a ok button, when
this popup is closed the focus should go to the field that has an error.
Or is there any way by which we can use additional javascript onsubmit
e of a property member that has been initialized in
> either prepare() or the execute() or entry point method calls
> themselves.
>
> -Chris
>
> -Original Message-
> From: Eric Lentz [mailto:eric.le...@sherwin.com]
> Sent: Thursday, May 19, 2011 1:22 PM
> To: Struts
On Thu, May 19, 2011 at 3:55 PM, CRANFORD, CHRIS wrote:
> The framework will call getModel() multiple times before your validate()
> and execute() methods are invoked; and so by adding the create/lookup
> logic to getModel(); you would then have to wrap that block of code
> around a null check so t
On Thu, May 19, 2011 at 2:22 PM, Eric Lentz wrote:
> I'm curious. If you are using ModelDriven, then why do you load your model
> in prepare()? Why not in getModel?
That'd mean you'd need the "did I already load the model?" code in
getModel(), wouldn't it? Seems cleaner to use prepare, since that
ember that has been initialized in
either prepare() or the execute() or entry point method calls
themselves.
-Chris
-Original Message-
From: Eric Lentz [mailto:eric.le...@sherwin.com]
Sent: Thursday, May 19, 2011 1:22 PM
To: Struts Users Mailing List
Subject: RE: Struts2 Validat
prepare.
- Eric
From:
"CRANFORD, CHRIS"
To:
"Struts Users Mailing List"
Date:
05/19/2011 01:16 PM
Subject:
RE: Struts2 Validation w/ModelDriven
Not that I am aware. The paramsPrepareParamsStack to my knowledge
handles validation at the very end; so by the time validat
8 AM
> To: Struts Users Mailing List
> Subject: Re: Struts2 Validation w/ModelDriven
>
>> So when this error condition is met and the user redirected back to
> the
> INPUT form; the
>> field where they had entered "xyz" is now the original default
>> initial
, May 19, 2011 11:58 AM
To: Struts Users Mailing List
Subject: Re: Struts2 Validation w/ModelDriven
> So when this error condition is met and the user redirected back to
the
INPUT form; the
> field where they had entered "xyz" is now the original default
> initialized value.
> So when this error condition is met and the user redirected back to the
INPUT form; the
> field where they had entered "xyz" is now the original default
> initialized value.
Can't you check the action error and not refresh the model when there is
an error?
When I implement the ModelDriven interface in my Struts2 actions;
I follow your typical prepare() method as follows:
public void prepare()
throws Exception {
if(id != null) {
model = service.create(/* some parameters */);
} else {
model = service.lookupById(id);
}
}
When a user fir
> String[] names;
>// OR
>
>ArrayList names;
>}
>i want to validate RequiredStringValidator validator on these names.
I don't think the standard validations deal with arrays. Probably your
best bet is to override validate() and validate on your own. See:
http://struts.apache.org/2.1.6/struts
in context:
http://struts.1045723.n5.nabble.com/Struts2-validation-on-List-of-String-data-tp4363039p4363039.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
>>
>> (I apologize for my bad English)
>>
>> Thanks
>> --
>> View this message in context:
>> http://old.nabble.com/Struts2-validation-tp29149892p29149892.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
How I can do?
>
> (I apologize for my bad English)
>
> Thanks
> --
> View this message in context:
> http://old.nabble.com/Struts2-validation-tp29149892p29149892.html
> Sent from the Struts - Use
I have two textfield and I would like to validate that at least one of both
have data.
How I can do?
(I apologize for my bad English)
Thanks
--
View this message in context:
http://old.nabble.com/Struts2-validation-tp29149892p29149892.html
Sent from the Struts - User mailing list archive at
Hi,
I would like to do nested struts2 validation. I have two questions.
1) How do I specify the validation for the following field. Can some
point me to some documenation for the expression validation.
searchResults.{#this.resource.name.length() > 0}.{? #this == false
}.size() <= 0
Hi,
I would like to do nested struts2 validation. I have two questions.
1) How do I specify the validation for the following field. Can some point me
to some documenation for the expression validation.
searchResults.{#this.resource.name.length() > 0}.{? #this == false }.size()
<= 0
e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
thanks for the reply i am not using springs i am using struts 2.x can
you please help me out
--
View this message in context:
http://old.nabble.com/Struts2--
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
>
--
Vie
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
>
--
Vie
be, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://old.nabble.com/Struts2--validation-problem-tp28042625p28137164.html
Sent from the Struts - User mailing list archive at Na
zud wrote:
1) Is old errors is not getting cleared that means when the filed value is
empty when i submit the form it shows required that is ok and agian when i
submit with empty values again now it shows messages like
filed is required
filed is required
Are you using Spring as your object fac
fields empty then its gets validated but the error message is
displayed 5 times
how to make validations work properly i am not using any theme for my form
any help will be appreciated greatly and thanks in advance
--
View this message in context:
http://old.nabble.com/Struts2
tionException: Error
>>> creating
>>> >> bean
>>> >> with name 'scopedTarget.pmaction': Scope 'request' is not active for
>>> the
>>> >> current thread; consider defining a scoped proxy for this bean if you
>
t;> intend
>> >> to refer to it from a singleton; nested exception is
>> >> java.lang.IllegalStateException: No thread-bound request found: Are
>> you
>> >> referring to request attributes outside of an actual web request, or
>> >> processing a reques
e,
> >> your
> >> code is probably running outside of DispatcherServlet/DispatcherPortlet:
> >> In
> >> this case, use RequestContextListener or RequestContextFilter to expose
> >> the
> >> current request.
> >>
> >>
> >>
of DispatcherServlet/DispatcherPortlet:
>> In
>> this case, use RequestContextListener or RequestContextFilter to expose
>> the
>> current request.
>>
>>
>> So if you have list box in jsp page and need to do validation on that jsp
>> page. ANd you c
ou have list box in jsp page and need to do validation on that jsp
> page. ANd you configured all your action classes in Spring appContext file.
> You wont succeed.
>
> Is that correct. Or is there any solution.
>
> Thanks and Regards
> RS
> --
> View this
e the
current request.
So if you have list box in jsp page and need to do validation on that jsp
page. ANd you configured all your action classes in Spring appContext file.
You wont succeed.
Is that correct. Or is there any solution.
Thanks and Regards
RS
--
View this message in context:
you can use @SkipValidation
--
View this message in context:
http://old.nabble.com/struts2-validation-for-only-one-method-in-action-tp9082687p26572573.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
vikrant S wrote:
Initially I did not check for null textfield and I was able to validate the
username and password directly from database.but When I applied validate
method in my action class It began to validate for null fields but not for
stored username and password. I am pasting my code..
t;public void setUserid(String userid) {
>this.userid = userid;
>}
>public String getPwd() {
>return pwd;
>}
>public void setPwd(String pwd) {
> this.pwd = pwd;
>}
>
> }
blic void setPwd(String pwd) {
this.pwd = pwd;
}
}
And my struts.xml is as follows:-
http://struts.apache.org/dtds/struts-2.0.dtd";>
success.jsp
/login.jsp
--
View this message in context:
http://old.nabble.com/Trouble-with-struts2-validation-tp26316069p26316069.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
Hehe, I've just resolved my own issue!
The problem was my spring configuration. I needed to
specify scope="prototype" on each of my Struts 2 Action declarations.
Singleton actions were being created and thus previous field errors were
being carried over between requests.
I'm surprised this isn't a
Hi,
I'm using Struts 2.0.14 and validation annotations. I have a
UpdateUserAction class which implements ModelDriven and declares the
execute() method with the following :
@Validations( visitorFields = { @VisitorFieldValidator(message="",
fieldName="model")} )
My model is a User class which has
Hi
Any workaround on validation of struts2 to work using java1.6 ?
Seems to work using java 1.5..
version : struts2-core-2.0.11.2
Getting Error 500 in page
java.lang.ExceptionInInitializerError
at
com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser
This question gets asked about once a week on this list ;)
http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-when-validation-fails.html
On Wed, Jun 24, 2009 at 9:07 AM, Kishan G. Chellap Paandy <
kishanchellapaand...@spanservices.com> wrote:
> Hi Folks,
>
> I'm populating a list
Hi Folks,
I'm populating a list in my action class, which will be used in the JSP for
populating a tag.
Now, I'm submitting the form, where I'm doing validation (server side
validation) thru validation.xml. And this throws some action/field errors and
the same JSP page is rendered again with
)}")
But it's not working.
Thanks!
--
View this message in context:
http://www.nabble.com/Struts2-Validation-Annotations---Message-with-params-tp24167311p24167311.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
feild required only when some
strings are selected from the multiple drop down box, which is in the
same form as the text field. Can this be done via struts2 validation
or do I have to write a custom validator for this?
I'd expect it could be handled with an expression validator; whether or
some
strings are selected from the multiple drop down box, which is in the
same form as the text field. Can this be done via struts2 validation
or do I have to write a custom validator for this?
Thanks!
On 4/19/09, Dave Newton wrote:
> Bhaarat Sharma wrote:
>> by the way. I can d
Bhaarat Sharma wrote:
by the way. I can do without having errors right beside the textfield.
I can have them grouped up top
Are you saying the tag doesn't render field errors in
the "simple" theme? The template file sure makes it look like it does.
Dave
--
Bhaarat Sharma wrote:
At this time I cant afford to change the theme of the site. Because
that breaks the html on a lot of pages and would require a lot of
effort to correct those pages.
Changing to show field error messages by hand would most likely entail
significantly more work.
show fi
by the way. I can do without having errors right beside the textfield.
I can have them grouped up top
On 4/19/09, Bhaarat Sharma wrote:
> Stop using the "simple" theme.
>
> The "simple" theme tags don't display error messages--they're simple.
> You'll either need to switch themes, show field err
Stop using the "simple" theme.
The "simple" theme tags don't display error messages--they're simple.
You'll either need to switch themes, show field error messages by hand
(if you want the messages near the fields), or modify/extend/create a
theme to emit the HTML you want.
At this time I cant af
Bhaarat Sharma wrote:
However, If i have the following line in my struts.properties then the
validation stops happening and I do not see any errors.
struts.ui.theme=simple
Technically, the validation does not stop happening.
Has someone seen something like this before?
Yes, anybody using th
I have a very weird error.
I am trying to do a very simple basic validation like this example:
http://struts.apache.org/2.x/docs/basic-validation.html
However, If i have the following line in my struts.properties then the
validation stops happening and I do not see any errors.
struts.ui.theme=sim
sorry but i can't.
this is my code jsp:
and this is the image
http://www.nabble.com/file/p22089792/Image.jpg
i don't want the message;
please help me
--
View this message in context:
http://www.nabble.com/struts2-validation-tp22068251p22089792.html
Sent from
2009/2/18 PEGASUS84 :
> but in this way i'cant se the labels of the form;
You can use s:label tag [1]
> Can i override theme simple and remove only errorMessage?
Yes you can, take a look on [2] and [3]
[1] http://struts.apache.org/2.1.6/docs/label.html
[2] http://struts.apache.org/2.1.6/docs/e
thanks,
but in this way i'cant se the labels of the form;
Can i override theme simple and remove only errorMessage?
--
View this message in context:
http://www.nabble.com/struts2-validation-tp22068251p22087958.html
Sent from the Struts - User mailing list archive at Nabbl
Use theme simple [1] and add what tags you want
[1] http://struts.apache.org/2.1.2/docs/themes-and-templates.html
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For add
thanks for your answer i've removed the conversion error interceptor but the
same message apper in my jsp page;
if i see the html code i see with the message invalide field value...
is there a way for remove this td?
--
View this message in context:
http://www.nabble.com/struts2-valid
2009/2/17 PEGASUS84 :
> Does someone knows how to hide the error message which cames from the action
> with name=input?
> i don't want to view this message Invalid field value...
I thing you're talking about conversion errors, if so remove
Conversion Error Interceptor [1] from your stack
[1] http
.
--
View this message in context:
http://www.nabble.com/struts2-validation-help-please-tp22068361p22068361.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts
good evening;
Does someone knows how to hide the error message which cames from the action
with name=input?
i don't want to view this message Invalid field value...
--
View this message in context:
http://www.nabble.com/struts2-validation-tp22068251p22068251.html
Sent from the Struts -
The quick answer: in the default configuration, when the validation
fails the result INPUT ("input") is returned. You frequently define a
mapping for this action and result in your struts.xml which renders
the "original" jsp (the input) so that the user can see the errors
(eg: ) and reenter the dat
Hi!
If you look at the relationship between the ValidationInterceptor [1]
and the WorkflowInterceptor [2], you should be able to figure it out.
[1] - http://struts.apache.org/2.0.12/docs/validation-interceptor.html
[2] - http://struts.apache.org/2.0.12/docs/workflow-interceptor.html
Nils-H
On M
Hi,
I have Basic Validation. If validation failed, which method struts2 is
calling? Can I define some method like in struts1 input?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
te:
>>
>> Hi,
>>
>> Does stuts2 support its validation feature with portlet.
>> Any help is highly appreciated.
>>
>> Thanks,
>> Sabyasachi
>>
>
> --
> View this message in context:
> http://www.nabble.com/Struts2-validation-w
Am Dienstag, 21. Oktober 2008 17:46:41 schrieb bakann:
> Did you find an example ?
> I think it is not working.
It is working.
I am using 2.0.11.2 with portlets. I am using some field validators and
configured validators.xml and my *.xml for the actions and validation
triggers fine.
--
Bitte s
Did you find an example ?
I think it is not working.
devsahu wrote:
>
> Hi,
>
> Does stuts2 support its validation feature with portlet.
> Any help is highly appreciated.
>
> Thanks,
> Sabyasachi
>
--
View this message in context:
http://www.nabble.com/Stru
Hi all,
converting big S1 application and run into this problem.
Even though form is being validated in S1 version by validator.xml
there is an user field which was validated on focus lost by asynch call using
Ajax - to find found if by user chosen
user name is still available. Call is then interc
Do you use xml based validation? If so, name the xml files correctly
according to the name of actions, read [1], section Defining
Validation Rules
ProjectStatusAction-ProjectStatus_updateAddPage-validation.xml
[1] http://struts.apache.org/2.1.2/docs/validation.html
Regards
--
Lukasz
http://www
gt;
>
>
>
> Regards,
>
>
> -Halil AGIN
>
>
>
> On Thu, Jul 24, 2008 at 6:22 PM, Dave Newton <[EMAIL PROTECTED]>
> wrote:
>
>> Your action is submitting to "ProjectStatus"; is that action defined?
>>
>> Dave
>>
>>
>
; wrote:
> Your action is submitting to "ProjectStatus"; is that action defined?
>
> Dave
>
>
> --- On Thu, 7/24/08, Halil Ağın <[EMAIL PROTECTED]> wrote:
>
> > From: Halil Ağın <[EMAIL PROTECTED]>
> > Subject: struts2 validation, tiles def
Your action is submitting to "ProjectStatus"; is that action defined?
Dave
--- On Thu, 7/24/08, Halil Ağın <[EMAIL PROTECTED]> wrote:
> From: Halil Ağın <[EMAIL PROTECTED]>
> Subject: struts2 validation, tiles definition in input result type, problem!
> To
2008/7/24 Halil Ağın <[EMAIL PROTECTED]>:
> tomcat : apache-tomcat-6.0.16.tar.gz
>
>
> WEB-INF/lib content:
>
> tiles-api-2.0.5.jar
> tiles-core-2.0.5.jar
> tiles-defs.xml
> tiles-jsp-2.0.5.jar
> struts2-config-browser-plugin-2.1.2.jar
> struts2-core-2.1.2.jar
> struts2-tiles-plugin-2.1.2.jar
It s
tomcat : apache-tomcat-6.0.16.tar.gz
WEB-INF/lib content:
tiles-api-2.0.5.jar
tiles-core-2.0.5.jar
tiles-defs.xml
tiles-jsp-2.0.5.jar
struts2-config-browser-plugin-2.1.2.jar
struts2-core-2.1.2.jar
struts2-tiles-plugin-2.1.2.jar
-Halil AGIN
2008/7/24 Antonio Petrelli <[EMAIL PROTECTED]>:
> 2
2008/7/24 Halil Ağın <[EMAIL PROTECTED]>:
> Hello List;
> org.apache.tiles.definition.NoSuchDefinitionException: tvq.projectstatus. at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:394)
> at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:37
Hello List;
I am trying to implement validation in struts2.
My action is as follow:
tvq.projectstatus.{1}
tvq.projectstatus.{1}
tvq.projectstatus.{1}
/ProjectStatus_list.action
Since when validation process returns false, i want stru
Hi Pierre,
Thanks for your code.
Yes I did get it working with annotation, phew!
Nicole
-Original Message-
From: Pierrot52 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 16 July 2008 9:48 PM
To: user@struts.apache.org
Subject: Re: struts2 validation
Hi Nicole,
This is an action class
> id=3D"fieldName"
>
> theme=3D"simple"
>
> size=3D"1"
>
> list=3D"fieldList"
>
> headerKey=3D""
>
> headerValue=
In case it helps anyone else, I found a simple solution ... Annotations.
I did exactly what is here:
http://struts.apache.org/2.x/docs/validation-annotation.html
Thanks again for everyone's help!
The contents of this email are confidential and may be subject to legal or
professional privilege a
Ah!
Now I understand ... Looks like I will be changing a few things in this project
...
Thanks for your help!
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, 14 July 2008 10:22 PM
To: Struts Users Mailing List
Subject: RE: struts2 validation
If you don
...
}
...
}
It sort of seems like you're implementing a bit of ModelDriven, but
manually--not a problem, but seems a bit duplicative.
Dave
--- On Mon, 7/14/08, Nicole Luneburg wrote:
> From: Nicole Luneburg <[EMAIL PROTECTED]>
> Subject: RE: struts2 validation
&
eldName();
> }
>
> Markus: Thanks for your reply too, I am trying it right now. Just want this
> to work grrr
>
>
> -Original Message-
> From: Jeromy Evans [mailto:[EMAIL PROTECTED]
> Sent: Monday, 14 July 2008 4:25 PM
> To: Struts Users Mailing List
> Subject: Re: struts2
myForm.getFieldName();
}
Markus: Thanks for your reply too, I am trying it right now. Just want this to
work grrr
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Monday, 14 July 2008 4:25 PM
To: Struts Users Mailing List
Subject: Re: struts2 validation
N
t;>
>> My setup is that I have an Action class, which uses a Form to set and get
>> f= ield values from the JSP page.
>>
>> In Struts1 I was using the validate(...) method in the Form class.
>>
>> It seems none of the Struts2 validation examples on the net a
Struts1 I was using the validate(...) method in the Form class.
It seems none of the Struts2 validation examples on the net are working for=
me.
You haven't mentioned whether you're using XML validation or
annotation-based validation. If by not working you mean "does nothing&q
up is that I have an Action class, which uses a Form to set and get f=
ield values from the JSP page.
In Struts1 I was using the validate(...) method in the Form class.
It seems none of the Struts2 validation examples on the net are working for=
me.
Or I'm not doing it right.
Anyone any
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote:
> > This is my xml file. when we run in a local machine that has internet
> > access this works fine.
> >
> >
> > > "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
> > "http://ww
I am using jboss-4.0.5-GA
Dave Newton wrote:
--- Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote:
This is my xml file. when we run in a local machine that has internet
access this works fine.
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>
Hmm, AFAICT that's exactly what
--- Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote:
> This is my xml file. when we run in a local machine that has internet
> access this works fine.
>
>
>"-//OpenSymphony Group//XWork Validator 1.0.2//EN"
> "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>
Hmm,
me across this issue? . we dont have internet in our app
server and the struts2 validation fails as it cant access
www.opensymphony.com.
Thanks,
Nuwan.
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
ay, March 26, 2008 8:16 AM
Subject: Struts2 validation issue when internet is not available in the
application server.
> Hi All,
>
> Has any one come across this issue? . we dont have internet in our app
> server and the struts2 validation fails as it cant access
> www.opensymphony.
his issue? . we dont have internet in our app
> server and the struts2 validation fails as it cant access
> www.opensymphony.com.
>
> Thanks,
>
> Nuwan.
>
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAc
Hi All,
Has any one come across this issue? . we dont have internet in our app
server and the struts2 validation fails as it cant access
www.opensymphony.com.
Thanks,
Nuwan.
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
on some field that can never evaluate to true. If there's
nothing obvious then I'd suggest adding an actionerror or some fielderror
tags to page0, and let it redisplay so you can see what field is failing
validation.
...Jeff
-Original Message-
From: djia002 [mailto:[EMAIL PROTECT
without having data
preloaded by edit() because edit() not get called at all.
How can I work around with this problem?
Thanks in advance.
Kevin
--
View this message in context:
http://www.nabble.com/Struts2-Validation-tp15079124p15079124.html
Sent from the Struts - User mailing list a
is specified in the submit tag does it use the same format
> for validation files (actionclass-alias-method).
>
>
>
> Thanks
>
>
>
> -Andrew
>
>
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/struts2-validation---wil
The problem I'm having is getting validation to run when the wildcard
mapped method is specified in the submit tag method parameter and not in
the form tag action parameter (action-method).
Everything works fine when I set the form action param to specify the
action and method.
If the method i
e button
>>>> clicked
>>>> ?
>>>>
>>>>
>>>>
>>>> ros wrote:
>>>>
>>>>> Java Script validation fro button disabled by
>>>>>
>>>>> >>>>
you can always use and
- then you don't need the logic to
determine which button was clicked in the execute() method, and you can
use the validation config below.
/ian
Igor Vlasov wrote:
This is not a solution.
I have 2 submit button in one form: one for save and another for delete. All
o
t;document.getElementById('ticketForm').onsubmit = null;" />
>>>
>>>
>>> ros wrote:
>>>>
>>>> If I have in one form DELETE and SAVE buttons, how to turn off client
>>>> side validation for
>>> side validation for DELETE button?
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267302.html#a13254840
Sent from the Struts - User mailing list archive at Nabble.com.
ros wrote:
>>
>> If I have in one form DELETE and SAVE buttons, how to turn off client
>> side validation for DELETE button?
>>
>
>
--
View this message in context:
http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267302.
1 - 100 of 127 matches
Mail list logo