Hi,

I"m using Tomahawk 1.1.9.  I am trying to assign unique ids to my checkboxes
that are part of a t:selectManyCheckbox list.  I have

        <t:selectManyCheckbox id="tourSelection" layout="spread"
forceId="true"
                             
value="#{capitolToursController.tourSelections}"
                              onclick="toggleTourView(this);" >
          <f:selectItem itemValue="#{capitolToursController.tourTypes[0]}" 
                        itemLabel="  Dome Walk" /> 
          <f:selectItem itemValue="#{capitolToursController.tourTypes[1]}"
                        itemLabel="  Historical Tour" />
          <f:selectItem itemValue="#{capitolToursController.tourTypes[2]}"
                        itemLabel="  Legislative Tour" />
        </t:selectManyCheckbox>

and then later on down the page I have

<t:checkbox id="domeTour" index="0" for="tourSelection" />

amongst others.  However the HTML that is generated does not use the "id"
attribute from the checkbox, instead, generating ...

<input id="tourSelection:0" type="checkbox" name="tourSelection"
value="domeTour" onclick="toggleTourView(this);" />

What am I doing wrong? - Dave
-- 
View this message in context: 
http://old.nabble.com/Why-is-t%3Acheckbox-ignoring-my-%22id%22-attribute--tp26409761p26409761.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to