Following what your said previously about this, i assume that

1) The view is in a restore state and not a create state (you mentionned
clearly that you showed page *after* reloading page and *before*
clicking button)
2) There are no validation problems (you stated <h:messages/> has empty
output)

Then i suggest you investigate your action methods, linked to the
command param. It's probably that this action is sending a null or other
incorrect result, for various reason that are related to your managed
bean code. Check also that you have no third party filters that could
interact with a POST to a url ending in ;JESSIONID=...., since, after
first load of form, this is what the submit url will look like thanks to
container url rewriting mecanism.



En l'instant précis du 23/08/07 15:05, Fan Shao s'exprimait en ces termes:
> Hi, I've been stuck there for days. Could anyone help?
>
>
>
> Fan Shao wrote:
>   
>> Hi there,
>>
>> I've written a JSF page using Facelets template. I have a form in the page
>> and a button. Every time I restarted the webapp, the first time I click
>> the button it just refreshes the page and resets all the input fields.
>> After that the button works normally with all the fields correctly
>> submitted.
>>
>> This means I have to click the button once before I can do any work
>> everytime the server is restarted.
>>
>> Anyone has any idea about this problem?
>>
>>     
>
>   


-- 
http://www.noooxml.org/

Reply via email to