Re: [SUBMIT] LookupDispatchAction - how to handle multiple html:submit buttons

2001-11-15 Thread Joe Faith
We have also implemented a multiple submit button system; but in our case we wrote a custom tag that generates javascript that sets a property to a specified value and submits the form when you hit the button. The tags look something like: my_submit property=formAction value=delete

Re: [SUBMIT] LookupDispatchAction - how to handle multiple html:submit buttons

2001-11-15 Thread Ted Husted
Most of us would not rely *solely* on Javascript for validation, since it can be turned off, and therefor endanger your application. But requiring it to handle multiple buttons is a different matter, so long as the default formAction did nothing harmful if Javascript were turned off. The

Re: [SUBMIT] LookupDispatchAction - how to handle multiple html:submit buttons

2001-11-15 Thread Andy Noble
Hi Joe, I would certainly be interested in your code for this tag, as I have decided to make javascript a prerequisite for my project. Regards Andy - Original Message - From: Joe Faith [EMAIL PROTECTED] To: Struts Developers List [EMAIL PROTECTED] Sent: Thursday, November 15, 2001

Antwort: Re: [SUBMIT] LookupDispatchAction - how to handle multiple html:submit buttons

2001-11-15 Thread Dimitri Valdin
Yet another approach would be to use an image tag: html:image page=/images/lock.gif property=lock / html:image page=/images/unlock.gif property=unlock / html:image page=/images/delete.gif property=delete / and check parameter in action: if (request.getParameter(lock.x) != null) {

Re: Multiple controller servlets

2001-11-15 Thread Ted Husted
Of course, I fully expect to see responses saying both. ;-) I guess my question is, what is the real problem people need to solve? + Team development + General manageablitity + Distribution of plug-and-play Struts application-lets What this amounts to, I think, is that we need the ability to

FW: deadlink

2001-11-15 Thread Pier Fumagalli
Not acked.. -- Forwarded Message From: emmanuel.boudrant [EMAIL PROTECTED] Date: Thu, 15 Nov 2001 17:23:13 +0100 (CET) To: [EMAIL PROTECTED] Subject: deadlink Here somes dead link on jakarta web site: On page http://jakarta.apache.org/struts/userGuide/resources.html - Struts .. in Rose

Re: Multiple controller servlets

2001-11-15 Thread Tim W Wilson
A few more questions then... Access control to servlets is well understood. Can access to particular actions be controlled in similar fashion? Isn't it possible that extensions to the programming model from Sun that extends to servlets would be of no use to a struts application? I just have this

[VOTE] Struts 1.0.1 Release

2001-11-15 Thread martin . cooper
Many bug fixes and documentation updates have been made since the Struts 1.0 release. Therefore, I propose that we release the tip of the STRUTS_1_0_BRANCH branch as Struts 1.0.1, to make these changes available as part of an official distribution of Struts. I have checked in a proposed release