Tag Archives: JSF

Jboss Seam problem with Pages.xml – Does not recognize Page actions

I had a strange problem where Seam (used 2.1.0) did not recognize the page actions specified in the pages.xml which was placed under WEB-INF. I searched around and found no one had such a problem and of course the problem … Continue reading

Posted in Technology | Tagged , | 1 Comment

Comments with Facelets

Looking for a date or love? Click here to find one for free!! Find Singapore Apartment¬† and Room Rentals here India Stock Market blog If you are using xhtml for facelets then you might have come across cases where the … Continue reading

Posted in Technology | Tagged , | 2 Comments

Java Server Faces (JSF) 1.2 tidbits

Prior to version 1.2 of JavaServer Faces technology, page authors used the loadBundle tag to load a resource bundle into a page in order to reference localized data from a page. Page authors can still load resource bundles into a … Continue reading

Posted in Technology | Tagged , | 1 Comment

Business Validations in one place using Hibernate Validator Framework

Validating business data is a must in almost all applications. So far the common approach had been to define these constraints at multiple Tier – Web , Business and Data. This results in duplicated and distributed¬† validation logic. Hibernate Validator … Continue reading

Posted in Technology | Tagged , , , , | Leave a comment

Reading the parameter associated with a JSF CommandLink with Seam?

If you have a parameter to be passed along with a JSF CommandLink action and you are using Seam component as the backing bean then you can inject the parameter value using the Seam’s @RequestParameter Annotation. RK Find Singapore Apartment¬† … Continue reading

Posted in Technology | Tagged , , | Leave a comment

Does Seam DataModelSelection always returns the first row from the DataModel?

If your @DataModelSelection is always injecting the first row of your @DataModel then the reason is that you must be using #{seamComponent.listAttribute} in the value attribute of your <h:dataTable> element. Solution is to just use #{listAttribute}. That’s pretty simple but … Continue reading

Posted in Technology | Tagged , , | 5 Comments