On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > I only see these current solutions having merit if you are *required* to > not have any javascript. For me, this will never be a requirement and I > doubt it will ever be. Since I can use javascript it's so easy for me to > just add > > onclick="myForm.dispatch.value='someDispatchMethod'" > > You can use this kind of code with almost anything (with images just > also add myForm.submit()). Easy to use and no need to figuure out how > yet another flavor of SomeonesNewAndImprovedAction works.
If something can work without Javascript and is as simple as a solution with Javascript, which one would you choose? Designing forms in HTML editor is simpler too, just drop a button and set name/value, no Javascript to wire. This is a rather generic solution, proposed to be included into Struts core, not a Javascript hack. Of course, in the end we can write everything as a servlet, but I thought that the whole purpose of web frameworks was to provide standard solutions for common problems. We can crawl back to our dark corners and use our own flawors of actions and scripts, watching the world changing. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]