Linked Questions

0 votes
2 answers
1k views

Possible Duplicate: How to make a grid of JSF composite component? I have a <p:panelGrid> with one column to produce the header and the footer. The text is in Portuguese, it says "Fields are ...
HavenNo7's user avatar
  • 107
0 votes
0 answers
12 views

For example, I have a composite component like this: ... <cc:implementation> <h:outputText value="#{binding.label}" /> <h:outputText value="#{binding.value}" /> ...
user777's user avatar
  • 896
180 votes
3 answers
103k views

I would like to output a bit of Facelets code conditionally. For that purpose, the JSTL tags seem to work fine: <c:if test="${lpc.verbose}"> ... </c:if> However, I'm not sure if this ...
Jan's user avatar
  • 9,765
110 votes
2 answers
61k views

I started using JSF 2.0 with Facelets recently and got puzzled by new composite components knowing existing <ui:include> and other templating techniques offered by Facelets 1.x. What is the ...
mrembisz's user avatar
  • 12.9k
82 votes
2 answers
122k views

There are lot of materials out there differentiating value attribute and binding attribute in JSF. I'm interested in how both approaches differ from each other. Given: public class User { ...
John Eipe's user avatar
  • 11.4k
25 votes
2 answers
55k views

I have found some similar questions like this one, however there are so many ways this can be done that it made me more confused. We are getting an XML file that we are reading. This XML contains ...
Shervin Asgari's user avatar
24 votes
1 answer
33k views

It occurs ago me that ui:decorate is functionally the same as ui:include except that you can also pass ui:param and ui:define to the included file. Am I crazy? EDIT : Although in fact you can pass ...
user207421's user avatar
  • 312k
22 votes
2 answers
10k views

I have a <ui:composition> that contains a few elements with explicit ids and some ajax events which reference these ids for partial processing/updating. I encapsulated this fragment of xhtml ...
Daniel Loiterton's user avatar
11 votes
1 answer
9k views

I have an issue with using p:outputLabel when used with composite component. I have composite component with p:inputText field (I removed irrelevant parts from component): <cc:interface> <...
partlov's user avatar
  • 14.4k
5 votes
2 answers
10k views

Other than c:if or c:choose, are there any better ways to implement conditional rendering of 1 component out of several components. Something like switch case for JSF pages?
Rajat Gupta's user avatar
  • 26.7k
7 votes
1 answer
2k views

ORIGINAL JSP (WorkItem.jsp) <c:forEach var="actionItem" items="${workItem.work_action_list}"> <c:if test="${actionItem.workActionClass.work_action_type_id == '1'}" > <%@ ...
jeff's user avatar
  • 3,722
2 votes
2 answers
2k views

Is it possible to reuse a form in two different views in JSF? I know about the ui:include but how would you do it with the action on the submit button for example? Or do I need to duplicate the forms?
LuckyLuke's user avatar
  • 49.2k
6 votes
1 answer
3k views

Is possible to something like this in jsf? <ui:composition> <x:reusableCode id="editScreen">InnerHtml ... </x:reusableCode> code... <x:use component="editScreen"/> </...
Daggeto's user avatar
  • 1,023
5 votes
1 answer
2k views

I have a JSF page. My CommandButton action method value is dependent on the bean variable value. Example: Bean headerBean has varaible actionValue with value "someBean.doAction1()" When I use , It ...
mahesh's user avatar
  • 51
1 vote
1 answer
3k views

My composite component (cc) creates an inputText-Field. The important part is, that it is rendered depending on the models property "visible". The model is given to the component via parm "name". <...
MarcG's user avatar
  • 13

15 30 50 per page