myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Klocker <>
Subject [Trinidad] custom renderer / use facet as template
Date Sat, 01 Sep 2007 16:30:56 GMT
i wrote a custom renderer for selectmany-components to render selectitems as user-defined components
instead of checkboxes. actually this renderer uses a facet "template" to get the components,
that should be renedered:

<ck:selectManyComps styleClass="imageSelection">
  <f:facet name="template">
    <tr:panelGroupLayout layout="vertical">
      <tr:icon name="sound"/>
      <tr:outputText value="#{label}"/>
  <s:selectItems value="#{images}" var="i" label="#{i.url}" />

the problem here is that components inside the facet are already associated to an identifier
and hence this ids are duplicated...

so, i'd like to ask:
- how can i reassign those component-ids?
- is there a better way to pass template-text to a renderer?


View raw message