Randy,

Could you define what you mean by "un-pretty"?

Also, what changes did you make? (I was able to get URLS of the form / list/<contactid> without too much work).

-R


On Jan 22, 2009, at 8:17 PM, Randy Jones wrote:

Newbie question. Using Stripes 1.5.

Given this JSP fragment:

<stripes:form id="searchBox" beanclass="org.randy.web.ListViewBean"
focus="searchText">
<stripes:text name="searchText" value="Search our Site" class="text medium"/>
   <stripes:submit name="search" value="Search" class="button"/>
</stripes:form>

I would like my URL to show the searchText value so that it can be bookmarked. If "stuff" was entered in the field I would like the URL to look like this:

http://www.randy.com/myapp/list/stuff.html

or

http://www.randy.com/myapp/list.html?search=stuff

I tried changing the form method to GET but than I get an un-pretty URl.

Thanks,

Randy


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to