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…
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…
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…
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:
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…
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:
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…
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
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…
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…
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…
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.
…
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 ?
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…