We have dynamic menu items in a page and the links for include-source .xhtml stored in the DB, in this scenario if source xhtml is wrongly input or failed to find the application context it throws TagAttributeException with Invalid Path message.…
I need to merge the work of two developers in a JSF project. One changed the directory structure, the other changed content.
In my current merge result, some statements seem broken. Firefox shows the message "The page isn't…
I want to include html codes from different files into my main.xhtml page. But this doesn't work with the . Because the codes are separated to different files and this makes that each file has invalid html codes.
What I…
Is it possible to render on basis of screen width?
For example on desktop the header is normal but on mobile devices, render mobile header.
Is there some way I can achieve this USING JSF or JQUERY?
I've recently upgraded Primefaces from 4.0 to 5.1 and after that dialogs are not being shown after clicking the commandButton. It works with dynamic="false" but I need it to be lazy loaded. ExampleBean is sessionScoped and i'm using JSF 2.2. Can…
We are currently converting a Spring mvc/jsp app into a jsf app.
Previously we could import the content of a JSP segment file into a text area like this
is it possible in JSF facelets to do a conditional ui:include and preserve the layout of the parent (the including xhtml)?
Example: I have a form which has always some basic attributes rendered in a panelgrid with 4 columns (label, input, label…
I am creating a documentation page for my JSF web app and would like to include parts of the documentation as in a p:tooltip in the actual web page. Is there a way to only include certain divs in a ui:include? If this is the code of my…
I'm new to jsf.
I'm trying to send value to java bean from commandButton to change src in ui:include and render it with ajax so I when clicked commandButton I could refresh part from the page without load the whole page
and below is my code
\\\\\\\…
I hope you can help me.
I work with jsf and richefaces, I have a jsf page and I want to include all other pages according to a parameter and my problem is how can I introduce the test condition in my xhtml file.
THanks for your response,
there is my…