Re: Struts - XWork validation - error message not taking parameters

2018-03-16 Thread Lukasz Lenart
2018-03-15 14:18 GMT+01:00 Vikul Aggarwal : > Hi > > I am using xwork validation to valid whether the value of an integer falls > in a valid range or not. > > This is how the validator is configured: > > > 0 > 9 > > > > > int validator i

Struts - XWork validation - error message not taking parameters

2018-03-15 Thread Vikul Aggarwal
Hi I am using xwork validation to valid whether the value of an integer falls in a valid range or not. This is how the validator is configured: 0 9 int validator is com.opensymphony.xwork2.valida tor.validators.IntRangeFieldValidator

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
ok. Now i understand. I am using jstl. I am not using struts tags. On Wed, Mar 20, 2013 at 5:03 AM, Chris Pratt wrote: > Muralidhar, > How are you specifying the form? If you aren't using the (or if you are using the "simple" theme), then you will have to handle the > form value retrieval yo

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Chris Pratt
Muralidhar, How are you specifying the form? If you aren't using the wrote: > As stated, there is no particular action you need to take other than not > redirecting. > > If the action is hit and the params interceptor is working, they'll be > there. > > Dave > > > > On Tue, Mar 19, 2013 at 7:1

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Dave Newton
If you haven't configured any of: * Default interceptor stack, or... * Package-specific interceptor stack, or... * Action-specific stack then you're running the default stack. The default stack is defined in struts-default.xml, contained in the struts2-core jar. It's also on the documentation wik

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
where can i see the default interceptors configured. I mean in struts blank war application in struts.xml file there is nothing so where to check what are configured? On Wed, Mar 20, 2013 at 4:49 AM, Dave Newton wrote: > As stated, there is no particular action you need to take other than not >

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Dave Newton
As stated, there is no particular action you need to take other than not redirecting. If the action is hit and the params interceptor is working, they'll be there. Dave On Tue, Mar 19, 2013 at 7:11 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > Almost sorted out all the problem

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
Almost sorted out all the problems only this is remaining. Any idea how to retain the field values? On Wed, Mar 20, 2013 at 3:55 AM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > ok I understood. I will remove but how to retain values. any idea? > > They will retain automatically >

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
The following is what i am doing /jsp/lv/voteTopic.jsp /jsp/lv/voteTopic.jsp When there is field validation error then it is getting directed to the same jsp but the values are not retained. am i doing something wrong? On Wed, Mar 20, 2013 at 3:55

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > ok I understood. I will remove but how to retain values. any idea? They will retain automatically Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-u

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
ok I understood. I will remove but how to retain values. any idea? On Wed, Mar 20, 2013 at 3:49 AM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > I i use just plain input error messages getting printed but the values of > > the fields are not retained. > > You cannot use redirect a

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > I i use just plain input error messages getting printed but the values of > the fields are not retained. You cannot use redirect and expect that the values will be retained. Remove type="redirect". Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
I i use just plain input error messages getting printed but the values of the fields are not retained. On Wed, Mar 20, 2013 at 3:43 AM, Lukasz Lenart wrote: > 2013/3/19 Muralidhar Yaragalla : > > I have tried this > > > > > class="com.ymd.ums.lv.action.VotingTopicAction" method="execute"> > >

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
iew (JSP, freemarker, > etc.) whose view knows how to render the appropriate model object in the > action. > > Paul > > On Tue, Mar 19, 2013 at 4:32 PM, Muralidhar Yaragalla < > java.yaraga...@gmail.com> wrote: > > > Hi when there is validation error in the farm th

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Lukasz Lenart
2013/3/19 Muralidhar Yaragalla : > I have tried this > > class="com.ymd.ums.lv.action.VotingTopicAction" method="execute"> >/jsp/lv/voteTopic.jsp > > >/jsp/lv/voteTopic.jsp > > > > But even error messages not getting pri

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Muralidhar Yaragalla
o a view (JSP, freemarker, > etc.) whose view knows how to render the appropriate model object in the > action. > > Paul > > On Tue, Mar 19, 2013 at 4:32 PM, Muralidhar Yaragalla < > java.yaraga...@gmail.com> wrote: > > > Hi when there is validation error in the fa

Re: how can i retain the field values when there is validation error in field

2013-03-19 Thread Paul Benedict
You retain those values by doing a forward to a view (JSP, freemarker, etc.) whose view knows how to render the appropriate model object in the action. Paul On Tue, Mar 19, 2013 at 4:32 PM, Muralidhar Yaragalla < java.yaraga...@gmail.com> wrote: > Hi when there is validation error in

Re: struts 2 validation error

2013-03-06 Thread Lukasz Lenart
2013/3/7 john lee : > Java backtrace for programmers: > -- > freemarker.template.TemplateModelException: Method public java.util.List > org.apache.struts2.components.Form.getValidators(java.lang.String) threw an > exception when invoked on org.apache.struts2.components.Form@d6147e >

struts 2 validation error

2013-03-06 Thread john lee
please advise thanks in advance john ** error: Template processing error: "Method public java.util.List org.apache.struts2.components.Form.getValidators(java.lang.String) threw an exception when invok

Re: How to repopulate data on s:textfield after validation error

2012-06-17 Thread Łukasz Lenart
2012/6/15 Omar Ngarigari : > The default value is list value. For example, my code is as follow: > > > > What I want is on validation error to repopulated data that user entered not > the one that comes with list from database. But as I said, it must be something wrong wi

Re: How to repopulate data on s:textfield after validation error

2012-06-15 Thread Omar Ngarigari
The default value is list value. For example, my code is as follow: What I want is on validation error to repopulated data that user entered not the one that comes with list from database. From: Łukasz Lenart To: Struts Users Mailing List ; Omar Ngarigari

Re: How to repopulate data on s:textfield after validation error

2012-06-15 Thread Łukasz Lenart
2012/6/15 Omar Ngarigari : > Please advice me on how to repopulate data on s:textfield after validation > error. When a user enters some values on the s:textfield or s:select fields > and click submit button validation error displays, the values goes back to > the default not the

How to repopulate data on s:textfield after validation error

2012-06-15 Thread Omar Ngarigari
Hello, Please advice me on how to repopulate data on s:textfield after validation error. When a user enters some values on the s:textfield or s:select fields and click submit button validation error displays, the values goes back to the default not the ones that a user entered in first place

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 9:52 AM, alex zaim wrote: > When you said getText() i thought you meant value="getText('some.key')" /> > > It works all good now when i use it from validate(). > > Thanks a lot! No problem! Dave - To uns

Re: How to i18n post validation error messages?

2011-04-13 Thread alex zaim
When you said getText() i thought you meant It works all good now when i use it from validate(). Thanks a lot!

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 9:01 AM, alex zaim wrote: >>No. Use existing getText(...) methods. > > That will be parsed right before validation. I want to show the fielderror > results... > in another language. I don't understand what you're saying. If you're doing validation in validate(). getText(

Re: How to i18n post validation error messages?

2011-04-13 Thread alex zaim
>No. Use existing getText(...) methods. That will be parsed right before validation. I want to show the fielderror results... in another language.

Re: How to i18n post validation error messages?

2011-04-13 Thread Dave Newton
On Wed, Apr 13, 2011 at 8:38 AM, alex zaim wrote: > Please suggest the best method, if possible. (perhaps from right within > validate() method? > should i make my own resource parser in this case?) No. Use existing getText(...) methods. Dave ---

How to i18n post validation error messages?

2011-04-13 Thread alex zaim
Please suggest the best method, if possible. (perhaps from right within validate() method? should i make my own resource parser in this case?)

Re: struts 2 validation error

2010-01-06 Thread Greg Lindholm
age without entering > action class then raising an null pointer exception.I need that "list" even > if the validation fails. > > Please help me to get out of this problem > > expecting your kind interaction > > thanks in advance > > rakesh > -- > View th

Re: struts 2 validation error

2010-01-04 Thread Paweł Wielgus
m there to jsp page without entering > action class then raising an null pointer exception.I need that "list" even > if the validation fails. > > Please help me to get out of this problem > > expecting your kind interaction > > thanks in advance > > rakesh &g

struts 2 validation error

2010-01-03 Thread Rakesh K nair
nd interaction thanks in advance rakesh -- View this message in context: http://old.nabble.com/struts-2-validation-error-tp27009670p27009670.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscri

Struts Validation - Error loading JavaScript Files

2009-06-16 Thread tarun trehan
truts-Validation---Error-loading-JavaScript-Files-tp24049580p24049580.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: u

Re: error validation error

2009-05-31 Thread Dave Newton
coolsayan wrote: From the docs: "Name of the property for which error messages should be displayed. If not specified, all error messages (regardless of property) are displayed." You don't have a property named "error.name.required"--that sounds like the name of a message resource to me.

RE: error validation error

2009-05-30 Thread Martin Gainty
s à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Sat, 30 May 2009 12:10:12 -0700 > From: coolsayan.2...@gmail.com > To: user@struts.apache.org > Subject: Re: error validation error > > > <%...@page contentType="

Re: error validation error

2009-05-30 Thread coolsayan
- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/%3Chtml%3Aerrors-%3E-error-validation-error-tp23765113p23796476.html Sent from the Struts - User mailin

Re: error validation error

2009-05-30 Thread Dave Newton
Martin Gainty wrote: please view this comprehensive explanation of dojo mapped functions by Ted http://struts.apache.org/2.1.6/docs/developing-ajax-widgets.html Wrong thread. Dave - To unsubscribe, e-mail: user-unsubscr...@st

Re: error validation error

2009-05-30 Thread Paul Benedict
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: error validation error

2009-05-30 Thread Martin Gainty
esponsabilité pour le contenu fourni. > Date: Sat, 30 May 2009 01:47:39 -0700 > From: coolsayan.2...@gmail.com > To: user@struts.apache.org > Subject: Re: error validation error > > > please specify the taglib syntax. > > newton.dave wrote: > > > >

Re: error validation error

2009-05-30 Thread coolsayan
truts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/%3Chtml%3Aerrors-%3E-error-validation-error-tp23765113p23791499.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: error validation error

2009-05-29 Thread Dave Newton
coolsayan wrote: what to change please be specific The taglib URIs. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: error validation error

2009-05-29 Thread coolsayan
t; > return mapping.findForward(FAILURE); > } > > HttpSession mySession=request.getSession(true); > mySession.setMaxInactiveInterval(30); > return mapping.findForward(SUCCESS); > } > } > > > > > Error > &g

Re: error validation error

2009-05-28 Thread Paul Benedict
on mySession=request.getSession(true); >         mySession.setMaxInactiveInterval(30); >        return mapping.findForward(SUCCESS); >    } > } > > > > > Error > > HTTP Status 500 - > >

error validation error

2009-05-28 Thread coolsayan
Exception: PWC1244: Servlet execution threw an exception root cause java.lang.NoSuchMethodError: org.apache.struts.config.ForwardConfig.getContextRelative()Z note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs. --

[S2] Form validation error

2009-01-22 Thread Håkan Andersson
Hi I have a small problem with form validation, when required="true" is set on a textfield the validation don't work, I am getting a dialog stating that "An exception occurred: NS_ERROR_DOM_NOT_FOUND_ERR. Error message: Node was not found", If I remove the required="true" the validation works as

Re: Highlighting a field with a validation error in struts 2

2008-11-14 Thread Torsten Krah
Am Mittwoch, 12. November 2008 schrieb Adam Lister: > I'm not seeing this "red border" either... > does anyone recall which theme provides this? Afaik no theme does provide this, you have to write your own theme (actual for this input field only) to do this - its really easy to do that. smime

Re: Highlighting a field with a validation error in struts 2

2008-11-13 Thread Arpan Debroy
If we use "simple" theme, then also can we make that? On Thu, Nov 13, 2008 at 12:18 PM, Andras Balogh <[EMAIL PROTECTED]> wrote: > Hi, > > I think the easiest way would be to copy from struts2-core-xx.jar the > validation.js based on the theme and put it in your source package folder . > So examp

Re: Highlighting a field with a validation error in struts 2

2008-11-12 Thread Andras Balogh
Hi, I think the easiest way would be to copy from struts2-core-xx.jar the validation.js based on the theme and put it in your source package folder . So example I took template/css_xhtml/validation.js from struts.jar and I modified the javascript function: function addError(e, errorText) { } H

Re: Highlighting a field with a validation error in struts 2

2008-11-12 Thread Dave Newton
Sorry if this is a dupe; something funky is happening. --- On Wed, 11/12/08, Adam Lister wrote: > I took a look around, and I can't seem to find any way > to select an input that has an error associated with it using css. You should be able to use CSS selectors to get child elements of an element

Re: Highlighting a field with a validation error in struts 2

2008-11-12 Thread Adam Lister
t; either... does anyone recall which theme provides this? Thanks, -Adam Dave Newton wrote: --- On Wed, 11/12/08, Adam Lister <[EMAIL PROTECTED]> wrote: I'm trying to figure out how apply a class or some kind of style to a input field when there is a validation error in struts

Re: Highlighting a field with a validation error in struts 2

2008-11-12 Thread Dave Newton
--- On Wed, 11/12/08, Adam Lister <[EMAIL PROTECTED]> wrote: > I'm trying to figure out how apply a class or some kind > of style to a input field when there is a validation error > in struts 2. I generally just override the supplied CSS (which does things like giving text

Highlighting a field with a validation error in struts 2

2008-11-12 Thread Adam Lister
Hi, I'm trying to figure out how apply a class or some kind of style to a input field when there is a validation error in struts 2. I think this is a fairly common thing (apply a highlighted background color to an errored field to focus the user's attention) but it does not

Re: Display validation error messages when using simple theme?

2008-10-13 Thread Wes Wannemacher
On Mon, 2008-10-13 at 16:55 -0700, col_chappy wrote: > Is there any way to display validation error messages when using the struts2 > simple theme? -Wes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Display validation error messages when using simple theme?

2008-10-13 Thread col_chappy
Is there any way to display validation error messages when using the struts2 simple theme? -- View this message in context: http://www.nabble.com/Display-validation-error-messages-when-using-simple-theme--tp19964986p19964986.html Sent from the Struts - User mailing list archive at Nabble.com

RE: [S2] client-side validation error message duplication

2008-09-12 Thread Kawczynski, David
--- On Fri, 9/12/08, Kawczynski, David wrote: > I'm using struts 2.1.2, and the xhtml theme to render a > form. When client-side validaiton fails, an error message > is placed above the bad input fields. > Subsequent submission attempts result in new error messages > being ADDED to the UI, but the

Re: [S2] client-side validation error message duplication

2008-09-12 Thread Pascal Lalonde
If you are using Spring into your projet, this may be related to the beans being singletons, we had this problem in the past, we actually were required to call cleanErrorsAndMessages method at each prepare call. - Pascal Kawczynski, David wrote: I'm using struts 2.1.2, and the xhtml theme to

Re: [S2] client-side validation error message duplication

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, Kawczynski, David wrote: > I'm using struts 2.1.2, and the xhtml theme to render a > form. When client-side validaiton fails, an error message > is placed above the bad input fields. > Subsequent submission attempts result in new error messages > being ADDED to the UI, but the

[S2] client-side validation error message duplication

2008-09-12 Thread Kawczynski, David
I'm using struts 2.1.2, and the xhtml theme to render a form. When client-side validaiton fails, an error message is placed above the bad input fields. Subsequent submission attempts result in new error messages being ADDED to the UI, but the old messages are never removed. I need to clear out prev

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Dave Newton
--- On Fri, 9/12/08, Bobby Mitch wrote: > Perhaps you mean to use this Struts-core 2.1.3 jar with this 2.1.2 Xwork jar ? Perhaps. But AFAIK the nightlies only include core, not the rest of the framework. So you'll still probably want to build from source, or fix the version for S2.0 and contrib

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Bobby Mitch
TED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Friday, September 12, 2008, 3:56 AM Bobby Mitch wrote: > hi, > thanks for the

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Jeromy Evans
Bobby Mitch wrote: hi, thanks for the explanations. "Which means if you work from a snapshot version of xwork it's fixed (which is a 2.1 stream though, which you don't want)." What do you mean here ? I didn't realise you could move to 2.1.x. It's not a trivial migration normally. A

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-12 Thread Bobby Mitch
that contains a fix for my problem (Uri scheme exception which prevents me from using validation). Thanks --- On Thu, 9/11/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI sc

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Jeromy Evans
Bobby Mitch wrote: The Xwork issue is this one : http://jira.opensymphony.com/browse/XW-649 They have not fixed it yet ... Can someone fix it with the changes described below on the method private static void parseValidators() { ...} of the class com.opensymphony.xwork2.validator.ValidatorFa

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" , [EMAIL PROTECTED] Date: Thursday, September 11, 20

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
I found the JIRA issue for this problem : http://jira.opensymphony.com/browse/XW-649 Can someone fix it ? --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI sc

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
t I can replace the xwork jar that ships with it > struts-2.0.11.1.jar > > > > Anyways, has this modification been reported on more recent versions of > Xwork ? > > > > Thanks > > > > > > > > --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTEC

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Gabriel Belingueres
> > Thanks > > > > --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: > From: Musachy Barroso <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: &qu

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
modification been reported on more recent versions of Xwork ? Thanks --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: &quo

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
usachy Barroso <[EMAIL PROTECTED]> wrote: > From: Musachy Barroso <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: "Struts Users Mailing List" , [EMAIL PROTECTED] > Date: Thursday, September

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
That is not the same error. --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" ,

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
blem then ? > Thanks > > --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: > From: Musachy Barroso <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: "Struts Users Mai

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Bobby Mitch
What exactly is the fix for this problem then ? Thanks --- On Thu, 9/11/08, Musachy Barroso <[EMAIL PROTECTED]> wrote: From: Musachy Barroso <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Strut

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-11 Thread Musachy Barroso
> From: Bobby Mitch <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Wednesday, September 10, 2008 5:01:14 PM > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > > Thanks. > Applying the workaroun

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Struts Two
Simple validation error (URI scheme is not "file") Thanks. Applying the workaround with Struts 2.0.11.1 and XWorks 2.0..4, and modifying struts.xml by adding the interceptor-ref tag does not work: 22:58:02,671 ERROR [[default]] Servlet.service() for servlet default

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Jeromy Evans
Musachy Barroso wrote: this ticket: https://issues.apache.org/struts/browse/WW-2653 ? Yeah, that's a fix for the same issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Bobby Mitch
I guess it is game over until a new working release comes out ... --- On Wed, 9/10/08, Struts Two <[EMAIL PROTECTED]> wrote: From: Struts Two <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Struts Two
I believe the issue should be fixed on 2.1.2 (for Websphere at least), but it still remains an issue for Struts 2.0.11.2 (for Websphere users). See the email below: - Original Message From: Rene Gielen <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, July 16, 2008 2:

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Musachy Barroso
this ticket: https://issues.apache.org/struts/browse/WW-2653 ? On Wed, Sep 10, 2008 at 9:58 AM, Musachy Barroso <[EMAIL PROTECTED]> wrote: > Didn't we fix this already in xwork trunk?, I think I committed a patch > someone supplied at some point. > > > On Wed, Sep 10, 2008 at 6:58 AM, Jeromy Eva

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Musachy Barroso
Didn't we fix this already in xwork trunk?, I think I committed a patch someone supplied at some point. On Wed, Sep 10, 2008 at 6:58 AM, Jeromy Evans < [EMAIL PROTECTED]> wrote: > > > Bobby Mitch wrote: > >> ok, >> well for your information I asked about that problem in the JBoss problem, >> thin

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Struts Two
:40 AM Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") ok, well for your information I asked about that problem in the JBoss problem, thinking that the problem could come from JBoss, and I just posted the question on the XWORK forum where i hope t

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Jeromy Evans
Bobby Mitch wrote: ok, well for your information I asked about that problem in the JBoss problem, thinking that the problem could come from JBoss, and I just posted the question on the XWORK forum where i hope they will help me fix it. http://forums.opensymphony.com/thread.jspa?threadID=4542

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-10 Thread Bobby Mitch
nd Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 11:10 PM Bobby Mitch wrote: > yes, but i wrote that with this XML file or without this XML file, that is with annotations only (@Validation etc), i

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Jeromy Evans
Bobby Mitch wrote: yes, but i wrote that with this XML file or without this XML file, that is with annotations only (@Validation etc), i still get the same error. So i do not see the point of me trying to change that file. And I want this to work with annotations too. Thanks anyway for helping.

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 4:59 PM Bobby Mitch wrote

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Jeromy Evans
Bobby Mitch wrote: hi, thanks again for helping. What XML file exactly are you talking about ? The decriptor file strugs-tag.tld from the The validators XML file you provided in your original email: "-//OpenSymphony Group//XWork Validator 1.0.2//EN" "http://www.opensy

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
On Tue, 9/9/08, Jeromy Evans <[EMAIL PROTECTED]> wrote: From: Jeromy Evans <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Tuesday, September 9, 2008, 4:56 AM Bo

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Jeromy Evans
Bobby Mitch wrote: Any other suggestion, anyone ? Thanks for helping. Did you try my suggestion of changing the doctype to point to a local file? Or a local catalog? Or perhaps even removing the doctype? It appears to be failing to parse the XML and the only URI present is in the doctype

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Bobby Mitch
Any other suggestion, anyone ? Thanks for helping. --- On Tue, 9/9/08, Don Brown <[EMAIL PROTECTED]> wrote: From: Don Brown <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing Lis

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-09 Thread Don Brown
on Brown <[EMAIL PROTECTED]> > Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme > is not "file") > To: "Struts Users Mailing List" > Date: Sunday, September 7, 2008, 10:53 PM > > There was a JBoss issue that I found once I add

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-08 Thread Bobby Mitch
helping. --- On Sun, 9/7/08, Don Brown <[EMAIL PROTECTED]> wrote: From: Don Brown <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Sunday, September 7, 2008, 10:53 PM

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Don Brown
There was a JBoss issue that I found once I added JBoss 4.2 testing with the tld. Not sure if that fix is in 2.1.2, but it will be in 2.1.3. If you need, you can just unzip the Struts jar, fix the order of the elements that is causing the problem, and zip it back up. Don On Mon, Sep 8, 2008 at

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Jeromy Evans
Bobby Mitch wrote: Well, I upgraded to the beta version and I am getting errors in the struts-tags.tld file that i extracted from struts2-core-2.1.2.tld and put under WEB-INF/ Upgrading to 2.1.2 is a major effort, so I don't recommend that (too late...). You'll have to read the release no

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
oblem in this version. thanks. --- On Sun, 9/7/08, Struts Two <[EMAIL PROTECTED]> wrote: From: Struts Two <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Sunday, Sept

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Struts Two
Sent: Sunday, September 7, 2008 4:45:07 PM Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") Hi, thanks for your reply. I am using this version : struts-2.0.11.2. I will try the version 2.1.2 and i hope it will work. I will let you know. In t

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
ROTECTED]> wrote: From: Struts Two <[EMAIL PROTECTED]> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") To: "Struts Users Mailing List" Date: Sunday, September 7, 2008, 8:21 AM What version of Struts are you using? If you are u

Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Struts Two
. - Original Message From: Bobby Mitch <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Sunday, September 7, 2008 6:17:45 AM Subject: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file") Hi, I am using JBoss RC 1 and Struts 2 and I am facing a proble

JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")

2008-09-07 Thread Bobby Mitch
Hi, I am using JBoss RC 1 and Struts 2 and I am facing a problem when trying to use an XML validation file. The error message i get is : Code: java.lang.IllegalArgumentException: URI scheme is not "file" at java.io.File.(Unknown Source) at com.opensymphony.xwork2.validator.ValidatorFactory.parse

Re: Javascript validation error

2008-07-15 Thread Lukasz Lenart
It should be rendered just before your validations, it's called Static JavaScript [1], check if you has it. [1] http://struts.apache.org/1.3.8/struts-taglib/tagreference.html#html:javascript Regards -- Lukasz http://www.lenart.org.pl/ --

Javascript validation error

2008-07-15 Thread Dimitris Mouchritsas
Hi all, I'm trying to use javascript validation with validator, as well as server side validation. Server side validation works just great. But when I try to use client side validation I get a validateRequired not found error. This is my jsp: and this is the result produced f

Re: not working after validation error

2008-06-05 Thread Laurie Harper
StrutsUser wrote: Hi, I am having a situation where the tag does not work. I am doing some client side validation using javascript and server side valdiations in the 'validate()' method of my action class. When client side validation fails and I click the reset button, the data gets cleared. B

  1   2   >