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}"/>
    </tr:panelGroupLayout>
  </f:facet>
  <s:selectItems value="#{images}" var="i" label="#{i.url}" />
</ck:selectManyComps>

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?

thanks 
christian

Reply via email to