tag:blogger.com,1999:blog-5396570633771229267.post7624740900406393832..comments2024-03-03T14:43:52.399+01:00Comments on The BalusC Code: Debug JSF lifecycleBalusChttp://www.blogger.com/profile/00299057045960008647noreply@blogger.comBlogger102125tag:blogger.com,1999:blog-5396570633771229267.post-17254688996707229142023-08-06T16:58:44.114+02:002023-08-06T16:58:44.114+02:00Hi BalusC, thank you for your post. However, there...Hi BalusC, thank you for your post. However, there is a confusing grammar error here:<br />"6. Render response.<br />The values to be shown are retrieved from the value binding getters in the backing bean, <b>expecting</b> the values for which a ConverterException has occurred. Behind the scenes those will be retrieved from the components in the UIViewRoot, e.g. Peterhttps://www.blogger.com/profile/02808744569238028852noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-54613421409276351732018-07-06T12:35:24.291+02:002018-07-06T12:35:24.291+02:00BalusC,
You're. The. Life. Saver.
Thank you ...BalusC,<br /><br />You're. The. Life. Saver.<br /><br />Thank you so much for your work: due to this article I was able to understand what was going on with my Primefaces code.<br /><br />Cheers mate,<br />Hugo.Hugo Tavareshttps://www.blogger.com/profile/06426804197288925614noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-2445365858600168932017-10-13T13:27:15.381+02:002017-10-13T13:27:15.381+02:00hi BalusC thank you for your excelent Posts
I hav...hi BalusC thank you for your excelent Posts <br />I have submitted the form but i get <br />MyBean getInputComponent: null<br />MyBean setInputComponent: javax.faces.component.html.HtmlInputText@6e7556fb<br />MyBean getOutputComponent: null<br />MyBean setOutputComponent: javax.faces.component.html.HtmlOutputText@2b77d551<br />MyBean setInputComponent: javax.faces.component.html.HtmlInputText@Belag Salahnoreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-30908946551745298602015-06-19T07:39:58.107+02:002015-06-19T07:39:58.107+02:00Thanks, nice explanation. It saved me a lot of tim...Thanks, nice explanation. It saved me a lot of time.Binh Nguyenhttps://www.blogger.com/profile/02069417158952884749noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-66465089198890256702014-06-11T17:27:15.807+02:002014-06-11T17:27:15.807+02:00hi balsus there is a way to encrypt form data usin...hi balsus there is a way to encrypt form data using validator ? im trying to encrypr form data then set new submitedvalue and finally send the new values to my managed bean etc.. but my problem is that the submitedvalue is not changing.<br /><br />in my validator class i have a method like this..<br /><br />((UIInput)componente).resetValue();<br />((UIInput)componente).setValue(encripter);<br />(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-58242470469454873662014-05-22T11:56:44.165+02:002014-05-22T11:56:44.165+02:00Thanks Balus !
I have an issue here. I have writte...Thanks Balus !<br />I have an issue here. I have written code almost similar to the code written by you. But it is printing phase stage twice every time. <br /><br />START PHASE RESTORE_VIEW 1<br />START PHASE RESTORE_VIEW 1<br />END PHASE RESTORE_VIEW 1<br />END PHASE RESTORE_VIEW 1<br /><br />Please help me outAnonymoushttps://www.blogger.com/profile/05572399838924028516noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-19611359336718165922014-04-04T12:36:22.811+02:002014-04-04T12:36:22.811+02:00I have a h:selectOnemenu component in my jsp,but u...I have a h:selectOnemenu component in my jsp,but unable to display the value from the database.I get the value from the backing bean,but those values are not displayed in UI. I have a master.jsp(name changed) page and secondary.jsp(name changed) page. My secondary.jsp contains h:selectOneMenu components. secondary.jsp file is included in master.jsp, master.jsp has a h:form component and the Maheshhttps://www.blogger.com/profile/02542240510532431853noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-67854004127865001532014-04-04T07:20:32.692+02:002014-04-04T07:20:32.692+02:00@riha: that happens in apply request values phase....@riha: that happens in apply request values phase.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-4608908386126841812014-04-03T23:10:46.987+02:002014-04-03T23:10:46.987+02:00If immediate="true" is set for both UIIn...If immediate="true" is set for both UIInput and UICommand components, then model should have been partially updated for those input components with immediate="true", so that the values that was passed in those input components could be easily retrieved later. Otherwise, in the "Password forgotten" example quoted by you, how would we retrieve the username after the rihahttps://www.blogger.com/profile/08422226085322240388noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-12948194391840007012014-03-11T19:44:48.671+01:002014-03-11T19:44:48.671+01:00I have doubt, recently i am facing an issue in few...I have doubt, recently i am facing an issue in few pc,when a jsf page is having h:commandbutton in a4j:form, the form is not submmitted. It is showing page cannot be displayed.<br />Kindly advise on this issue.mikehttps://www.blogger.com/profile/05845452304498514675noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-45463062266061377382014-02-08T21:15:33.092+01:002014-02-08T21:15:33.092+01:00This comment has been removed by the author.Köll S. Cherizardhttps://www.blogger.com/profile/13676347483518693966noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-30081846765182590442014-02-08T21:07:17.874+01:002014-02-08T21:07:17.874+01:00This comment has been removed by the author.Köll S. Cherizardhttps://www.blogger.com/profile/13676347483518693966noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-31782195698069152662013-12-13T20:34:18.412+01:002013-12-13T20:34:18.412+01:00I have read this post, but I still don't get t...I have read this post, but I still don't get the whole idea of the JSF lifecylce. Could you add another example where you follow one link from one page to another different page?Albertohttps://www.blogger.com/profile/16190323125385263272noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-63794753501095898232013-10-01T11:24:43.576+02:002013-10-01T11:24:43.576+02:00I have a JSF application running on 2.1.18.
I am t...I have a JSF application running on 2.1.18.<br />I am trying to restrict number of views in my application. I am having doubt which parameter is responsible<br />1) Is it web.xml context param numberOfViewsInSession or<br />2) A parameter(com.sun.faces.application.view.activeViewMapsSize) is to be set in Session.R. S.https://www.blogger.com/profile/03720749483421748488noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-67459853646124886362013-09-23T08:21:07.370+02:002013-09-23T08:21:07.370+02:00Hi BalusC,
I have a doubt for you. If render respo...Hi BalusC,<br />I have a doubt for you. If render response is null in the JSF lifecycle then what happens?<br /><br />Thanks<br />RaghavendraAnonymoushttps://www.blogger.com/profile/12813216611461714220noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-1365066385173282682013-09-17T17:17:02.682+02:002013-09-17T17:17:02.682+02:00This comment has been removed by the author.Prabu Selvarajanhttps://www.blogger.com/profile/02465035745057942982noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-17628961821651176662013-09-17T17:15:17.568+02:002013-09-17T17:15:17.568+02:00Really a very nice and useful article to understan...Really a very nice and useful article to understand the JSF life cycle. Thanks a lot :-). Prabu Selvarajanhttps://www.blogger.com/profile/02465035745057942982noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-33785317106749729072013-09-16T16:05:21.090+02:002013-09-16T16:05:21.090+02:00Nice article, Any one can easly understanding jsf ...Nice article, Any one can easly understanding jsf life cycleAnonymoushttps://www.blogger.com/profile/11172937021097576630noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-60371563000985085462013-08-28T17:45:04.674+02:002013-08-28T17:45:04.674+02:00@Gita: well spotted, that part was incorrect. I...@Gita: well spotted, that part was incorrect. I've updated the post.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-79356895330394980402013-08-27T19:44:17.901+02:002013-08-27T19:44:17.901+02:00First of all thank you for this wonderful article....First of all thank you for this wonderful article. I have questions about validation error.<br />In Validation Error part you mentioned<br />"Update model values.<br />This phase is skipped due to the ValidatorException."<br />but in note part you mentioned<br />"any other UIInput components inside the same form which don't throw a ValidatorException will continue the lifecycleAnonymoushttps://www.blogger.com/profile/10199879198365233744noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-84696893356853218702013-08-14T16:15:39.945+02:002013-08-14T16:15:39.945+02:00Hi, I have a jsf page with few input components an...Hi, I have a jsf page with few input components and two h:selectOneMenu component.On selection of a value in the first drop down am calling a valuechange listener and submitting the form.Then am populating the value into the other drop down depending on the value selected from the first drop down. Now I enter other fields and on click of the submit button I'm getting null values in my backingMaheshhttps://www.blogger.com/profile/02542240510532431853noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-6804316334689314712013-07-14T06:43:17.257+02:002013-07-14T06:43:17.257+02:00Any idea what the following phase-cycle log entrie...Any idea what the following phase-cycle log entries indicate - no other log entries are created while first and last phase repeat 4 times:<br /><br />00:07:25,769 INFO [stdout] (http--0.0.0.0-8080-1) START PHASE RESTORE_VIEW 1<br /><br /><br />00:07:25,854 INFO [stdout] (http--0.0.0.0-8080-1) END PHASE RESTORE_VIEW 1<br /><br /><br />00:07:25,991 INFO [stdout] (http--0.0.0.0-8080-1) START tmmmviiihttps://www.blogger.com/profile/04799420185552639602noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-49807327121576441642013-07-05T12:57:20.270+02:002013-07-05T12:57:20.270+02:00@My Turf: fixed, thank you.@My Turf: fixed, thank you.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-38139332033805279832013-07-05T04:16:26.133+02:002013-07-05T04:16:26.133+02:00Clear & well-organized. One typo, expect for =...Clear & well-organized. One typo, expect for => except forMy Turf, My Stylehttps://www.blogger.com/profile/18286298674357594413noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-8100568060648054122013-02-04T23:14:35.406+01:002013-02-04T23:14:35.406+01:00Nice explanation Nice explanation Anonymousnoreply@blogger.com