Subject: Design Problem: Multiple Object Update

2002-10-04 Thread Scott Carlson
Mark, Upgrading to 1.1b2 would allow you access to Nested form beans. These allow you to iterate collections and create unique input fields. Checkout the documentation primer here: http://www.keyboardmonkey.com/next/Primer_partOne.jsp?content=yesplease There is a lot of documentation on it.

RE: Business Logic Bean Question

2002-10-04 Thread Scott Carlson
What you are reading about is the MVC pattern. The reason to not code your logic in the Action is that you are now locking the application into a web world. You can't reuse that logic in a non-Struts way at all. By encapsulating your Logic in its own class, you break that dependency. Here is

Re: remove request parameter

2002-07-31 Thread Scott Carlson
I was wondering if the LookupDispatchAction would be appropriate for you? If you have more than one Submit button on the page, the LookupDispatchAction can call a different method in the action for each button. Date: Wed, 31 Jul 2002 08:53:50 +0200 From: Marius Gabor [EMAIL PROTECTED]

RE: LookupDispatchAction and DynaValidator

2002-07-30 Thread Scott Carlson
Deepak -Original Message- From: Scott Carlson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 11:17 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: struts-user Digest 30 Jul 2002 14:46:44 - Issue 1730 Deepak, I don't have the real code I used

Re: how to remove ActionForm from session

2002-07-03 Thread Scott Carlson
If you are in an Action that specified that form with the name attribute in the Struts-config.xml, you can use this sample: request.getSession().removeAttribute(mapping.getName()); If you have a BaseAction class (always a good idea), you could

Re: Dynamic select tags in HTML form

2002-06-18 Thread Scott Carlson
Joel, this is what I have. I have a viewbean in request scope called createaccount, it has two methods, getAccountTypesKeys(), and getAccountTypes(), that return keys and values for the select box. This can be done with a single collection, and also with a map. html:select property=accountType

Re: Select Tag

2002-06-18 Thread Scott Carlson
Sesha, I have this code in my jsp. Notice the multiple attribute. html:select multiple=true property=accountType html:option value=Select Type/html:option html:options name=createaccount property=accountTypes / /html:select In my form bean, the property is an array of

Who's using Struts and license issue

2002-06-18 Thread Scott Carlson
I'm trying to get a Fortune 125 company to convert from their existing internal web framework. During my analysis two questions have come up. First, Who's using Struts? Is there a list of big companies that are using Struts in a production external application mode? Does anyone have metrics