You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Paul Spencer <pa...@apache.org> on 2006/06/14 18:30:58 UTC

Is the class attribute missing from the generated in ?

Their a few recent thread around this issue, but it appear the class 
attribute in the generated <input> for the tab in <t:panelTabbedPane> is 
missing.

Is the class attribute missing from the generated <input> in 
<t:panelTabbedPane>?

If it is, should I create an Issue?

** Tag used to generate the tabbed panel
<t:panelTabbedPane width="90%" align="center" 
activeTabStyleClass="activeTabHeader" activeSubStyleClass="activeSub" 
tabContentStyleClass="activeTab">

** Generated code that displays the tab
<td id="_idJsp2_headerCell" 
class="myFaces_panelTabbedPane_activeHeaderCell activeTabHeader">
<input type="submit" name="_idJsp1.0" value="Rate, Yield, &amp; Uptime" 
onclick="return 
myFaces_showPanelTab(0,'_idJsp1_indexSubmit','_idJsp2_headerCell','_idJsp2',panelTabbedPane_5F_5FidJsp1_5FHeadersIDs,panelTabbedPane_5F_5FidJsp1_5FIDs,'activeTabHeader',null,'activeSub',null);" 
/>
</td>

** Expected generated code that displays the tab.  The difference is the
    addition of the class attribute on the <input> tag.
<td id="_idJsp2_headerCell" 
class="myFaces_panelTabbedPane_activeHeaderCell activeTabHeader">
<input type="submit" name="_idJsp1.0" value="Rate, Yield, &amp; Uptime" 
onclick="return 
myFaces_showPanelTab(0,'_idJsp1_indexSubmit','_idJsp2_headerCell','_idJsp2',panelTabbedPane_5F_5FidJsp1_5FHeadersIDs,panelTabbedPane_5F_5FidJsp1_5FIDs,'activeTabHeader',null,'activeSub',null);" 
class="myFaces_panelTabbedPane_activeHeaderCell activeTabHeader"/>
</td>


Paul Spencer