I have an issue that keeps arising with JSF 2 and Tomcat 7.0.0. When I setup Apache MyFaces 2.0.4 (by putting all the jars in my WEB-INF/lib folder), Tomcat deploys my WAR file successfully.
I have a first.jsf in which I include second.xhtml in the following way: <ui:include src=\"#{firstBean.srcForSecond}\" />
I have two vectors:开发者_C百科 private Vector<City> allCities; private Vector<Address> allAddresses;
With this maven dependency, it works : <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api</artifactId>
Using the resourcebundle with BV in JSF 2 would look something like this : public class UserBean { @Size(min=13, message=\"{creditcard.length}\")
I\'m trying to share an error page (error.xhtml) between multiple wars. They are all in a big ear application, and all use a common jar library, where I\'d like to put this.
I am working with an existing Web system using JSF and we are upgrading to JSF 2.0. Now we use t:saveState supplied by Tomohawk library to persist beans between requests. But, unfortunately, it is the
Let\'s start with an example : In my JPA entity public class User { @Pattern(\"^([0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9})$\", message=\"invalidEmailResou
I have a dialog for adding some data: <p:commandButton id=\"save\" actionListener=\"#{adminNationalController.saveTeam}\"
On my index.xhtml I have Java Server Face components which are displayed correctly and use a managed bean. But if I link to any other page or even a page with the EXACT same code those pages will not