Hello,
I am currently using the Struts2 validation framework for my project. I
have Struts 2.0.14. I have been trying to find a way to display alternate
error message through validator framework.
I tried two things.
1. I added a bundle attribute in the following code in the web.xml but
Hi,
On one of my project we are using struts validation framework...i am using
client side validation...requirement is when form field value is invalid its
focusing into specific field...at same time i have to select existing value
invalid text...like focus() and select()
Thanks,
-Soma
frame work.
--
View this message in context:
http://www.nabble.com/Struts-Validation-framework-tp18920960p18920960.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, August 13, 2007 5:12 PM
To: Struts Users Mailing List
Subject: [OT] Re: Calling Struts Validation framework explicitly from
WebServices
Look at Apache commons-validator... asking the
question in many different ways will not generate
significa
inal Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Monday, August 13, 2007 5:12 PM
To: Struts Users Mailing List
Subject: [OT] Re: Calling Struts Validation framework explicitly from
WebServices
Look at Apache commons-validator... asking the
question in many different ways will
Look at Apache commons-validator... asking the
question in many different ways will not generate
significantly different answers.
http://commons.apache.org/validator/
d.
--- Prashant Baviskar <[EMAIL PROTECTED]>
wrote:
>
>
> Hi,
>
> I have a struts application.
>
> I am separating business
Hi,
I have a struts application.
I am separating business logic from presentation logic & going to expose
this business logic as web-service.
I want to explicitly call validation framework of struts from web service.
Please Help
--Thanks & Regards
Prashant Baviskar
http://www.pa
n.
Currently as I know, the action gets called based on the
setting.
Any help would be much appreciated,
regards,
robin.
----
Subject:
Having problems with Struts validation framework
From:
robin bajaj <[EMAIL PR
gt; Currently as I know, the action gets called based on the
> setting.
>
>
> Any help would be much appreciated,
> regards,
> robin.
>
>
>
>
>
>
>
>
>
>
>
> ---
Hello folks,
I found a little issue with the action that's being called.
Please dis-regard my previous mail reporting this issue.
Its resolved now.
However, I have another related issue.
My loyaltyPAge.jsp has two buttons - Exit and continue.
I want the validation to occur only when "Continue" i
Hi Folks,
--- problem ---
My validation is working but the control doesnt go back to the input
page. I want the input page to render again showing the errors.
--- Details --
I am using Struts 1.1.x for my webApp.
My validation is working fine. (validator-rules.xml and
validation-renewal.xml s
You can also do the same kind of thing that Chris suggests with Struts tags:
For your global message, uses the "messagesPresent" tag to detect if
there are errors and then output the appropriate message:
For your field specific messages, you can use either the
or tags to position m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robin,
> When the user submits the form with more than one fields left blank (or
> with incorrect values), I want to show a
> general (GLOBAL) message on top of the form saying
>
> "Following shown mandatory fields were provided with incorrect values
Hi Dave,
Thanks for the reply.
My Desired Scenario:
a)
When the user submits the form with more than one fields left blank (or
with incorrect values), I want to show a
general (GLOBAL) message on top of the form saying
"Following shown mandatory fields were provided with incorrect values"
b
From: robin bajaj [mailto:[EMAIL PROTECTED]
> I need to know how can I generate GLOBAL validation errors using the
> validation.xml file. I know this can be done easily in ActionForm's
> java code like:
Like what kind of "global" validation errors?
Dave
--
Hi Everyone,
I am using Struts 1.2 validation framework where I am using the
following elements to mention validation rules for specific action
properties.
But this only allows me to generate validation errors for specific
ActionForm property names.
I need to
Joe Germuska Germuska.com> writes:
>
> At 12:14 PM -0700 7/14/05, Jay Burgess wrote:
> >Yes. It's because the leading zero is saying the numbers are
> >"octal", so 01-07
> >are valid octals, 08-09 are invalid octals, and 10-12 are valid octals.
>
> Jay's exactly right here. Your options:
>
s [mailto:[EMAIL PROTECTED] On Behalf Of Sivakumar Santharam
Sent: Thursday, July 14, 2005 2:07 PM
To: user@struts.apache.org
Subject: struts validation framework
I am trying to restrict a field input value between 1 and 12. The user has to
enter like 01 or 02.. thro 12. The validation fails if I en
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sivakumar Santharam
Sent: Thursday, July 14, 2005 2:07 PM
To: user@struts.apache.org
Subject: struts validation framework
I am trying to restrict a field input value between 1 and 12. The user has to
enter like 01 or 02.
I am trying to restrict a field input value between 1 and 12. The user has to
enter like 01 or 02.. thro 12. The validation fails if I enter 08 or 09 and
for all other values from 01 thro 07 and 10 thro 12, it works fine. Again the
problem is only if I enable javascript validation.
Did anybody
I use Map backed ActionForm in which I generate the controls(text, select)
dynamically from a map and all the properties are collected in a map in the
form.
I can add server side validation on these properties. I did not find a way to
generate dynamically client side validation. The validation I
-0300, Mariano Ayesa wrote:
> Hi all!
> I´m trying struts validation framework and I would like to know if
> there is a way to tell Struts to include only javascripts functions
> needed by a particular JSP. I have noticed that Struts adds every rule
> configured in validator-rules in eac
Hi all!
I´m trying struts validation framework and I would like to know if
there is a way to tell Struts to include only javascripts functions
needed by a particular JSP. I have noticed that Struts adds every rule
configured in validator-rules in each generated HTML and this makes
pages too much
23 matches
Mail list logo