We also had the similar need to go back in stack, we used a simple logic of maintaining the stack ourselves for path of actionforwards
when we needed to go back, we retrived the last item from the stack and created an actionforward object.
This was veryuseful for us.

Puneet Agarwal
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com



[EMAIL PROTECTED]

07/27/2004 10:11 AM

Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>

To
"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc
Subject
Asunto: How to get the ActionForward for the _previous_ page





Stefan:
We implemented a navigation framework to be used with Struts.
It's a non intrusive navigation stack (by non intrusive i mean that you
do not have to extend any action, just place a Filter in the web.xml)

If you want to check it out, you can download it from
http://opentranquera.sourceforge.net/ea/opentranquera-src-0.1-ea.zip

Hopefully, next month we will deploy our first release.

This is an early access, but the navigation package works fine and has an
example (check out the net.sf.opentranquera.ui.struts.navigation package
and the webapp/navigation web app).

Cheers.
Guillermo.

>-- Mensaje original --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Date:                 Tue, 27 Jul 2004 14:50:40 +0200
>From:                 Stefan Siegl <[EMAIL PROTECTED]>
>To:                 [EMAIL PROTECTED]
>Subject: How to get the ActionForward for the _previous_ page
>
>
>Hello,
>
>I created a small application using Struts and the internationalization

>and provided images (with the flags in the appropriate language) that
>allow the user to change the language. The changing of the language is

>done using a normal Action class. My problem is that after changing the

>language (resetting the session attribute) I do not know where to
>forward to. I want to forward to the last page independently on which
>page the language was selected. The problem with Struts is that i do not
>
>get any information about the last page that the user was on, so I am
>not able to forward to the last page. Is this correct or is there any
>workaround to do this?
>
>If this is not possible, then it would be nice to have that in a further
>
>release of Struts because I think that would be very helpful to create

>dialogues based on Struts.
>
>Thanks for your time,
>Best regards,
>Stefan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



________________________________________
FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar



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


ForwardSourceID:NT0000367E    
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the
addressee. Unauthorized use, disclosure or copying is strictly prohibited and may 
constitute unlawful act and can possibly attract legal action, civil and/or criminal. 
The contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services
on any subject matter.]
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other
information contained in this message that do not relate to the official business of 
Tata Consultancy Services shall be understood as neither given nor endorsed by Tata 
Consultancy Services or any affiliate of Tata Consultancy Services. If you have 
received this message in error,
you should destroy this message and may please notify the sender by e-mail. Thank you.



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

Reply via email to