Re: Return to previous page without javascript

2009-06-26 Thread Stefano Tranquillini
Not really. i usued the tiles and i've some problem. i've in mind an idea: - keep track inside a jsp of the current page (is possible from jsp to put the url inside the session?, i tried and i fell, no one thing work ) - each action, when success, return to an action that perform a redirect (but

Re: Return to previous page without javascript

2009-06-21 Thread Girish Naik
Is this issue solved? Can we do something like thishttp://www.velocityreviews.com/forums/t131347-struts-requestprocessor-override.html Regards, - Girish Naik Mobile:-+91-09740091638 girish.n...@gmail.com Henny

Re: Return to previous page without javascript

2009-06-15 Thread Stefano Tranquillini
I tried to use request and URI but: - i'm not able to have some result from this command. - how can i set this value inside the session from a jsp. thanks. -- Stefano

Re: Return to previous page without javascript

2009-06-11 Thread Dale Newfield
Stefano Tranquillini wrote: i want to do a thing. When a user do the login (i've the login in the left part of the web site, so in each pages the user can do the login) i want to redirect he at the pages that was visit before the login. how can i do that? (no JS) Nobody mentioned that the page

RE: Return to previous page without javascript

2009-06-11 Thread Martin Gainty
aucune responsabilité pour le contenu fourni. Date: Thu, 11 Jun 2009 10:37:10 -0400 From: d...@newfield.org To: user@struts.apache.org Subject: Re: Return to previous page without javascript Stefano Tranquillini wrote: i want to do a thing. When a user do the login (i've the login

Re: Return to previous page without javascript

2009-06-08 Thread Paweł Wielgus
Hi Stefano, have u got an example or a tutorial about how to return an url? I think i was using something like #request.uri or #request.getURI(), read more here: http://cwiki.apache.org/WW/ognl-basics.html or simply put it inside a page from action where You can implement ServletAware or

Re: Return to previous page without javascript

2009-06-05 Thread Stefano Tranquillini
Hi there's a problem (i think is a problem). I used the tiles. so the login is in the left part of the page and is always available for the user (in each page there's the login). so i need to store each time the url in each page. how can i do that? i can do with a Intercepor that simply store in

Re: Return to previous page without javascript

2009-06-05 Thread Paweł Wielgus
Hi Stefano, Action execute method result is a string but that is only a result name, result can be a redirect to anything You want. Read more about resut types in struts2. Also if the requirement is to come back to a page that You were on, maybe there is no need to leave it at all. Use ajax to

Re: Return to previous page without javascript

2009-06-05 Thread Stefano Tranquillini
2009/6/5 Paweł Wielgus poulw...@gmail.com Hi Stefano, Action execute method result is a string but that is only a result name, result can be a redirect to anything You want. Read more about resut types in struts2. have u got an example or a tutorial about how to return an url? Also if

Return to previous page without javascript

2009-06-04 Thread Stefano Tranquillini
Hi all. i want to do a thing. When a user do the login (i've the login in the left part of the web site, so in each pages the user can do the login) i want to redirect he at the pages that was visit before the login. how can i do that? (no JS) -- Stefano

Re: Return to previous page without javascript

2009-06-04 Thread Paweł Wielgus
Hi Stefano, add some kind of information about the page loging form is on, inside the login form, then in login action resolve where to come back. It can be also achieved by remebering the last request uri and params if any. But there is no standard solution for this problem, as far as i know. You