"Philip Wachtel" <[EMAIL PROTECTED]> writes:

>Hi there,

>I'm trying to dynamically find the calling page name from within an =
>action class.  data.getScreenTemplate() returns the html form's action =
>attribute, but not the actual name of the .vm file that had the form on =
>it.

Pretty simple. You can't. If you want to know which page the form was on,
you must pass this name in a (hidden) parameter.

An action is called after a request arrives at the servlet and before
the _next_ page is rended. get/setScreenTemplate, get/setScreen and
all this stuff is only for the _next_ screen which is rendered after
the action is run.

A basic explanation of the request -> action -> page -> response cycle
is on http://jakarta.apache.org/turbine/fsd.html under "Action".

        Regards
                Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to