Help Re: cancel and session-scope form

2002-09-29 Thread Angie Lin
Any ideas are appreciated. Is there anyway to keep my session-scoped form from being populated by a click of an html:cancel button? Is there any hook in the underlying Action that I can intercept prior to the ActionForm auto-population? Thanks, Angie Angie Lin wrote: Hi there, How can

Re: Help Re: cancel and session-scope form

2002-09-29 Thread Eddie Bush
Just quickly thinking it over ... When your form submits, you're going to hit an action. Your action is going to look and see what the user told you they wanted to do and act appropriately. Now, that doesn't help you keep the form from being populated, but you can certainly keep from

Re: Help Re: cancel and session-scope form

2002-09-29 Thread Eddie Bush
Actually ... I've never done this before, but ... Why couldn't you invoke a javascript method on your Cancel button that invoked the forms reset method? That might be the easiest solution ... Eddie Bush wrote: Just quickly thinking it over ... When your form submits, you're going to hit

Only single attribute collections in ActionForm?

2002-09-29 Thread Frederic Laub
Hi, I'm building a web application using Struts, all the aspects of the framework are new to me. I try to stick to the MVC design, the Model and Controller are quite clear to me. Thanks to the wonderful work of the Struts team and in particular Chuck Cavaness and his Jakarta Struts Book Review.

Re: Help Re: cancel and session-scope form

2002-09-29 Thread Angie Lin
Thanks for the tip, but I'm trying to avoid javascript as much as possible. It looks like I'll have to go ahead and manage my session form manually, and use a request-scoped form so that the auto-population doesn't blow away the properties. Thanks again, Angie Eddie Bush wrote: Actually

Re: all this traffic

2002-09-29 Thread David Graham
No, I'm not a committer (from my understanding of the term). I can't commit anything to cvs, I've just submitted a few docs and maybe a patch for code. I understand that everything we submit won't get applied but if it's not going to be used they could at least post a response in bugzilla

Re: Proper exception handling of JDBC code? Need to call connection.rollback()?

2002-09-29 Thread David Graham
It's good practice to always put the rollback in the catch block and the close in the finally block. Never depend on the Connection to do this for you. It's not really because of defensive programming, it's to ensure the correctness of your data. An easy way to not forget to do this is to

RE: Disabling jsessionid parameter in Struts forms

2002-09-29 Thread Craig R. McClanahan
On Thu, 26 Sep 2002, Andrew Hill wrote: Date: Thu, 26 Sep 2002 17:11:41 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Disabling jsessionid parameter in

Property errors.prefix not used by HTML:errors ?

2002-09-29 Thread Pel Oliver Kristiansen
Hi all ! Complete newbe trying to get the html:errors to print pretty. I include the following into my ApplicationResources.properties errors.header=Feil oppstod!font color=red errors.prefix=* errors.sufffix=br errors.header=/font (ignore the lame tags they are just for testing) The

RE: logic:iterate with nested html:img

2002-09-29 Thread Vinh Tran
Eddie: Thanks for you help. I promise this will be the last response on this thread. I just want to be certain that it is valid to use EL with Struts tags. Meaning, by using the bean:define tag I should be able to access this object using EL. Or do I have to use c:set or jsp:useBean in order

Re: Struts and high performance sites revisited

2002-09-29 Thread Craig R. McClanahan
On Thu, 26 Sep 2002, David Zimmerman wrote: Date: Thu, 26 Sep 2002 10:42:34 +0100 From: David Zimmerman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts and high performance sites revisited Ok, so we

RE: Struts and high performance sites revisited

2002-09-29 Thread Craig R. McClanahan
On Thu, 26 Sep 2002, Lister, Tom (ANTS) wrote: Date: Thu, 26 Sep 2002 13:21:45 +0100 From: Lister, Tom (ANTS) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Struts and high performance sites revisited

RE: all this traffic

2002-09-29 Thread Craig R. McClanahan
On Thu, 26 Sep 2002, Assenza, Chris wrote: Date: Thu, 26 Sep 2002 10:17:36 -0400 From: Assenza, Chris [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: all this traffic Usually mailing list operators

RE: all this traffic

2002-09-29 Thread Craig R. McClanahan
On Fri, 27 Sep 2002, adam kramer wrote: Date: Fri, 27 Sep 2002 10:17:19 -0400 (EDT) From: adam kramer [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: all this traffic There's seems to be alot of

newbie to struts

2002-09-29 Thread Nellikkaltil, Liji
hi there, I am using Orion 1.5.2 on windows 2000 platform, I tried to deploy the struts-documenation.war file on orion using console and I get an error com.evermind.server.ConfigFileNotFoundException: Unable to find/read assembly info for

Re: Globals

2002-09-29 Thread Craig R. McClanahan
On Thu, 26 Sep 2002, Anthony Martin wrote: Date: Thu, 26 Sep 2002 19:58:11 -0700 From: Anthony Martin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts User List (E-mail) [EMAIL PROTECTED] Subject: Globals Is it now recommended to use members of Global

Re: use Jakarta TagLibs in Struts

2002-09-29 Thread Craig R. McClanahan
On Fri, 27 Sep 2002, Eddie Bush wrote: Date: Fri, 27 Sep 2002 00:12:52 -0500 From: Eddie Bush [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: use Jakarta TagLibs in Struts I believe I saw a post in the

Re: Is it really worth the effort to have a single instance of theAction?

2002-09-29 Thread Craig R. McClanahan
On Fri, 27 Sep 2002, Andrew Hill wrote: Date: Fri, 27 Sep 2002 15:51:06 +0800 From: Andrew Hill [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Is it really worth the effort to have a

Re: Retrieving list of Roles defined in web.xml [Revised]

2002-09-29 Thread Craig R. McClanahan
On Fri, 27 Sep 2002, Vinh Tran wrote: Date: Fri, 27 Sep 2002 08:54:31 -0400 From: Vinh Tran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Retrieving list of Roles defined in web.xml [Revised] I can also

Action Error

2002-09-29 Thread Khan, Manuchehar A (ACF)
Action Error must be impletmented in sorted order. Right now it appears to be Hashtable...When we try to display errors they dont show up in order we inserted... -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 6:35 PM To: Struts

Re: [FRIDAY] [OT] Best misunderstanding of an acronym?

2002-09-29 Thread Craig R. McClanahan
On Fri, 27 Sep 2002, Kevin A. Smith wrote: Date: Fri, 27 Sep 2002 11:07:53 -0400 From: Kevin A. Smith [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [FRIDAY] [OT] Best misunderstanding of an acronym? The

Re: Internationalization Broken on Struts 1.1b2?

2002-09-29 Thread Craig R. McClanahan
On Fri, 27 Sep 2002, Ryan Cuprak wrote: Date: Fri, 27 Sep 2002 16:54:26 -0400 From: Ryan Cuprak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Internationalization Broken on Struts 1.1b2? Okay, I

RE: logic:iterate with nested html:img

2002-09-29 Thread Vinh Tran
Eddie: I figured out that EL is working fine and it does indeed work with all types of tags. Thanks again. Vinh -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 5:51 PM To: Struts Users Mailing List Subject: RE: logic:iterate with nested

Strange Behavior With Map$Entry

2002-09-29 Thread Vinh Tran
All: After alot of experimenting I was able to finally figure out how to retrieve a value from a Map.Entry. However, it only works for certain tags. Below is an example of this behavior. logic:iterate id=mymap name=mybean property=map html:img src=/images/${mymap.value.image}

html:options

2002-09-29 Thread Doug Dates
I want to display a dropdown list. The list items are By First Name, By Last Name, By Date. I think I can do it by the following way: html:select size=1 property=choice html:option value=fName By First Name /html:option html:option value=fName By Last Name /html:option html:option

Re: Retrieving list of Roles defined in web.xml [Revised]

2002-09-29 Thread V. Cekvenich
One alternative thing I have done that I consider simple is use container managed autherhication, and then call a getPricnciplal. Based on the user name, I make a bean I put in session that contains all kinds of information about the user, session, security. Things like full name,

[Contributing] Re: all this traffic

2002-09-29 Thread Peter A. J. Pilgrim
Craig R. McClanahan wrote: On Fri, 27 Sep 2002, adam kramer wrote: Date: Fri, 27 Sep 2002 10:17:19 -0400 (EDT) From: adam kramer [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: all this traffic There's

Re: [Contributing] Re: all this traffic

2002-09-29 Thread Craig R. McClanahan
On Mon, 30 Sep 2002, Peter A. J. Pilgrim wrote: http://jakarta.apache.org/site/getinvolved.html What is the format of the patches that developers /contributer patches submit? Is it a context difference? diff -c acme.java acme.java.orig The specific instructions on submitting

RE: [Contributing] Re: all this traffic

2002-09-29 Thread Khan, Manuchehar A (ACF)
This is for Craig. I believe you are at home today. Can we do a better job of listing companies that are in process of developing applications in struts or already have applications in production. This helpes in convincing managements to take a more closer look at sturt. Thanks

RE: [Contributing] Re: all this traffic

2002-09-29 Thread Craig R. McClanahan
On Sun, 29 Sep 2002, Khan, Manuchehar A (ACF) wrote: Date: Sun, 29 Sep 2002 21:14:50 -0400 From: Khan, Manuchehar A (ACF) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [Contributing] Re: all this

RE: [Contributing] Re: all this traffic

2002-09-29 Thread Hookom, Jacob John
I agree, from observing what others are developing, it seems that about 80% of the applications are for intranets. I know even our campus is using struts for various project management applications. Could we offer links to the sites? No. Is the presentation layer what counts? No. What

Security bug in the sample application?

2002-09-29 Thread Cuneyt Karul
Hi, I was playing with the sample application that comes with struts and I noticed a strange behavior. I just wanted to check out if this is expected, and if so what is the best way to solve this problem. When I log on with a valid user the application takes me to the page:

RE: Pre-populating ActionForms

2002-09-29 Thread Mohan Radhakrishnan
Hi, I have actually set up a 'Setup' form and action. After login, I forward to setup.jsp, that doesn't show anything(though is is a jsp) but pre-populates the form. How do you forward from there to the JSP that shows the pre-populated form ? There is no submit action on setup.jsp. bye,

RE: Help Re: cancel and session-scope form

2002-09-29 Thread Tal Lev-Ami
You can add another action without a form-bean that will implement the cancel functionality and in all other cases forward the request to your real action where the ActionForm will be populated. Tal Lev-Ami Trivnet Ltd. -Original Message- From: Angie Lin [mailto:[EMAIL PROTECTED]] Sent: