Hi Marcio,

JSF simply expects there to be a parameter whose name is the id of the target JSF component.
So if you have a component in your page:
 <h:inputText id="userName" value="#{user.name}"/>
then AFAIK you can use get with:
 /some/url?userName=Marcio

Note that if a component is a child of a "naming container" component then things get more complicated, as the component's id is actually of form "parentId:childId", but the principle is the same.
The most significant "naming container" components are subviews and tables.

If you turn on debug-level logging for myfaces then you'll get lots of information about the tree of components in each page.

Regards,

Simon

Marcio Ribeiro wrote:
Hi,

I try to use POST method for all my form submissions.
But I have a Search functionality and I want my searchs to be bookmarkable.
I'm starting to think thats IMPOSSIBLE with JSF.

I use GET for links all the time and I know how to use <f:param>, but I don't know how to submit form data using GET.

Anyone!??

Thanks!

Reply via email to