On 1/17/06, Josh McDonald <[EMAIL PROTECTED]> wrote: > Hi all, > > First of all, is there a site full of patterns and best practices for > [Struts]?
Common practices - yes, best - not sure about that ;-))) > Second, here's my specific enquiry: Let's say we've a page where you > select an item from a list, and then you can perform one of 5 actions on > it. > > One is 5 forms with different ".do" destinations, and javascript to > copy information from the "master form" into these forms and then submit > them. Does it look something like this: http://www.superinterface.com/strutsdialog/crudactionlite.do Why would not you just load relevant data from the server when you display each of these pages? > However the other solution that immediatly springs to mind is some form > of token (or god forbid an url or class name) describing what action to > call embedded in the form, and set with javascript. What about dispatching-style action? Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]