. . . . . .
ResponseWriter jw = context.getResponseWrite();
... reqObj = (my object)((HttpSession)context.getExternalContext().getSession(false)).getAttribute("customerSearch");
jw.write(
"TestForEach"); int j = reqObj.getObjectList().size(); for(int i=0; i<j; i++){jw.write(
"<h:panelGroup styleClass=...\"");jw.write("<h:panelGroup rendered=\"true\">");
jw.write( "<h:commandLink action=\"#{...}\">");
jw.write( "<h:outputText value=\"#{...}\"></h:outputText>");
jw.write( "<h:outputText value=\"test" + i + "\"></h:outputText>");
jw.write( "<f:param name=\"seq\" value=\""+i+ "\"></f:param>");
jw.write( "</h:commandLink>");
jw.write( "</h:panelGroup>");
}
How to use directly the exisiting UIComponent in the custome tag?
are there examples?