I have a home page xhtml where i am including 3 child xhtml based on conditions.
The issue i am facing is , whatever be the scenario,Book.xhtml always gets invoked.
I changed the rendered condition to false or move out to another condition, but the…
I am using templates, which in my main template I have a
My problem is that the action method of any bean, is not called having been run on the previous page . Here is an example where when you click the…
I have the same problem as user1598186 has stated in his question here : p:commandButton doesn't call bean's method in an page
However, no solution has been given (he has removed tags altogether and used variables…
I am struggling with an issue where I am attempting to dynamically generate pages using JSF 2.1 and Primefaces for a kind of CMS project. My issue is that I am attempting to dynamically include a page that lives in a database using a custom…
This is the jakarta 9 and jsf 3 version of this classic topic from several years ago:
How to create a modular JSF 2.0 application?
The context is that I'm migrating a web app to tomcat 10.0.x, jakarta 9, jsf3, spring 6, etc as already detailed…
I've faced a strange problem recently with JSF 2.3 using Primefaces 6.2.
I use an ui:include with GET parameter directly in src like so:
When I run code in netbeans (tomcat 9.0) on Linux everything work great:…
Sorry if this is known, but I could not find it by searching. We were considering switching to MyFaces 2.2 instead of Mojarra. But we see one difference with the facelets templating. We have this:
a common template which has:
I have a basic UI (index.html) that is divided into Header, Footer and Content. The content-page is either on the same (local.xhtml) server like the index.html or on another (remote.xhtml) server.
Including the pages and dynamically reloading them…
I've been trying to get a "generic" dialog, with autocomplete functionality, to work for a few days now. Turns out, I was just creating the MethodExpression the "wrong way". So I thought I'd document this here.
To reiterate: You want to dynamically…
On selecting a row, I need to update the page which is in ui:insert of p:dialog. What my issue is when the page is loaded I can select the row and fetch the data. After selection of another row, I am not able to fetch. There is no action going…