myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laredotornado <>
Subject Why is t:selectOneRadio ignoring style, styleClass, and disabledClass?
Date Wed, 09 Dec 2009 15:17:02 GMT


I'm using MyFaces 1.1.6 with Tomahawk 1.1.9.  I have this element on my page

				<t:selectOneRadio required="true"
validator="#{domeTour.validateSpecialNeeds}" style="background-color:blue;"
styleClass="specialNeedsRadio" enabledClass="specialNeedsRadio"
id="domeTourSpecial_Needs" value="#{domeTour.specialNeeds}" layout="spread" 
onclick="showHideSpecialNeeds('domeTourSpecialNeedsDiv', this.value);">
					<f:selectItem itemValue="Yes" itemLabel="Yes" />
					<f:selectItem itemValue="No" itemLabel="No" />
				<t:radio for="domeTourSpecial_Needs" index="0"></t:radio>
				<t:radio for="domeTourSpecial_Needs" index="1"></t:radio>
but sadly, what is rendered is below.

                <label><input id="tourType:domeTourSpecial_Needs:0"
type="radio" name="tourType:domeTourSpecial_Needs" value="Yes"
onclick="showHideSpecialNeeds('domeTourSpecialNeedsDiv', this.value);"

    			<label><input id="tourType:domeTourSpecial_Needs:1" type="radio"
name="tourType:domeTourSpecial_Needs" checked="checked" value="No"
onclick="showHideSpecialNeeds('domeTourSpecialNeedsDiv', this.value);"

I say "sadly" because notice that the style and class elements disappeared. 
Where did they go and how can I get them back?  Thanks, - Dave

View this message in context:
Sent from the MyFaces - Users mailing list archive at

View raw message