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

2008-11-13 Thread Arpan Debroy
- 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

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 validate

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 skip validation for a particular button

2008-05-19 Thread Arpan Debroy
-- 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]

Re: How to change automatic type conversion error message

2008-05-17 Thread Arpan Debroy
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 :- s:textfield name=group.id value=%{group.id}/ Now if user puts a string into this text field, then error message come like that *invalid value

How to change automatic type conversion error message

2008-05-16 Thread Arpan Debroy
In my application id attribute is int type of Group bean. In my JSP I have written like that :- s:textfield name=group.id value=%{group.id}/ 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

Re: s:select 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 Laurie, My JPA query

Re: s:select problem

2008-05-09 Thread Arpan Debroy
=namevalue=%{groupId} / Nothing is being displayed!!...* Do I need 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

Re: s:select problem

2008-05-08 Thread Arpan Debroy
] 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 listValue, then make sure you have defined getters and setters for id and name attributes

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

s:select 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

Migrating data from one select box to other.

2008-04-15 Thread Arpan Debroy
and Remove. So when user select one element of select1 and click Add button, the element should migrate to the select2 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: Migrating data from one select box to other.

2008-04-15 Thread Arpan Debroy
://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 select box. Suppose the initial values of the select boxes are as follow :- s:select name = select1 list

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 buttons. I need only two button

Re: how to pass object through request parameter

2008-03-05 Thread Arpan Debroy
request object. Thanks - 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

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 s:submit 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. On Feb 8, 2008 7:46 PM, Okan

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.jar

Re: using disabled attributes in s:submit 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 solution with

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 error:

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 'Long' is the correct way to get

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

2008-01-04 Thread Arpan Debroy
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

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

2008-01-04 Thread Arpan Debroy
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

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

Re: Required validator dosen't work

2007-12-14 Thread Arpan Debroy
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 for numbers also. If you want you can test it quickly. On Dec 10, 2007 11:01 PM, Jiang, Jane (NIH/NCI) [C] [EMAIL PROTECTED

Re: Validation Problem

2007-12-11 Thread Arpan Debroy
/ s:textfield key=externalPosting.billReferenceNumber required=true cssClass=text medium / 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 struts2

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
Interceptor on your Stack? Arpan Debroy schrieb: I want to validate - 1) The text box should have some value(required validator doesn't show any error message even if it's empty).. 2) The text box must have any numerical(I am using long data type) value. I have no clue how to do it for long

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
, 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 - interceptor-ref name=validationWorkflowStack/ Other validators are working. Anyway have anyone ever used required validator or can you use

Re: Required validator dosen't work

2007-12-10 Thread Arpan Debroy
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 using following - interceptor-ref name=validationWorkflowStack/ Other validators

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 required validator. What's its use? Anything that can

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 now way I can check if a text box, which

Re: Validation Problem

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

Re: Required validator dosen't work

2007-12-09 Thread Arpan Debroy
. - 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

Re: Validation Problem

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

Re: Required validator dosen't work

2007-12-07 Thread Arpan Debroy
] - 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