Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Taavi Tiirik
> It is possible to do this without using the session, and also by only > using the standard redirect action as the result of your Login code > (which you can also do as an action). > > > I've done this in TSS and it works very well. Rickard, What happens to url parameters? What if original re

Re: [Webwork-user] is this coming from the ServletDispatcher

2002-03-04 Thread Rickard
G.L. Grobe wrote: > Grabbed the latest CVS as of today and having a tough time trying to find > out why the following action in the webwork:include tag no longer runs (as > it did from a CVS pull about 10 days ago). > > > > This action completely runs through successfully, then the following g

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Rickard
Taavi Tiirik wrote: > You can remember the actual page the user wanted to see by storing > request URI into session variable. For example: > > session.put( "auth_requestURI", getServletRequest().getRequestURI() ); > > Once you have completed your login procedure you can forward > your user to d

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Rickard
Toby Hede wrote: > Genius, I love you guys! > > So in my Login form I now have an attribute called 'success' that passes > the URI into the Login Action, which then automatically redirects the > View for me! Actually, this works even with just the redirect action. Simply set "redirect.actio

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Rickard
Toby Hede wrote: > I am trying to implement a fairly familiar pattern, when the user goes > to access a resource, but has not logged in, they are redirected to the > login page, the user logs in, and then is sent back to the resource they > originally tried to access. > > So I need to take th

[Webwork-user] is this coming from the ServletDispatcher

2002-03-04 Thread G.L. Grobe
Grabbed the latest CVS as of today and having a tough time trying to find out why the following action in the webwork:include tag no longer runs (as it did from a CVS pull about 10 days ago). This action completely runs through successfully, then the following gets dumped. --- output --- [Embe

[Webwork-user] Deploy on HPAS?

2002-03-04 Thread Cuong Tran
Has anyone here deployed WW on HPAS (8.0)? I'm running into some problem getting it to work on HPAS. (not regconizing taglibs) = Cuong Q. Tran <[EMAIL PROTECTED]> __ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Toby Hede
Genius, I love you guys! So in my Login form I now have an attribute called 'success' that passes the URI into the Login Action, which then automatically redirects the View for me! Very very elegant. Horray for WebWork! >From: "Matt Baldree" <[EMAIL PROTECTED]> >To: "Taavi Tiirik" <[EMAIL PR

RE: [Webwork-user] Current CVS snapshot w/ Tomcat

2002-03-04 Thread Jason Carreira
Do I need to do anything besides build it, drop log4j.jar in the lib directory, drop the .war file in the webapps directory, and run? > -Original Message- > From: Matt Baldree [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 2002 1:42 PM > To: Jason Carreira; Webwork-User (E-mail) >

Re: [Webwork-user] Current CVS snapshot w/ Tomcat

2002-03-04 Thread Matt Baldree
I just downloaded the latest Tomcat (4.0.3) and everything tested fine. -Matt - Original Message - From: "Jason Carreira" <[EMAIL PROTECTED]> To: "Matt Baldree" <[EMAIL PROTECTED]>; "Webwork-User (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, March 04, 2002 12:27 PM Subject: RE: [Webwork-us

RE: [Webwork-user] Current CVS snapshot w/ Tomcat

2002-03-04 Thread Jason Carreira
I'm using 4.02 > -Original Message- > From: Matt Baldree [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 04, 2002 1:23 PM > To: Jason Carreira; Webwork-User (E-mail) > Subject: Re: [Webwork-user] Current CVS snapshot w/ Tomcat > > > hmm. I tested with Tomcat 4.0.1. > > - Original

Re: [Webwork-user] Current CVS snapshot w/ Tomcat

2002-03-04 Thread Matt Baldree
hmm. I tested with Tomcat 4.0.1. - Original Message - From: "Jason Carreira" <[EMAIL PROTECTED]> To: "Webwork-User (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, March 04, 2002 12:06 PM Subject: [Webwork-user] Current CVS snapshot w/ Tomcat Has anyone gotten the latest CVS source running o

[Webwork-user] Current CVS snapshot w/ Tomcat

2002-03-04 Thread Jason Carreira
Has anyone gotten the latest CVS source running on Tomcat? It seems to be having a problem with the web.xml "org.xml.sax.SAXParseException: The markup in the document preceding the root ele ment must be well-formed." The examples don't run after this, but I think it's a problem with the web.xml

Re: [Webwork-user] CVS

2002-03-04 Thread Rickard
Matt Baldree wrote: > The latest code in CVS is up and running and all tests should work. Please > feel free to check it out and test it. I believe the only thing left before > 1.0 release is a couple of sections (HVAC and Action) in the docs and > Rickard to push the button. If I'm missing anyth

[Webwork-user] CVS

2002-03-04 Thread Matt Baldree
The latest code in CVS is up and running and all tests should work. Please feel free to check it out and test it. I believe the only thing left before 1.0 release is a couple of sections (HVAC and Action) in the docs and Rickard to push the button. If I'm missing anything please yell. -Matt __

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Matt Baldree
You can also return any string from your action's execute that the dispatcher will use as a key to fetch a URI from the request object. If the dispatcher does not find an object from the request with this key it will then try and find a view from your view map. -Matt - Original Message -

Re: [Webwork-user] redirect view at runtime

2002-03-04 Thread Taavi Tiirik
Toby, > So I need to take the referrer of the login page (which traditionally I just > place in a hidden variable in the Login form) and then when login is > complete I need to set the view to the redirect string, rather than the view > assigned in actions.xml. Is there an easy way to do this wit