1 Reply Latest reply on May 30, 2009 4:46 AM by Aldo Bonzi

    Submit form with GET not POST?

    jk;l jkl; Expert

      I have a search form that directs to a bookmarkable search results page (i.e. the search string is a query parameter) - therefore, the search form has a submit type of GET not POST.


      However, this means I can't use h:form but must use a regular HTML form, which results in me not being able to add validators to the search string input field and other things that I lose by not having h:form.


      How can I get the benefits of h:form but still have a bookmarkable search results page? Is everyone here using non-bookmarkable searches (I'd be surprised because it seems to be the norm for search result pages to show as /search.html?query=my+search+query. Thanks.