How can I use session for facelets ? What\'s the syntax...? I would put a code like this <% String loginSession = (String)session.getAttribute(\"login\"); %>
Im trying to create a page that uses the rich:fileUpload, to (surprisingly) upload an image, once the upload is completed I want to \'hide\' the rich:fileUpload component and display the jQuery plugin
I have a simple data table which contains dynamic form text fields.Each field has an ID defined in the backing bean, so I wanted to use that ID to identify each of the h:inputText fields.
I\'d like to change the \"required\" property of an InputText that is located within an ui:repeat, but I\'m not able to access to 开发者_如何学编程the component from the ManagedBean:
Today I\'d like to know some features on the JSF Lifecycle. Let me start : 1 - Phase 2:Apply request Values - During this phase,each component in the view will search for its values in the request an
Edit: never mind! I\'m in the process of switching my project over from JSF 1.2 with Facelets to JSF 2 with Facelets. It looks like, in JSF 2, EL expressions in components that are not rendered are e
After reading this answer, I am still stumped.I agree that JSTL should be avoided and understand how its evaluation occurs in the wrong phase.However, per the documentation on the facelets development
As suggested by a user time ago in another question, I need to inject a bean in another bean. So, i do the following :
I\'m looking for a way to achieve the following switch in JSF: ... <div> if empty(<h:messa开发者_开发技巧ge for=\"x\">)
I have a very simple JSF 2.0 project. I have an index.xhtml file to show me a picture of Mount Rushmore.