Re: Best practices questions

2006-01-17 Thread Josh McDonald
Thanks for all your help guys, I knew there'd be a better (than rolling-my-own) solution :) -Josh -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006

Re: Best practices questions

2006-01-17 Thread Wendy Smoak
On 1/17/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > It will call "unspecified" method, which you may want to override. > > I take this back. I guess it will just throw an exception. Correct. Unspecified is only called when the parameter is missing. http://struts.apache.org/struts-extra

Re: Best practices questions

2006-01-17 Thread Michael Jouravlev
On 1/17/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 1/17/06, Josh McDonald <[EMAIL PROTECTED]> wrote: > > What will DispatchAction.execute() do if there's no method to handle a > > particular value for "dispatch" or whatever you call it in your > > instance? > > It will call "unspecified"

Re: Best practices questions

2006-01-17 Thread Michael Jouravlev
On 1/17/06, Josh McDonald <[EMAIL PROTECTED]> wrote: > After reading up on it, the DispatchAction setup is what I was referring > to when I said "using a token", it definitely looks like the nicest > solution, since it saves you a bunch of ugly if-then-else stuff. I suggest you using a better vers

Re: Best practices questions

2006-01-17 Thread Josh McDonald
After reading up on it, the DispatchAction setup is what I was referring to when I said "using a token", it definitely looks like the nicest solution, since it saves you a bunch of ugly if-then-else stuff. What will DispatchAction.execute() do if there's no method to handle a particular value for

Re: Best practices questions

2006-01-17 Thread Rick Reumann
Josh McDonald wrote: First of all, is there a site full of patterns and best practices for tomcat? For Tomcat specifically? Not sure. 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

Re: Best practices questions

2006-01-17 Thread Josh McDonald
>> 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 No, it's one form (and one button) for eac

Re: Best practices questions

2006-01-17 Thread Michael Jouravlev
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 fro

Re: Best practices questions

2006-01-17 Thread Josh McDonald
Erm, I meant "for struts" rather than "for tomcat". Sorry folks :) -- "His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best." Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED]