I have an issue when submitting the form using commandbutton.
When the control is within a textbox and I click the command button the form does not gets submitted. But when I press tab and then click the button it gets submitted.
Can anyone provide a solution to overcome this problem.
Originally posted by Srik Messmer: Arshad, You can do it in JSF without using goofy javascript. All you need to do is use attribute type="submit" for your commandButton.
-Srik
The final behavior will be vary depends of the number of fields and browser type.
If anyone can help me the please do. when i am pressing enter while on textField then the same page is getting refresh but if i click on Submit button then it is giving me desired output.
it is working fine in FF and creating problem in IE.
i just resurrected this thread because my problem is same as the creator of this thread. i just thought that starting a new duplicate thread will not be good.
but ok from now onwards i will take care of this sort of issues. do i need to create a new thread now or it is fine for this time.