tag:blogger.com,1999:blog-785059744103848185.post3891003757639442638..comments2023-07-03T16:55:30.726+02:00Comments on jan blog: JSF does not call action in managed beanjanhttp://www.blogger.com/profile/09450549833036134264noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-785059744103848185.post-15440502224975913732014-12-17T16:18:50.771+01:002014-12-17T16:18:50.771+01:00Thanks.. that helped me when I was trying everythi...Thanks.. that helped me when I was trying everything and failing.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-33552000710108891792013-09-18T04:02:06.623+02:002013-09-18T04:02:06.623+02:00Man...thanks you very much!!Man...thanks you very much!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-8303912637257947412012-04-08T10:00:01.618+02:002012-04-08T10:00:01.618+02:00The type attribute must be "submit" or &...The type attribute must be "submit" or "reset".<br />The "button" type works for javascript i guess...Fernandohttp://www.bitsrandomicos.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-29115937184287184552012-04-08T09:58:39.525+02:002012-04-08T09:58:39.525+02:00The type attribute must be "submit" or &...The type attribute must be "submit" or "reset".<br />The "button" type works for javascript i guess...Fernandohttp://www.bitsrandomicos.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-13747450572087240832011-11-05T11:15:38.792+01:002011-11-05T11:15:38.792+01:00Thanks for you help!!
RobertoThanks for you help!!<br />RobertoAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-41552878934234929122011-11-04T17:36:21.105+01:002011-11-04T17:36:21.105+01:00Thanks a lot. This helps. Searched many other post...Thanks a lot. This helps. Searched many other post for this problem but none of them helped. You are the best!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-46708782383208221042011-08-23T02:05:02.892+02:002011-08-23T02:05:02.892+02:00it took me a hours, thanks a lot for your postit took me a hours, thanks a lot for your postRedahttps://www.blogger.com/profile/06288963518687451680noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-24958000680803940772011-08-08T09:15:02.237+02:002011-08-08T09:15:02.237+02:00This solved my problem. Thank you very much. I'...This solved my problem. Thank you very much. I've searched about this problem for a long time and this information is very helpful for me.Özlem Gürseshttps://www.blogger.com/profile/07206154922067315591noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-45818012627645216782011-07-08T21:11:00.634+02:002011-07-08T21:11:00.634+02:00solved my problem too.. same problem as jan, bean ...solved my problem too.. same problem as jan, bean had some properties that were getting lost when scope was set to request. Changed the scope back to session and it worked like a charm. Extremely annoying bug in jsf though hope this improves with newer releases.sasmitnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-29633151523216008072011-05-17T21:09:41.941+02:002011-05-17T21:09:41.941+02:00Thanks, it was informative and hlepd me fix a bug....Thanks, it was informative and hlepd me fix a bug.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-42163651648304343842011-04-21T11:29:58.731+02:002011-04-21T11:29:58.731+02:00I've had the same problem. A non-working butto...I've had the same problem. A non-working button, because of an action that wasn't called. In my case, it turned out that the problem was that the actionbutton had some properties that read from a request-scope-bean (rendered, value) Since the bean had request scope, the values were lost before i clicked the actual button. (after rendering the page with the button on it) After changing the bean scope to session, the problem disappeared.Johannoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-40341964384819330152011-01-28T20:40:26.541+01:002011-01-28T20:40:26.541+01:00Thank you so much !! this helped solve my problem....Thank you so much !! this helped solve my problem. I had spent close to 4 hours trying to figure it out before I saw your post.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-51908812095414783802010-11-30T09:44:23.889+01:002010-11-30T09:44:23.889+01:00Another reason this issue can happen (that we came...Another reason this issue can happen (that we came to know spending few hours) is when commandButton is placed inside the verbatim tag...Venkhttps://www.blogger.com/profile/05087485928458546370noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-71331734336510558002010-11-12T01:48:01.514+01:002010-11-12T01:48:01.514+01:00If this helps anyone, I had this "action not ...If this helps anyone, I had this "action not being called without any error message" thing because I declared the myfaces extension filter in web.xml but somehow forgot to map it to jsf servlet. My form with a tag didnt call the backing beans action nor raised any exceptions or log messages. Took me like an hour. It was dreadfull.Pagenoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-2766355348315168052010-07-26T15:19:57.908+02:002010-07-26T15:19:57.908+02:00Hey Jan,
Thanks for this info.Hey Jan,<br />Thanks for this info.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-64822513642018681342010-05-04T22:49:12.285+02:002010-05-04T22:49:12.285+02:00Hi,
Thanks for the blog.. The way I see jsf *&...Hi,<br /><br />Thanks for the blog.. The way I see jsf *&^*%&&^ is modelled after .net crap and this wastes tonnes and tonnes of time... and if you are stuck, then good luck.. just like .net you will be lucky to get any help.<br /><br />Such a waste of time. Spring or even Struts was so swift and cleaner. Yes, jsf saves (again if you are lucky) some time in sorting tables and all those craps... but jsf is not worth any effort... it is big shame on open source and people who write code for jsf should be sent to MS corp for testing.<br />.......Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-61131497914249578442009-09-18T18:28:16.339+02:002009-09-18T18:28:16.339+02:00I know this posting is old, but in my case I had a...I know this posting is old, but in my case I had a rendered attribute on my commandButton. If the rendered attribute resolves to false when the commandButton is clicked the defined action does not get called.Unknownhttps://www.blogger.com/profile/02664666454425298974noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-43200972575635656012009-02-13T05:49:00.000+01:002009-02-13T05:49:00.000+01:00Yupe there should be some logging msgs even to tra...Yupe there should be some logging msgs even to track the flow atleast. i used the debug to track out the issue and came to see the contraol returning back driectly from JSF jars itself. Even no logs...Shivajihttps://www.blogger.com/profile/13457085113011550939noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-11821518911724105902008-11-15T01:11:00.000+01:002008-11-15T01:11:00.000+01:00Same problem. Drives me up a wall. Make me think J...Same problem. Drives me up a wall. Make me think JBoss is a toy. We should at least see an error message in the log.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-88797468393520834802008-11-13T02:31:00.000+01:002008-11-13T02:31:00.000+01:00Dudes, I agree there should be better feedback fro...Dudes, I agree there should be better feedback from the JSF implementation you're using. <BR/>However, the framework relies on Java Beans. There are specific conventions for what constitutes a property on a bean. A setter that doesn't return void is not a bean property and therefore won't be used as a property.<BR/>Not sure if your JSF impl will tell you when it can't find properties, but the h:messages tag is supposed to provide JSF error feedback. <BR/>Matheus, this has nothing to do with Java. Your comment is the equivalent of saying computers suck.Anonymoushttps://www.blogger.com/profile/14695627311322754581noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-5402962926562631532008-09-23T21:39:00.000+02:002008-09-23T21:39:00.000+02:00@matheusBecause of the bug in a web framework base...@matheus<BR/>Because of the bug in a web framework based on Java I wouldn't come to the conclusion that Java sucks.janhttps://www.blogger.com/profile/09450549833036134264noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-26458637849167694232008-09-23T21:18:00.000+02:002008-09-23T21:18:00.000+02:00That makes me think Java sucks...That makes me think Java sucks...Unknownhttps://www.blogger.com/profile/14238081068682122325noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-9217412807291404272008-09-19T22:46:00.000+02:002008-09-19T22:46:00.000+02:00Its amazing this happens in JSF its a big time was...Its amazing this happens in JSF its a big time wasterAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-41912309654418169262008-07-26T16:27:00.000+02:002008-07-26T16:27:00.000+02:00Thank you very much. It was a big problem for me t...Thank you very much. It was a big problem for me to fix it in a complex page without any errors dumpedAnonymousnoreply@blogger.com