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

2008-11-13 Thread Arpan Debroy
t; style an input. I'm not seeing this "red border" either... does anyone >> recall which theme provides this? >> >> Thanks, >> -Adam >> > > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additiona

Re: How to recover the action's name executed [SOLVED]

2008-11-03 Thread Arpan Debroy
When you say it works then you should say how you did that. Because others may be looking for the solution for your problem. On Wed, Oct 29, 2008 at 9:39 PM, Juanjo Cuadrado <[EMAIL PROTECTED]>wrote: > It works!!! > > Thanks. > > 2008/10/29 hernan gonzalez <[EMAIL PROTECTED]> > > > I wrote "vali

Re: How to skip validation for a particular button

2008-05-19 Thread Arpan Debroy
he real method name in the > action's class) > > or you can use @SkipValidation annotation for particular method; > > > Regards > -- > Lukasz > -- Thanks & Regards Arpan Debroy AOL Online India Private Ltd RMZ EcoSpace Campus 1A Outer Ring Road, Bellandur, Bangalore - 560037 India Mobile No :+9886006306 on-board :+91 (80) 4035 4528 E-mail : [EMAIL PROTECTED]

How to skip validation for a particular button

2008-05-19 Thread Arpan Debroy
Hi All, I have 4 buttons in one page and I have written one validaton xml file like this :- action_class - validation.xml But for one specific button I want to skip validation process. Is there anybody know how to do that. Thanks Arpan

Re: How to change automatic type conversion error message

2008-05-17 Thread Arpan Debroy
ot;invalid.fieldvalue." to do custom > type conversion error. > > Arpan Debroy wrote: > >> In my application "id" attribute is int type of "Group" bean. >> >> In my JSP I have written like that :- >> >> >> >> Now if user puts

How to change automatic type conversion error message

2008-05-15 Thread Arpan Debroy
In my application "id" attribute is int type of "Group" bean. In my JSP I have written like that :- Now if user puts a string into this text field, then error message come like that *invalid value for the field group.id But I want to show the error message with only "id" not "group.id". Is

Re: problem

2008-05-12 Thread Arpan Debroy
Is there anybody can tell me where it's wrong in my code.. Anybody knows how to show the result list, coming from database operation, in the drop down box of JSP directly. Any example will be better. On Fri, May 9, 2008 at 6:02 PM, Arpan Debroy <[EMAIL PROTECTED]> wrote: > Hi Laur

Re: problem

2008-05-09 Thread Arpan Debroy
d to write setters and getters for "id" and "name" fields in Action class. I did that too.But nothing effects. How you would like to do that? On Thu, May 8, 2008 at 9:24 PM, Laurie Harper <[EMAIL PROTECTED]> wrote: > Arpan Debroy wrote: > >> I have a JPA query

Re: problem

2008-05-08 Thread Arpan Debroy
; [EMAIL PROTECTED]> wrote: > On Wed, May 7, 2008 at 6:10 PM, Arpan Debroy <[EMAIL PROTECTED]> > wrote: > > > > > But nothing is displaying in my drop down box when I put listkey and > > listvalue. > > > > If it's working without using listKey and l

problem

2008-05-07 Thread Arpan Debroy
I have a JPA query like that Query query = em.createQuery("*SELECT c.name, c.id FROM Group c ORDER BY c.name*"); List resultList = query.getResultList(); In Action class I have *resultList *and *GroupId *declared with getter and setters private List resultList ; private long GroupId; In

Capturing the TransferObjectSelect object

2008-05-07 Thread Arpan Debroy
Hi, Can anyone successfully implemented "optiontransferselet" tag. Suppose I want to capture the RightSideDropDown box in action class. How can I capture that in action class.Is it will be a collection field or array or something else... Thanks

Re: Migrating data from one select box to other.

2008-04-15 Thread Arpan Debroy
Thanks Ryan, My purpose is done. There are lot of options to change the label of the buttons and to remove them from the page also. On Tue, Apr 15, 2008 at 12:55 PM, Arpan Debroy <[EMAIL PROTECTED]> wrote: > Hi Ryan, > Thats lovely.. :) > But I don't want so many button

Re: Migrating data from one select box to other.

2008-04-15 Thread Arpan Debroy
gt; http://struts.apache.org/2.0.11/docs/optiontransferselect.html > > http://www.roseindia.net/struts/struts2/struts2uitags/optiontransferselect-tag.shtml > > Cheers! > Ryan > > > On Tue, Apr 15, 2008 at 1:54 AM, Arpan Debroy <[EMAIL PROTECTED]> > wrote: > > > I have two

Migrating data from one select box to other.

2008-04-14 Thread Arpan Debroy
ct2" box. And the "remove" button will do the opposite. Can anyone please tell me how to do that in struts2 or how to write the javascript for that. -- Thanks & Regards Arpan Debroy

Re: how to pass object through request parameter

2008-03-05 Thread Arpan Debroy
Wed, Mar 5, 2008 at 8:24 AM, Arpan Debroy <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > Instead of sending string name and values, I want to send the whole > object, > > which comprises of some fields, from one jsp to another one. > > I am using struts2. &

how to pass object through request parameter

2008-03-04 Thread Arpan Debroy
Hi, Instead of sending string name and values, I want to send the whole object, which comprises of some fields, from one jsp to another one. I am using struts2. Can anyone tell me if it's possible to pass an object rather than strings through request object. Thanks

Re: using disabled attributes in tag

2008-02-11 Thread Arpan Debroy
In IE browser read only buttons are not grayed up. Have anybody faced this? On Feb 9, 2008 1:03 PM, Arpan Debroy <[EMAIL PROTECTED]> wrote: > I have a problem in Internet Explorer. The disabled elements are not > grayed up. > Have anybody faced the similar situation. > > >

Re: java.lang.NoClassDefFoundError for beanutils converter

2008-02-10 Thread Arpan Debroy
I guess you can try to add "commons-beanutils-core.jar" file and check again.. On Feb 9, 2008 4:40 PM, hardc0d3r <[EMAIL PROTECTED]> wrote: > > antlr.jar > commons-beanutils.jar > commons-digester.jar > commons-fileupload.jar > commons-logging.jar > commons-validator.jar > jakarta-oro.jar > jstl.

Re: java.lang.NoClassDefFoundError for beanutils converter

2008-02-08 Thread Arpan Debroy
Can you share what are the jar files you have in your lib folder. On Feb 9, 2008 11:06 AM, hardc0d3r <[EMAIL PROTECTED]> wrote: > > i get an error every time i acces a page that basically, registers a user > (insert to the database) but it still inserts the data in the database.. > here is the er

Re: using disabled attributes in tag

2008-02-08 Thread Arpan Debroy
I have a problem in Internet Explorer. The disabled elements are not grayed up. Have anybody faced the similar situation. On Feb 8, 2008 7:46 PM, Okan Özeren <[EMAIL PROTECTED]> wrote: > Hi, > > This is a bug for old version of strust 2, but fixed on 2.0.8 version. > > You should create a solutio

Re: Required validator dosen't work

2008-01-07 Thread Arpan Debroy
But when type conversion error will be occurred, I want to display my custom error message instead of the auto generated one. So how to do that. On Dec 14, 2007 11:18 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Arpan Debroy <[EMAIL PROTECTED]> wrote: > > Using 'L

Re: struts2: interceptor - validation doesn't work :-(

2008-01-04 Thread Arpan Debroy
3p14607863.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks & Regards Arpan Debroy AOL Online India Private Ltd RMZ EcoSpace Campus 1A Outer Ring Road, Bellandur, Bangalore - 560037 India Mobile No :+9886006306 on-board :+91 (80) 4035 4528 E-mail : [EMAIL PROTECTED]

Re: [S2] how to get the value of form select

2008-01-04 Thread Arpan Debroy
essage in context: > http://www.nabble.com/-S2--how-to-get-the-value-of-form-select-tp14613273p14613273.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------- > To unsubscribe, e-mail: [EMAIL P

Re: Struts 2.0.9 server side validation problem

2007-12-20 Thread Arpan Debroy
at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks & Regards Arpan Debroy AOL Online India Private Ltd RMZ EcoSpace Campus 1A Outer Ring Road, Bellandur, Bangalore - 560037 India Mobile No :+9886006306 on-board :+91 (80) 4035 4528 E-mail : [EMAIL PROTECTED]

Re: Required validator dosen't work

2007-12-14 Thread Arpan Debroy
o required can never fail. In that case, you need to > specify range constraints in your validation, or switch to using the > wrapper type instead of primitives. > > L. > > Arpan Debroy wrote: > > Yeah..I am using numbers only.The "required" validator not working

Re: Validation Problem

2007-12-11 Thread Arpan Debroy
.postingApplicationDate" > required="true" cssClass="text medium" /> > > Field which are not getting Validated > > > cssClass="text medium" /> > required="true" cssClass="text medium" /> > required="t

Re: Validation Problem

2007-12-10 Thread Arpan Debroy
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 met

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
Right, if my text box is empty, I am getting back 0 allways. Have u any idea, how to validate empty "long" data type value. On Dec 11, 2007 12:51 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Arpan Debroy <[EMAIL PROTECTED]> wrote: > > So that means there is no

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
So that means there is now way I can check if a text box, which takes the datatype "long", have any null value. On Dec 10, 2007 11:40 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Arpan Debroy <[EMAIL PROTECTED]> wrote: > > Then when you will use "

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
er. Use > requiredstring for String based field. > > -----Original Message- > From: Arpan Debroy [mailto:[EMAIL PROTECTED] > Sent: Monday, December 10, 2007 11:00 AM > To: Struts Users Mailing List > Subject: Re: Required validator dosen't work > > Yeah, > I am usin

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
ull. > > This is almost never what you want, as an empty text box will still send > back > an empty string, not null. > > d. > > --- Arpan Debroy <[EMAIL PROTECTED]> wrote: > > > Yeah, > > I am using following - > > > > > > Other va

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
Yeah, I am using following - Other validators are working. Anyway have anyone ever used "required" validator or can you use it now once to test. Thanks On Dec 10, 2007 5:26 PM, Simon Berger <[EMAIL PROTECTED]> wrote: > Do you have the Validation Interceptor on your Stac

Re: Validation Problem

2007-12-09 Thread Arpan Debroy
ly two fields get validated > > Ginu > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks & Regards Arpan Debroy AOL Online India Privat

Re: Required validator dosen't work

2007-12-09 Thread Arpan Debroy
used "required" validator. > > What data type are you attempting to validate? > > d. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >

Re: Required validator dosen't work

2007-12-07 Thread Arpan Debroy
h that interceptor, validation failures will > >> trigger an "INPUT" response type and your action's execute will not get > >> called). > >> > >> If that's not it, post some more detail about how you're using it. > >> > >> - Gary > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks & Regards Arpan Debroy AOL Online India Private Ltd RMZ EcoSpace Campus 1A Outer Ring Road, Bellandur, Bangalore - 560037 India Mobile No :+9886006306 on-board :+91 (80) 4035 4528 E-mail : [EMAIL PROTECTED]