Listbox Validation in struts

2004-10-06 Thread Priya Jotwani
Hi, I have a JSP Page where I have a multiple selection Listbox. When the user submits the page, there should be some values in this listbox. How do I make the validations for the same in validator.xml ? I have done similar thing for dropdown by the following entry in validator.xml

Validation in Struts for Required fields

2004-10-05 Thread Priya Jotwani
Hi , I have a JSP Page where I have two dropdowns displaying default values. Before submitting that page, the user should select something from these two dropdowns and if he doesn't selects, there should be an error message displayed on the top saying "This field is required". This is what I a

RE: Error Handling in Struts

2004-09-29 Thread Priya Jotwani
t: Re: Error Handling in Struts How u r getting the error message.. urself has done something for it.. is that error message u r getting is a javascript alert?? or u r getting that frm application.properties file??? i mean java side??? On Wed, 29 Sep 2004 18:55:19 +0530, Priya Jotwani <[EMAIL P

Error Handling in Struts

2004-09-29 Thread Priya Jotwani
Hi, I have a JSP Page which has two dropdown fields. If the user selects something from first dropdown and doesn't selects anything from the second dropdown, it displays me an error message saying "This field is required". But now I have a scenario wherein, on selecting a particular value from

RE: Action Form variable null in Action Class

2004-09-25 Thread Priya Jotwani
of dropdown. Or else you should have the dropdown named subAction. Then only it would initialize the property. -Original Message- From: Priya Jotwani [mailto:[EMAIL PROTECTED] Sent: Sat 9/25/2004 2:23 PM To: Struts Users Mailing List Subject: Action Form variable null in Action Class

Action Form variable null in Action Class

2004-09-25 Thread Priya Jotwani
Hi, I have a dropdown in my JSP page along with a hidden variable . I select something from the dropdown and Submit the form. In my Action Class, when I try to access the hidden variable value as below : ClientReportingForm myForm = (ClientReportingForm) form; strSubAction = myForm.getSubA

RE: Error Message

2004-09-24 Thread Priya Jotwani
Hi , But I have set validate='false' in my Struts-config.xml. The input attribute is only reqd when its 'true'. Right ?? Am I missing on something else ? -Original Message- From: Jitender K Chukkavenkata [mailto:[EMAIL PROTECTED] Sent: Friday, September 24, 2004 4:14 PM To: Struts Users

Error Message

2004-09-24 Thread Priya Jotwani
Hi, I am getting the following error message. What could be the reason ? "No input attribute for mapping path /ReportAttribute " TIA, Priya

html:select in Struts

2004-09-19 Thread Priya Jotwani
Hi Guys, I have a JSP Page with two select boxes. When I write the Usual HTML code for the two DropDown, everything seems to be in place. But as soon as I replace and with and tags, I cannot see any dropdown kinda thing and also, the options come as normal labels in the same line.I have imp

Validation in Struts

2004-09-18 Thread Priya Jotwani
Hi, I have a page where a user should select something from the dropdown before clicking on Submit. If he doesn't selects anything, an errorMessage should get displayed on the same page saying ' Please select an option ' How can I do such validations in Struts. Thanks in Advance, Priya

RE: Problem going to my Next JSP by Href tag

2004-09-16 Thread Priya Jotwani
ward action . Use of either of them would solve your problem. sachin xoriant, mumbai -Original Message- From: Priya Jotwani [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 8:39 PM To: Struts Users Mailing List Subject: RE: Problem going to my Next JSP by Href tag Thanks for t

RE: Problem going to my Next JSP by Href tag

2004-09-16 Thread Priya Jotwani
erver/application, you should put the complete url (http://MyServerName:8080/MyJSPPAge.jsp) Bj Priya Jotwani a écrit : > Hi, > > > > I want to build my application on existing Struts code. I have a main > page where I just want to include a hyperlink. Clicking on the hyperlink >

Problem going to my Next JSP by Href tag

2004-09-16 Thread Priya Jotwani
Hi, I want to build my application on existing Struts code. I have a main page where I just want to include a hyperlink. Clicking on the hyperlink should take me to one JSP Page (but since the data fetching logic is still under process, its only the HTML content in MYJSPPage) But this doesn't

RE: html:options Help

2004-09-16 Thread Priya Jotwani
Subject: RE: html:options Help Here is sample usage for Country drop down. Where countryId is property on you form, countryOptions is bean name which holds collection of objects of class country with properties id and name. HTH -Amar -Original Message- From: Priya Jotwani

RE: html:options Help

2004-09-16 Thread Priya Jotwani
I have seen the Struts Documentation for the same but couldn't really gather much !! Can someone give me an example of using TIA, Priya -Original Message- From: Priya Jotwani Sent: Wednesday, September 15, 2004 8:27 PM To: [EMAIL PROTECTED] Subject: html:options Help Can somebody

html:options Help

2004-09-15 Thread Priya Jotwani
Can somebody give me an example of how to use for populating my Listbox with the values returned by getFundlist() of my ActionForm ? TIA, Priya