Aw: Re: Validation problem

2025-05-12 Thread Ute Kaiser
esign my error messages. Best regards Ute > Gesendet: Dienstag, 6. Mai 2025 um 10:55 > Von: "Lukasz Lenart" > An: "Struts Users Mailing List" > Betreff: Re: Validation problem > > > Not sure if I understood your issue, did you try to use escape ch

Re: Validation problem

2025-05-06 Thread shankar sawate
Do you have a new implementation of the Dojo DateTimePicker? If so, please share how to implement it, as the old one is deprecated On Tue, 6 May, 2025, 2:27 pm Lukasz Lenart, wrote: > śr., 30 kwi 2025 o 19:47 Ute Kaiser napisał(a): > > > > Hi, > > I tried according to > > https://struts.apache.

Re: Validation problem

2025-05-06 Thread Lukasz Lenart
śr., 30 kwi 2025 o 19:47 Ute Kaiser napisał(a): > > Hi, > I tried according to > https://struts.apache.org/core-developers/validation > Customizing validation messages > XML > > This is the example from above: > > > > getText('username.field.name') > > > >

Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 18:25 GMT+01:00 Yaragalla Muralidhar : > Thank you Lukasz. I have rectified all the mistakes that u listed. > Validations are working. I also have done some simple mistakes. I have > rectified all the mistakes. Everything is working fine now. Thanks to all > of you. Great to hear that!

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
Thank you Lukasz. I have rectified all the mistakes that u listed. Validations are working. I also have done some simple mistakes. I have rectified all the mistakes. Everything is working fine now. Thanks to all of you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 15:19 GMT+01:00 Lukasz Lenart : > 2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar : >> Hi Sreekanth, >> I think i cannot send attachements to the mailing list so i have >> uploaded the project to my drive and sharing the link >> >> https://drive.google.com/file/d/0B59LVhKQaKQYamZqbn

Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 15:19 GMT+01:00 Lukasz Lenart : > 2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar : >> Hi Sreekanth, >> I think i cannot send attachements to the mailing list so i have >> uploaded the project to my drive and sharing the link >> >> https://drive.google.com/file/d/0B59LVhKQaKQYamZqbn

Re: validation problem

2014-12-26 Thread Lukasz Lenart
2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar : > Hi Sreekanth, > I think i cannot send attachements to the mailing list so i have > uploaded the project to my drive and sharing the link > > https://drive.google.com/file/d/0B59LVhKQaKQYamZqbnc4NGtOQm8/view?usp=sharing Can you pack all the f

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
I will do that. Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Fri, Dec 26, 2014 at 3:14 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > There is nothing about sorry, i guess your action package

Re: validation problem

2014-12-26 Thread Sreekanth S. Nair
There is nothing about sorry, i guess your action package structure or something is wrong, i recommend you to run the sample war i have attached in tomcat 7 and see the result (make sure to include strust2 latest lib to its WEB-INF/lib). Try adding your action class one by one to that sample and tr

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
Hi Sreekanth, sorry to say this. I tried everything stated in the example that u gave. but it did not work for me. I am doing something wrong but could not find out what. Thank u for all your help. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
Ok let me try and will get back to you... On Fri, Dec 26, 2014 at 11:26 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi Sreekanth, > I think i cannot send attachements to the mailing list so i have > uploaded the project to my drive and sharing the link > > > https://drive

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
Hi Sreekanth, I think i cannot send attachements to the mailing list so i have uploaded the project to my drive and sharing the link https://drive.google.com/file/d/0B59LVhKQaKQYamZqbnc4NGtOQm8/view?usp=sharing i am using tomcat 7. *Thanks and Regards,* Muralidhar Yaragalla. *http://yara

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
Can you share a sample project which is not working, and just let me know which server you are trying..? -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation Ph : 9980078913 -

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
Hi sreekanth, I have changed the names as u suggested but it did not work. i have read the link u posted and i did everything that the link says. i have debugged as well. it is not throwing any error. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
As Dave said, kindly show some patience. First of validation is nothing to do with theme so just leave the theme alone. 1) Can you try renaming the action class name from SampleRegOne to SampleRegOneAction and same in struts.xml 2) If you give action alias name like below, as far as i underst

Re: validation problem

2014-12-25 Thread Dave Newton
Unrelated to the technical issue: bear in mind the mailing list is a volunteer-"staffed" resource. Nobody is deliberately delaying a response. We already know you need help. In the US, at least, it's a fairly major holiday, and people are doing things besides trying to reproduce your environment an

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
kindly help me solve this issue *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 8:02 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > my struts config.xml is as below.kindly help me in solving this

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
my struts config.xml is as below.kindly help me in solving this. http://struts.apache.org/dtds/struts-2.3.dtd";> /error.jsp /sampleReg/jsp/sampleRegTemplate.j

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
The following is my action class package com.zedlabs.samplereg.action; import java.util.HashMap; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.zedlabs.action.ZedActionSupport; import com.zedlabs.samplereg.dto.PDDto; import

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
I have changed the theme to css_xhtml so it should display right? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 6:28 PM, Dave Newton wrote: > Then you're doing something else wrong; never mind. > > You stil

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
if the validation works then i can think about messages *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 6:30 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I have changed the theme to css_xhtml

Re: validation problem

2014-12-25 Thread Dave Newton
Then you're doing something else wrong; never mind. You still won't see the messages unless you display them manually. On Thu, Dec 25, 2014 at 6:56 AM, Yaragalla Muralidhar wrote: > in my case validations are not happenening . Even though validation fails > it is moving to succeess rather than i

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
in my case validations are not happenening . Even though validation fails it is moving to succeess rather than input jsp. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 6:15 PM, Dave Newton wrote: > Please rea

Re: validation problem

2014-12-25 Thread Dave Newton
Please read up on the themes. Nutshell: validation happens (this is trivially provable), validation message display does not. On Thu, Dec 25, 2014 at 6:41 AM, Yaragalla Muralidhar wrote: > is it because of the simple theam? In simple theam validations dont happen > is it? if i dont use simple th

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
is it because of the simple theam? In simple theam validations dont happen is it? if i dont use simple theme view components are generating their own decoration. Our custom alignment is going wrong. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: validation problem

2014-12-25 Thread Dave Newton
Simple theme is simpler than you think. On Dec 25, 2014 4:46 AM, "Yaragalla Muralidhar" wrote: > I am using struts2.3.20 and using simple theme. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ * > > On Thu, Dec 25, 2014 at 4:08 P

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
I am using struts2.3.20 and using simple theme. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Thu, Dec 25, 2014 at 4:08 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi i am having problem in turning on validation

Re: Validation Problem

2010-10-09 Thread Maurizio Cucchiara
It's a know bug. If your application doesn't run in a production environment you could download latest struts release from https://hudson.apache.org/hudson/view/Struts/job/struts2/ Maurizio Cucchiara 2010/10/9 Chris Miles : > Whenever the validation procedure returns to the "input" result, any >

Re: Validation problem when navigating through pages

2009-02-10 Thread Srikanth Goud
Sorry i have done blunder.There is no such issue Srikanth Srikanth Goud wrote: > > Hi, > >I was using default theme before.But to gain full control on UI part i > chaged to simple theme. >Know the problem is > I performed business logic in one the screen. If it is success than

Re: validation problem

2008-09-30 Thread Sébastien Domergue
Hi, if you use xml validation, you should use a validator like this one : mySelectBox 0 Please select a value As your default value is -1, the validator will only check if the value is not -1. For the rest of the values, there won't be any other check. If you use annotation va

Re: validation problem

2008-06-26 Thread Laurie Harper
nal Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, June 25, 2008 3:37:38 PM Subject: Re: validation problem Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On We

Re: validation problem

2008-06-25 Thread Lukasz Lenart
> I can implement custom validation using validate(), but I've around 30 > transactional forms with this type of requirements. Maybe it will be better if you implement your own validator for thoese 30 forms? I think it will be soft option then very compilcated expression above ;-) Regards -- Lu

Re: validation problem

2008-06-25 Thread ManiKanta G
ve Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Wednesday, June 25, 2008 3:37:38 PM Subject: Re: validation problem Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On Wed, 6/25/08, Dave N

Re: validation problem

2008-06-25 Thread Dave Newton
ECTED]> > To: Struts Users Mailing List > > Sent: Wednesday, June 25, 2008 3:37:38 PM > Subject: Re: validation problem > > Whoops, as the other reply said, it's the > tag [1], not . > > Dave > > [1] http://struts.apache.org/2.x/docs/fielderror.html > >

Re: validation problem

2008-06-25 Thread Lukasz Lenart
Hi, > How the validation should be done for fields which are only displayed in > certain conditions? If I do this through the XML file the validation is done > all the time even when the field is not visible. You can implement validate() or validate() and remember to implement Validatable inte

Re: validation problem

2008-06-25 Thread Istvan Kozma
Struts Users Mailing List Sent: Wednesday, June 25, 2008 3:37:38 PM Subject: Re: validation problem Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On Wed, 6/25/08, Dave Newton <[EMAIL PROTECTED]> wrote: >

Re: validation problem

2008-06-25 Thread Dave Newton
Whoops, as the other reply said, it's the tag [1], not . Dave [1] http://struts.apache.org/2.x/docs/fielderror.html --- On Wed, 6/25/08, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Wed, 6/25/08, Anshu Dhamija wrote: > > i am facing problem in performing validation through > > xml actually

Re: validation problem

2008-06-25 Thread ManiKanta G
Anshu Dhamija wrote: hi i am new to struts 2.i am facing problem in performing validation through xml actually i want to display message at the top of my form instaed of at field level can anyone please help me Hi, In struts2 there is a provision for handling the error messages by field

Re: validation problem

2008-06-25 Thread Dave Newton
--- On Wed, 6/25/08, Anshu Dhamija <[EMAIL PROTECTED]> wrote: > i am facing problem in performing validation through > xml actually i want to display message at the top of > my form instaed of at field level > can anyone please help me The validation messages are placed in the form by the S2 for

Re: validation problem

2008-05-12 Thread Laurie Harper
Anet wrote: Hi everybody; I have some tables on my page. each of them contains some of properties. for the first time, tables are hidden and will be displayed by this javascript code: function toggle(id){ var id = id; var table = document.getElementById(id); if(table.style.display=="none"

Re: Validation Problem

2007-12-11 Thread Arpan Debroy
Which validators you used for the two fields, which are getting validated rightly? I am facing similar situation that whenever you use "required" validator, it'll not work. So for the string field you have to use "requiredstring" validator. For number, specially which have "long" data type, I am no

Re: Validation Problem

2007-12-10 Thread ginu george
This are the two Fields get validated Field which are not getting Validated Ginu On Tue, 2007-12-11 at 11:30 +0530, Arpan Debroy wrote: > Which are the two fields are getting validated and which are not.. > > On Dec 11, 2007 10:17 AM, <[EMAIL PROTECTED]> wrote: > > > iam using

Re: Validation Problem

2007-12-10 Thread ginu
Hi Jerome, I have created a new thread. I never did reply to any e-mail when composing this email. However I did reply to a reply I could have got. This problem could have been caused by both the threads having the same subject. It is unintentional. Ginu. > [EMAIL PROTECTED] wrote: >>

Re: Validation Problem

2007-12-10 Thread Arpan Debroy
Which are the two fields are getting validated and which are not.. On Dec 11, 2007 10:17 AM, <[EMAIL PROTECTED]> wrote: > iam using struts2 iam getting a validation Problem > All the fields get Validated while using the get method for a particular > action while using the post method (using 5 Fi

Re: Validation Problem

2007-12-10 Thread Jeromy Evans
[EMAIL PROTECTED] wrote: Hi all iam using struts2 iam getting a validation Problem All the fields get Validated while using the get method for a particular action while using the post method only two fields get validated Ginu

Re: Validation Problem

2007-12-10 Thread ginu
iam using struts2 iam getting a validation Problem All the fields get Validated while using the get method for a particular action while using the post method (using 5 Fields)only two fields get validated In jsp in validation.xml

Re: Validation Problem

2007-12-09 Thread Arpan Debroy
Please put some more inputs. On Dec 8, 2007 12:40 PM, <[EMAIL PROTECTED]> wrote: > > > Hi all > > iam using struts2 iam getting a validation Problem > All the fields get Validated while using the get method for a particular > action while using the post method only two fields get validated > > Gi

RE: Validation problem - key not found?

2007-10-09 Thread Dean Pullen
I've tried adding a package.properties with the same key but nothing seems to help - I still seem to get the same exception. Anyone? -Original Message- From: Dean Pullen [mailto:[EMAIL PROTECTED] Sent: 09 October 2007 18:08 To: Struts Users Mailing List Subject: Validation problem - key

Re: Validation problem

2006-11-09 Thread Li
Hi, Niall, Problem solved. That's cuz I was trying to forward to another customized action. I had made this action as ForwardAction provided by Struts. It works now. Thanks. Sorry I was a bit rush writing the previously email so that forgot to put the version number. Regards Li On 11/10/06, Ni

Re: Validation problem

2006-11-09 Thread Niall Pemberton
Look at where you're directing the action to go to if an error occurs - i.e. what have you specified as you're "input" for the action in your struts-config.xml? It looks like the error occured after validation failed and when it tried to forward to whatever was specified in the "input" parameter.

RE: Validation Problem

2006-05-21 Thread Paul Benedict
Remember that your validation rules are written in XML, so you must follow XML rules: escape less-than signs, greater-than, and ampersand. If you don't like this, you can always wrap them in CDATA sections: --- Albrecht Leiprecht <[EMAIL PROTECTED]> wrote: > > >If fails, because the test l

RE: Validation Problem

2006-05-21 Thread Albrecht Leiprecht
>If fails, because the test line for validwhen is not wellformed, because of >this comparation >(*this* < 300) It works fine with a check for greaterThan, but it fails with the above lowerThan... >Any Idea how I could change it to make it work ?? >Rgds >Albi I changed this (*this* < 300) To

Re: Validation Problem

2006-03-28 Thread Thibaut
Hi i found the solution i was looking for : http://wiki.apache.org/struts/StrutsDeprecatedActionErrors Thank you for those who tried to help me. Thibaut Lassalle Thibaut a écrit : Hi I have all the time the same problem and there is a week i try to solve it. It should be trivial but i can

Re: Validation Problem

2006-03-23 Thread Thibaut
Dave Newton a écrit : Thibaut wrote: In the WEB-INF/user/struts-config.xml type="com.cvdunet.controller.action.UpdateResponsesForRequestAction" input="essai.html" Your input page is an HTML file? Yes it's just to test my "return mapping.getInputForw

Re: Validation Problem

2006-03-22 Thread Dave Newton
Thibaut wrote: > In the WEB-INF/user/struts-config.xml > > > type="com.cvdunet.controller.action.UpdateResponsesForRequestAction" > input="essai.html" Your input page is an HTML file? Dave - To

Re: Validation Problem

2006-03-22 Thread Thibaut
Hi I did what you tell me to do. Here is the simpliest thing that does'nt work : In the WEB-INF/user/struts-config.xml type="com.cvdunet.controller.action.UpdateResponsesForRequestAction" input="essai.html" name="candidateForm" scope

Re: Validation Problem

2006-03-22 Thread Rick Reumann
There are several things you can do to test. Your blank page has me wondering if you are really even getting to where you 'think' you are. The first thing you need to figure out is if what you think is happening is really happening. Debugging Struts stuff can be a pain I know:) I haven't seen

Re: Validation Problem

2006-03-22 Thread Thibaut
I use the libraries i found in the struts-mailreader app in the struts 1.2.8 zip file. But i still have commons-digester.jar 1.5 because my app use rss object ... Can it be the problem ? - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Validation Problem

2006-03-22 Thread Thibaut
Rick Reumann a écrit : Thibaut wrote the following on 3/22/2006 10:18 AM: I did but it still doesn't work ... still have the blank page instead. What do the error logs say? In my /usr/java/jakarta-tomcat-5.0.28/logs/localhost_log.2006-03-22.txt there are just informations but no error ...

Re: Validation Problem

2006-03-22 Thread Rick Reumann
Thibaut wrote the following on 3/22/2006 10:18 AM: I did but it still doesn't work ... still have the blank page instead. What do the error logs say? -- Rick http://www.learntechnology.net - To unsubscribe, e-mail: [EMAIL PRO

Re: Validation Problem

2006-03-22 Thread Mark Lowe
On 3/22/06, Thibaut <[EMAIL PROTECTED]> wrote: > I did but it still doesn't work ... still have the blank page instead. > > Did i do something wrong with actionMessages and actionErrors ? > Is it "" ? > Is it "errors.add(ActionMessages.GLOBAL_MESSAGE, error);" ? ActionErrors.GLOBAL_MESSAGE is inhe

Re: Validation Problem

2006-03-22 Thread Thibaut
I did but it still doesn't work ... still have the blank page instead. Did i do something wrong with actionMessages and actionErrors ? Is it "" ? Is it "errors.add(ActionMessages.GLOBAL_MESSAGE, error);" ? Vinit Sharma a écrit : If it is returning to a blank page then looks like your input is

Re: Validation Problem

2006-03-22 Thread Vinit Sharma
If it is returning to a blank page then looks like your input is wrong. Change input to: input="/missions_copyMailToBasket.jsp" I believe this page is in the same dir as of close.jsp and mycv.jsp Thanks, On 3/22/06, Thibaut <[EMAIL PROTECTED]> wrote: > > The problem is that if the validate(mapp

Re: Validation Problem

2006-03-22 Thread Thibaut
The problem is that if the validate(mapping,req) method return a not null errors object it goes on a blank page. None of the validations that work with Struts1.0 work with Struts1.2.8 ... I prefere to validate my form by putting the validate="true" in the struts-config.xml Thank you for your h

Re: Validation Problem

2006-03-22 Thread Mark Lowe
validate="true" just means that the validate(mapping,req) method will be called and forwarded back to the inputForward before you get to the action. But as you call it in the action this shouldn't matter.. Are things going wrong in the validate method (i.e. does errors.size() return zero even when

Re: Validation Problem

2006-03-22 Thread Thibaut
Thank you for your quick reply ! I really don't know what is the difference between what i do and the "struts-mailreader" exemple I already did what you write here. In fact it was the first think i did. I have this problem for *all my actions* in my app. So the code is :

RE: Validation Problem

2006-03-22 Thread hermod.opstvedt
Hi Howecome you have validate="false"? If you want validation, then set it to true Hermod -Original Message- From: Thibaut [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 11:41 AM To: user@struts.apache.org Subject: Validation Problem Hi I have all the time the same problem

Re: Validation Problem - very urgent please reply

2006-01-10 Thread Raghu Kanchustambham
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. On failure of validation, you should redirect it to the "preparation" action class for the form that solicits information for you - the action

Re: Validation Problem - very urgent please reply

2006-01-10 Thread Vishal Gaurav
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 b

RE: Validation Problem - very urgent please reply

2006-01-10 Thread Meenakshi Singh
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 form.v

RE: Validation Problem - very urgent please reply

2006-01-10 Thread Peter . Zoche
I had the same problem, and besides setting the form to session scope you could do the following: Instead of storing your list of languages in an ArrayList, store them in an array of Strings. Then on your jsp you should be able to iterate over this list and sent all languages via the html:hidden ta

Re: Validation problem

2005-07-12 Thread Rick Reumann
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 mana

Re: Validation problem

2005-07-12 Thread Borislav Sabev
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

Re: Validation problem

2005-07-12 Thread Borislav Sabev
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 con

Re: Validation problem

2005-07-11 Thread Rafael Taboada
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

Re: Validation problem

2005-07-11 Thread Michael Jouravlev
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: > pu

Re: Validation problem

2005-07-11 Thread Rick Reumann
Rafael Taboada wrote the following on 7/11/2005 5:55 PM: 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: publi

Re: Validation problem

2005-07-11 Thread Rafael Taboada
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, ActionFo

Re: Validation problem

2005-07-11 Thread Rick Reumann
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 inten

Re: Validation problem

2005-07-11 Thread Rafael Taboada
Michael, it didn't work.. My ActionMapping is: My ActionForm is: public class ColorForm extends ValidatorForm { private String strFiltroDescripcion; private List lstResultado; private String idColor; private String strDescripcion; private String[] chkColores; ... // Each attribute has its get

Re: Validation problem

2005-07-11 Thread erikweber
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,

Re: Validation problem

2005-07-11 Thread Michael Jouravlev
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. >

RE: Validation Problem with depends=URL

2005-05-04 Thread Benedict, Paul C
I hope Validator 1.1.5 comes out soon then! -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 3:53 PM To: Struts Users Mailing List Subject: Re: Validation Problem with depends=URL No, it needs to be fixed in Validator and Validator to be

Re: Validation Problem with depends=URL

2005-05-04 Thread Niall Pemberton
: "'Struts Users Mailing List'" Sent: Wednesday, May 04, 2005 8:15 PM Subject: RE: Validation Problem with depends=URL Will this be in 1.2.7? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 3:13 PM To: Struts Users

RE: Validation Problem with depends=URL

2005-05-04 Thread Benedict, Paul C
Will this be in 1.2.7? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 3:13 PM To: Struts Users Mailing List Subject: Re: Validation Problem with depends=URL This is a bug in validator: http://issues.apache.org/bugzilla/show_bug.cgi?id

Re: Validation Problem with depends=URL

2005-05-04 Thread Niall Pemberton
This is a bug in validator: http://issues.apache.org/bugzilla/show_bug.cgi?id=30686 Niall - Original Message - From: "Günther Wieser" <[EMAIL PROTECTED]> Sent: Wednesday, May 04, 2005 7:46 PM as franck is in my team, i can answer this question on behalf of franck. i think there went

RE: Validation Problem with depends=URL

2005-05-04 Thread =?iso-8859-1?Q?G=FCnther_Wieser?=
Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 4:35 PM To: Struts Users Mailing List Subject: Re: Validation Problem with depends=URL Franck Wiegner wrote: >

Re: Validation Problem with depends=URL

2005-05-04 Thread Dave Newton
Franck Wiegner wrote: invalid url I also get an error-msg, still okay. but when I enter a valid url (example: http://www.myurl.com) I also get the message that this is an invalid url, which is not okay, cause as long as I am not able to enter valid urls my form bean will ne

Re: Validation problem - for a form with multiple names

2005-01-20 Thread Matt Bathje
Manisha Sathe wrote: I have a form whose fields are from an dynamic customer array. I display Customer name and giving i/p field for Amount to enter. The JSP might contain 2-3 text fields called amt against different customers (I am identifying it with IDs) My form bean is something like this

Re: Validation problem - form still submits after client-side validation fails.

2004-09-21 Thread James Mitchell
-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, September 20, 2004 5:42 PM Subject: Re: Validation p

RE: Validation problem - form still submits after client-side validation fails.

2004-09-20 Thread David G. Friedman
Brian, To answer your question: > Both the client-side and the server-side validation > are executing instead of just the client-side. Set your action in struts-config.xml to validate="false". Your html:javascript will still work for the client-side validation but NOTHING will be done on the ser

Re: Validation problem - form still submits after client-side validat ion fails.

2004-09-20 Thread Hubert Rabago
I could be wrong, and i don't have the time to verify this with code right now, but it's possible that the reason the form still gets submitted is because you're calling form.submit() directly. That might be bypassing the onsubmit="return validateMyForm(this)". You *do* have that, right? I don't

Re: Validation problem - form still submits after client-side validat ion fails.

2004-09-20 Thread bmf5
If I'm understanding your scenario correctly your onclick needs to call a function that will call the submit() on the form only if the validation passes. "Barnett, Brian W." <[EMAIL PROTECTED]> wrote on 09/20/2004 04:51:55 PM: > Both the client-side and the server-side validation are executi

Re: Validation problem

2004-05-18 Thread None None
ez <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Validation problem Date: Tue, 18 May 2004 17:43:16 +0200 Try: - Original Message - From: "

Re: Validation problem

2004-05-18 Thread None None
... From: Iván Rodríguez <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Validation problem Date: Tue, 18 May 2004 17:43:16 +0200 Try: -

Re: Validation problem

2004-05-18 Thread Iván Rodríguez
Try: - Original Message - From: "None None" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 18, 2004 5:32 PM Subject: Validation problem > Hello again... I'm playing with validation for the first time, and I got it > almost working completely, one