Questions tagged [uiinclude]

JSF/Facelets tag to include a composition.

The <ui:include> is a Facelets tag which allows you to include a composition.

78 questions
0
votes
1 answer

How to call the same method after every include of a .xhtml page in JSF?

I have the following part of a .xhtml page:
Mansouritta
  • 166
  • 1
  • 1
  • 10
0
votes
1 answer

Repeat multiple ui:include with each their own bean and collect submitted data from them all

I have one file with multiple file included on that Once submitting file, I am fetching the Managed bean of all the…
Kinkar
  • 9
  • 4
0
votes
1 answer

Handling TagAttributeException and change ui:includeSrc

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.…
Balaji
  • 275
  • 1
  • 4
  • 13
0
votes
0 answers

Get value of in managed bean

index.xhtml: ... ... fullPath is something like "WEB-INF/parts/customPart.xhtml". It works well and each…
vtomic85
  • 590
  • 1
  • 11
  • 32
0
votes
1 answer

Forced to use a HTML tag when using

I'm using Primefaces 5.2 and this is my index:
0
votes
0 answers

How do I troubleshoot broken includes in a JSF project?

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…
Markus N.
  • 233
  • 4
  • 10
0
votes
2 answers

Put start and end tags in separate include files

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…
Korki Korkig
  • 2,736
  • 9
  • 34
  • 51
0
votes
1 answer

To render ui:include on basis of screen width

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?
0
votes
2 answers

Primefaces dynamic dialog with ui:include not working after PF upgrade from 4.0 to 5.1

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…
Vinicius
  • 1
  • 1
  • 4
0
votes
1 answer

importing content into jsf h:inputTextarea

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