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

JSF - Dynamic amount of tabs in tabView, with dynamic tab contents

I'm new to JSF and I'd like your suggestions on how to implement what I need the best way possible. Also first post in StackOverflow, so please excuse me if I'm not clear about something. I've a p:tabView with a dynamic amount of tabs, generated…
Jorge.V
  • 1,329
  • 1
  • 13
  • 19
0
votes
0 answers

Dynamic templating in JSF

Background - I am working on a legacy JSF application which uses JSP as view technology. Now since we have decided to move to JSF 2.2/2.3, we are also changing the JSP pages to facelets. Issue - We have following template - Layout.xhtml - contains…
Akash
  • 608
  • 5
  • 17
0
votes
1 answer

Reusable JSF 2 include problems

I'm working on a State-City Dropdown based on ajax requests in JSF 2.0. The thing is that i want to reuse this jsf module (beans and xhtmls) for future implementations. Is there any solution that make it easy to the parentBean retrieve the id from a…
Max
  • 478
  • 4
  • 11
0
votes
1 answer

How to parameterize h:commandLink action attribute via ui:param

I am trying to parametrize the action attribute of in an include file:
Daniel Gray
  • 1,697
  • 1
  • 21
  • 41
0
votes
0 answers

rendered attribute not evaluated in include

I have a include file with a parameter bean which I use for two concrete java BeanA and BeanB classes. BeanB class has additional methods and therefore I check the render attribute to not access a method not available: View:
djmj
  • 5,579
  • 5
  • 54
  • 92
0
votes
0 answers

problems with ui:include using primefaces

Somehow I can't find the answer to my problem... In my WebApplication, I include content with ui:include. Now my problem is, that all Primefaces components (Buttons, InputText Fields,...) in the included files won't work, although they show in the…
ToMe
  • 1
  • 1
0
votes
0 answers

Lazy View not working when included to a xhtml file from other xhtml file

The Lazy View is working fine in ListIM.xhtml. On adding tag in ListIM.xhtml and including it in test.xhtml The Data Table appears but the lazy operations cannot be performed. test.xhtml:
sKiddie
  • 13
  • 5
0
votes
0 answers

JSF commandlink and graphicImage not using same values

This is driving me crazy. The following ui:composition is included in the main page using ui:include and renders images based on the List of random profile IDs provided however, using the same value of the profile ID in the command link is being…
Ectomorph
  • 94
  • 10
0
votes
1 answer

form included with ui:include not filling bean

This is problem: we have main page with included xhtml containing form. commandButton invoke action, but scoped bean doesn't fills by value of inputText. Code below: welcome_file.xhtml
0
votes
0 answers

When JSF including a page, it's not working but with direct values in include is working

While doing in the JSF page, its save functionality is working but while doing , the page is getting included but the save functionality is not working of the included page. Any help is…
munna
  • 1
  • 1
0
votes
0 answers

JSF facelets ui:include does not work

I am a newbie to JSF and facelets. I am trying to create a facelets template based on this tutorial. The common.xhtml does not display any text in header/content/footer.xhtml. I've read several posts relevant to this topic on stackoverflow, and…
Steven He
  • 21
  • 2
0
votes
0 answers

When setting values into a backing bean, can bean name be a variable

Is there a way to use a variable to define the backing bean when setting parameters. In our application, we allow multiple filtering criteria on most if not all columns on a table. We have developed a section of code that is copied into each column…
0
votes
0 answers

Is fixed in JSF 2.2?

I remember in JSF 2.1 the was a taghandler, as such, it was evaluated once when the component tree was built. When the src attribute changed before rendering, the page was always rendered using the previous value.
0
votes
1 answer

Is it ok to use a ui:repeat inside a ui:include

We all know the difference between build time and render time. It is definitely not a great idea to put a tag (build time) inside a (render time), but is the opposite okay to do? Can we use inside a ?
Sekhon
  • 108
  • 1
  • 10
0
votes
1 answer

Every include should refer to other instance

I include a part of the XHTML page to my Web Application. This part can be included multiple times. And that's the problem! Because every include refers to the same java object. That means that every element has the same value. But I want for each…
InformatikBabo
  • 510
  • 2
  • 8
  • 19