I am using Mojarra 2.2.8 and Primefaces 5.2. I need to include different facelets on ajax request, so i use this code in managed bean:
FaceletContext faceletContext = (FaceletContext)…
I am using Mojarra 2.2.11
Starting from How to ajax-refresh dynamic include content by navigation menu? with one leftMenu part (in one xhtml) and one content part where another xhtml #{pageBean.page} is included on the page: I want to update the…
I have a report that displays college course enrollment information in an expandable tree format. It displays the course prefix with the summary enrollment numbers and the specific course enrollment numbers when the prefix is clicked on. The report…
Is it possible to write inside ? When I am trying to use the content is not visible. When trying this with JSF 1.2, this is working but not with JSF 2.2.
Can anyone help me in understanding what…
I'm trying the include a component (with ui:include) and set a navigation rule for the caller page. The included component has a form; when submitted I want to display a feedback message (like growl) and conditionally display the included panel…
I am pretty new to JSF and facelets programming, I have followed the instructions in this link How to include another XHTML in XHTML using JSF 2.0 Facelets? to use the tags but strangely i see that the is not working on the…
Suppose I have the following in my JSF page:
If this is changing to be static content loading from a non-webapp path - is is possible to change my ui:include to an absolute path on the…
I include a header.html (not .xhtml) to my page, but when I preview my page, it give me error "XML Parsing Error: no element found". I do know that it is the tag no properly closed issue, but since my header page is a html file, not a xhtml file, it…
I have a JSF page with some common elements and then 4 parts that are dynamically loaded and included based on various user actions. I have beans which encapsulate the functionality of the various includes, and the structure is something like…
I want to display a group of editors in a tabview. Each editor has a property called component, that stores the rendered editor. Simple editors use HTML tags to render the editor, whereas complex ones use editors defined in another pages. I have…
My First Question, after years, thank you all and stackoverflow ;-)
I code a new Component for JSF2 and use it to include other templates.
It works perfectly for me.