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.
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
If it's easy.. then everybody would do it!
Sergey Smirnov
Ranch Hand
Joined: May 29, 2003
Posts: 167
posted
0
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.
adding type="submit" attribute is not working..
Mahendra
http://randomtechieblog.blogspot.com
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
Please start a new topic instead of resurrecting an old and dead one.
Feel free to link the relevant topics in your new topic.
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.