RE: Cannot find bean error in any scope

2003-08-02 Thread Swaroop George
Why don't u use html:errors instead?? Just give -Original Message- From: Altug B. Altintas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:07 PM To: 'Struts Users Mailing List' Subject: RE: Cannot find bean error in any scope Strange ! Now i have got no custom validation

RE: Struts Action in Welcome File List

2003-07-29 Thread Swaroop George
I got this problem sometime back.. But apparently it was a problem with one of the html tags- it wasn't properly closed. To detect it what I did was to Get a view Source on the blank page. Saved it as a .XML file. Opened the XML file in the browser. It showed exactly where the tag wasn't closed..

Problem with nested:select

2003-07-29 Thread Swaroop George
Hi all, I have a problem with nested:select. I have a drop down which is always disabled. Now based on the value of some other dropdown I am marking one of the options of this dropdown as selected. I am using Javascript for this. Now my problem is that once the form gets submitted the bean(which

RE: drop-down list help

2003-07-23 Thread Swaroop George
Oops sorry.. Sriram.. since the problem is with LabelValueBean use the separate bean which u have created -Original Message- From: Swaroop George Sent: Wednesday, July 23, 2003 5:01 PM To: Struts Users Mailing List Subject: RE: drop-down list help Sriram, Did u remove the try

RE: drop-down list help

2003-07-23 Thread Swaroop George
, "1001")); //countries.add(new LabelValueBean("India", "1003")); return countries; } How to get data into this if I don't use LabelValueBean. What have you used? Can you post your code for DropDownCollections.java please? Sriram -Original Message- From:

RE: drop-down list help

2003-07-23 Thread Swaroop George
OR [Engine] ApplicationDispatcher[/mobilemail_1_0] Servlet.servi ce() for servlet jsp threw exception org.apache.jasper.JasperException: Cannot create iterator for [EMAIL PROTECTED] Probably I need to use instead of Sriram -Original Message- From: Swaroop George [mailto:[EMAIL PROTECTED]

RE: drop-down list help

2003-07-23 Thread Swaroop George
erty count ries of bean dropdown Step 1 and Step2 statements are printed on the console but Step 3 is not printed. So, there's something wrong in Sriram -Original Message- From: Swaroop George [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 2:49 PM To: Struts Users Mail

RE: drop-down list help

2003-07-23 Thread Swaroop George
ex.printStackTrace(); } return countries; } But nothing is printed on app. server console except for the exception that I've mentioned before. Sriram -Original Message- From: Swaroop George [mailto:[EMAIL PROTECTED] Sent: Wedne

RE: drop-down list help

2003-07-23 Thread Swaroop George
ntries.add(new LabelValueBean("India", "1003")); } catch (Exception ex) { ex.printStackTrace(); } return countries; } public void setCountries(Collection options) { // No op, here to satisfy bean-ness. } } Any possible solution? Please inform. Sriram -Original Message- From

RE: drop-down list help

2003-07-23 Thread Swaroop George
); } catch (Exception ex) { ex.printStackTrace(); } return countries; } public void setCountries(Collection options) { // No op, here to satisfy bean-ness. } } Any

RE: drop-down list help

2003-07-22 Thread Swaroop George
). Sriram -Original Message- From: Swaroop George [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 6:36 PM To: Struts Users Mailing List Subject: RE: drop-down list help Hi this is a part of the page I developed.. (Ofcourse a commercial application

RE: drop-down list help

2003-07-22 Thread Swaroop George
k Col [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 7:07 PM To: Struts Users Mailing List Subject: RE: drop-down list help Hi, Swaroop: I have a question about your implementation, do we still need to implement an actionForm class for the following drop down list? regards, --- Sw

RE: drop-down list help

2003-07-22 Thread Swaroop George
Hi this is a part of the page I developed.. (Ofcourse a commercial application..) I have a class called DropDownCollections.java Now in the class I have a method getMonths() which will return me a collection of months.. I am using the months collection to populate the options.. Yo

RE: error..!

2003-07-21 Thread Swaroop George
Although u have listed down the errors its not clear what exactly you want to do.. I assume that u want to iterate over a collection of departments and print the name of the department. So here it goes mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 4:42 PM To: [EMAIL PROTECTED] Subject: e

RE: in a

2003-07-21 Thread Swaroop George
Yes Alex's argument seems to be valid. I almost forgot about that.. Sorry.. -Original Message- From: Alex Shneyderman [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 4:27 PM To: 'Struts Users Mailing List' Subject: RE: in a This is not a well formed XML document I think

RE: Problems in usage of tag

2003-07-21 Thread Swaroop George
I had a similar problem. I used javascript to submit the form forcibly in the onchange event of the mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 4:27 PM To: [EMAIL PROTECTED] Subject: Problems in usage of tag Hello! I want, that the user can switch the language at runtime and he can ch

RE: in a

2003-07-21 Thread Swaroop George
Hi, I think it's a pretty straight forward issue. You have given html:form inside inside the logic:equal tags. Now from your perspective the property 'aBoolean' cannot be other than 'true' or 'false'. But for struts there could be a value other than these two for which the html:form tag is no

RE: html:optionsCollection bug

2003-07-20 Thread Swaroop George
Hi all, I have a confirm page which displays the confirmation message after adding a new record. When I click on the done button I need to go to the next page with the record id as a parameter. I am able to do this with or Following is the code this saves me from submitting the form once