Re: [OS-webwork] default action for template

2003-08-20 Thread boxed
Andrew Hawkes wrote: As I understand it, a simple GET to somepage.vm does not create an Action and therefore dynamic data for that page is not populated. Is there a way I can change this behavior, to make an Action be created by default when a user simply requests the template file? My purpose

Re: [OS-webwork] default action for template

2003-08-20 Thread Pat Lightbody
ather than just letting the request go through it finds the _first_ action with a result pointing to index.vm and executes it. -Pat - Original Message - From: "John Patterson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 12:53 AM Subject:

RE: [OS-webwork] default action for template

2003-08-20 Thread Jason Carreira
Check out the FilterDispatcher in WW2... It does a reverse lookup by view to the action it is mapped from. > -Original Message- > From: Andrew Hawkes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 20, 2003 2:57 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] default action for te

Re: [OS-webwork] default action for template

2003-08-20 Thread John Patterson
You would normally have to type http://blah.com/index.action and add an entry in XWork.xml to map 'index' to com.blah.actions.MyAction. However, if what I have proposed for simplifying the config step is implemented you would be able to avoid the config step altogether and just name your action 'I