Here is how i finaly solved my problem.
Based on the suggestions of Ben
Gunter-2<http://www.nabble.com/user/UserProfile.jtp?user=1279256>here:
http://www.nabble.com/Form-post-and-pretty-URL%27s-td21617160.html
I created a "dummy" search action that redirects to the actual action.
Here is my code (extended so that everyone knows where stuff comes from):
public Resolution search(){
RedirectResolution res = new RedirectResolution(this.getClass(),action);
res.addParameter(“search string”,
getContext().getRequest().getParameter("search string"));
return res;
}
/* Then in results i do the actual search */
public Resolution results(){
String query = getContext().getRequest().getParameter("search string");
...
}
The user only sees /search/results/"search string" after the form is
submited.
I think for now this is the best option. You don't lose functionality in the
form, the markup stays clean and so does the url.
--
All the best, Miguel Coxo.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users