tag:blogger.com,1999:blog-5396570633771229267.post6034791324342289879..comments2024-03-29T08:43:05.719+01:00Comments on The BalusC Code: The OmniFaces project has startedBalusChttp://www.blogger.com/profile/00299057045960008647noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-5396570633771229267.post-44749374201385544912014-01-28T10:13:06.743+01:002014-01-28T10:13:06.743+01:00I have two selectOneRadio button in a JSF page and...I have two selectOneRadio button in a JSF page and i should select either of one. So i have used id attribute in selectOneRadio button to identify those but it gives "illegalestate" Exception with "Duplicate component ID" and "com.sun.faces.util.Util.checkIdUniqueness" message.<br /><br />What i have to do i tried with "id" and "binding" superhttps://www.blogger.com/profile/17868675310115942879noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-79464004287004586112014-01-28T10:12:38.987+01:002014-01-28T10:12:38.987+01:00I have two selectOneRadio button in a JSF page and...I have two selectOneRadio button in a JSF page and i should select either of one. So i have used id attribute in selectOneRadio button to identify those but it gives "illegalestate" Exception with "Duplicate component ID" and "com.sun.faces.util.Util.checkIdUniqueness" message.<br /><br />What i have to do i tried with "id" and "binding" superhttps://www.blogger.com/profile/17868675310115942879noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-58953965234262511702013-10-16T11:46:00.530+02:002013-10-16T11:46:00.530+02:00Hi BaluC,
Here I have requirement of validation f...Hi BaluC,<br /><br />Here I have requirement of validation for a double value input text.<br /><br />I need to validate a range of double values like from 0.0 to 20.5 etc.<br /><br />But if the application runs in dutch user enters it as 0,0 to 20,5. So depending upon the locale, format of the digits will be changed and validation should be applied accordingly. <br />Could you please suggest, canNaresh Kavalahttps://www.blogger.com/profile/00786561982776590894noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-52825338928637837672012-03-27T21:23:43.659+02:002012-03-27T21:23:43.659+02:00Looking forward to testing it. Congratulations Bal...Looking forward to testing it. Congratulations BalusC.Anonymoushttps://www.blogger.com/profile/06174429161002859372noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-60520036695892198952012-03-14T03:00:46.026+01:002012-03-14T03:00:46.026+01:00Thank you for your answer BalusC. By the way, sick...Thank you for your answer BalusC. By the way, sick sick awesome implementation on the ajax exception handler. I tried it today, and it is great. The ability to show the error without redirect, so if the user click "back", it still retain the form attribute. Great thinking man.Thang Phamhttps://www.blogger.com/profile/12898880509356389303noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-66716988182075509402012-03-12T04:06:51.751+01:002012-03-12T04:06:51.751+01:00@Thang: JSF/Facelets handles this implicitly and t...@Thang: JSF/Facelets handles this implicitly and transparently. When you specify a tag attribute in the view, then JSF/Facelets will look for a setter on the component class and if it is available then invoke it. If there wasn't a setter, then the attribute will just end up in the getAttributes() map (the "real" attributes also, but you get the point). <br /><br />By the way, this BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-30227990614770125942012-03-12T03:15:47.735+01:002012-03-12T03:15:47.735+01:00Hi BalusC: I am hacking at OmniFaces sources now, ...Hi BalusC: I am hacking at OmniFaces sources now, and I have a question. I am a bit new in JSF, so please forgive me if my question is rather silly. So I am looking at org.omnifaces.component.tree.Tree, and using the exact JSF code you provide for o:tree on your blog. I put break points in Tree.java, and I see it stop at <br /><br />public void setVar(String var) {<br /> getStateHelper().put(Thang Phamhttps://www.blogger.com/profile/12898880509356389303noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-34156225403068119322012-03-06T14:17:47.565+01:002012-03-06T14:17:47.565+01:00Neat project, I see plenty of potential in this.Neat project, I see plenty of potential in this.Gimbyhttps://www.blogger.com/profile/17665231831706902752noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-64109338929028639772012-03-05T17:53:13.680+01:002012-03-05T17:53:13.680+01:00Servlet 3.0 dependency has been removed and it is ...Servlet 3.0 dependency has been removed and it is Servlet 2.5 now.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-12750150751040635632012-03-04T19:02:39.999+01:002012-03-04T19:02:39.999+01:00Yes, discuss this with Arjan please. This is impor...Yes, discuss this with Arjan please. This is important IMHO, that Servlet 2.5 is supported as well. Also Java 5 support is required (build with java target 1.5.) because JSF standard (and PrimeFaces of course :-)) support this.<br /><br />Thanks in advance.Oleg Varaksinhttps://www.blogger.com/profile/13872270134068047346noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-56202870230194623582012-03-04T14:01:43.277+01:002012-03-04T14:01:43.277+01:00The project is currently built against Java EE 6 W...The project is currently built against Java EE 6 Web profile. As far Servlet 3.0 is concerned, only the constant field values of RequestDispatcher are been used in the full ajax exception handler. It's in theory possible to hardcode them ourself, so that we can continue with a Servlet 2.5 requirement. I'd have to discuss about this with Arjan first.BalusChttps://www.blogger.com/profile/00299057045960008647noreply@blogger.comtag:blogger.com,1999:blog-5396570633771229267.post-60753289407589274692012-03-04T11:52:19.885+01:002012-03-04T11:52:19.885+01:00Congrats to a new project! Very useful stuff. Unfo...Congrats to a new project! Very useful stuff. Unfortunately, but a dependency to Servlet 3.0 is a main success killer. thousands+ of apps are running in "old" containers yet by reason of customers environment. Where this dependency is needed exactly?Oleg Varaksinhttps://www.blogger.com/profile/13872270134068047346noreply@blogger.com