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
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:
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
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