-
1. Re: h:commandButton not working on RichFaces tab
pmuir Sep 24, 2007 5:00 PM (in response to damatrix)Are you outputting error messages using h:messages?
-
2. Re: h:commandButton not working on RichFaces tab
damatrix Sep 25, 2007 11:51 AM (in response to damatrix)Yes I do. I fail to see the connection with the behaviour of the commandButton.
-
3. Re: h:commandButton not working on RichFaces tab
pmuir Sep 25, 2007 2:14 PM (in response to damatrix)Normally the reason for a action not being executed is that there have been failures in one of the JSF phases and you've forgotten to output JSF errors using h:messages. Of course you don't get this using s:button as it doesn't submit the form.
-
4. Re: h:commandButton not working on RichFaces tab
damatrix Sep 27, 2007 5:50 AM (in response to damatrix)Sorry for the long breaks in reply. Some of us in Africa do not have very reliable internet connections.
Well, if that is the case then i'd expect the h:messages to output whatever message there is and still allow me to go on with the commandButton. Is there no way i can get around this? -
5. Re: h:commandButton not working on RichFaces tab
pmuir Sep 28, 2007 7:21 AM (in response to damatrix)You'll need to read a good JSF book/tutorial to find out all about the JSF lifecycle.
-
6. Re: h:commandButton not working on RichFaces tab
szaccaria Sep 28, 2007 11:13 AM (in response to damatrix)Hi Pete and Damatrix,
I 've the same problem of Damatric... where I must looking for?
Thanks -
7. Re: h:commandButton not working on RichFaces tab
szaccaria Sep 28, 2007 11:30 AM (in response to damatrix)I solved in my code,
I think that the problem is in thetabPanel switchType="ajax"
, if I use the switchType="client" it make do!
I suppose that the problem be the ajax switch
I hope help you Damatrix.
Ciao -
8. Re: h:commandButton not working on RichFaces tab
szaccaria Sep 28, 2007 11:43 AM (in response to damatrix) -
9. Re: h:commandButton not working on RichFaces tab
szaccaria Sep 28, 2007 12:37 PM (in response to damatrix) -
10. Re: h:commandButton not working on RichFaces tab
rchiarinelli Sep 28, 2007 12:43 PM (in response to damatrix)Hi guys,
I face the same problem as Damatrix, and with the <h:messages > tag, I could see the problem. When the commandButton is pressed, a message "Conversion Error" appears.
As I using a simple <h:inputText> tag with a String content, I´m not understanding what is happenig.
Could anyone help me?
Thanks
Rafael -
11. Re: h:commandButton not working on RichFaces tab
damatrix Oct 23, 2007 4:59 PM (in response to damatrix)With the previous replies to my post, i thought that i new version of RichFaces will solve my problem but after downloading and using RichFaces 3.1.2.GA, my commandButtons and commandLinks on tabPanels still do not work.
Please, someone help. I'm stuck. -
12. Re: h:commandButton not working on RichFaces tab
pmuir Oct 24, 2007 6:05 AM (in response to damatrix)Post this on the RF forum, I don't think it has anything to do with Seam.
-
13. Re: h:commandButton not working on RichFaces tab
sergeysmirnov Oct 25, 2007 4:46 PM (in response to damatrix)"szaccaria" wrote:
Other person have the same problem...
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119233&postdays=0&postorder=asc&start=0
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119558
They are different, but not the same.
1. Using h:commandLink (but not the h:commandButton) inside the h:form after Ajax re-rendering has a limitation due the specific of h:commandLink architecture. I t
old many times about it and mentioned at least twice on the richfaces-demo:
http://livedemo.exadel.com/richfaces-demo/richfaces/htmlCommandLink.jsf?c=htmlCommandLink
http://livedemo.exadel.com/richfaces-demo/richfaces/form.jsf?c=form
2. Most common problems with "action is not invoked":
a) validation/conversion problems
b) form inside form (does not allowed by JSF)
c) Using ajaxSingle="true" together with immediate="true"
3. Action method is invoked at the fifth phase (if immediate flag is not set). So, if fifth phase is bypassed , it needs to figure our why it is bypassed instead of why the action is not called. The phase tracker is useful to detect where the normal lifecycle is interrupted. Ready-to-use phase tracker is here: http://www.jsftutorials.net/faces-config/phaseTracker.html
-
14. Re: h:commandButton not working on RichFaces tab
damatrix Oct 25, 2007 5:35 PM (in response to damatrix)Problem solved!!!!
Thanks for the last post, SergeySmirnov. The problem was a form in another form as you can see from my very first post. You saved me.