Bonjour,
Je suis occupé à écrire ma première application jsf et j'ai un problème avec un <t:panelTabbedPane>.
Je voudrais afficher trois tab dans ma page:
<t:panelTabbedPane selectedIndex="0" activeTabStyleClass="selectedTabHeader" inactiveTabStyleClass="tabHeader" bgcolor="silver">
<t:panelTab label="#{msg.viewES_tab1_title}" styleClass="tab" >
<f:verbatim>
<jsp:include flush="true" page="/jsp/stockelement/viewEsTab1.jsp"/>
</f:verbatim>
</t:panelTab>
<t:panelTab label="#{msg.viewES_tab2_title}" styleClass="tab">
<f:verbatim>
<jsp:include flush="true" page="/jsp/stockelement/viewEsTab1.jsp"/>
</f:verbatim>
</t:panelTab>
<t:panelTab label="#{msg.viewES_tab3_title}" styleClass="tab">
<f:verbatim>
<jsp:include flush="true" page="/jsp/stockelement/viewEsTab1.jsp"/>
</f:verbatim>
</t:panelTab>
</t:panelTabbedPane>
pour l'exemple, j'inclu trois fois la même jsp qui contient:
<h:form name="viewEsForm">
<table width="100%">
<tr>
<td class="pagePartTitle">
<h:outputText value="#{msg.es_subtitle_general}"/>
</td>
</tr>
<tr>
<td class="fieldsLabelWithoutWidth" width="25%">
<h:outputText value="#{msg.es_field_label}"/>
</td>
<td class="fieldsWithoutWidth" width="25%">
<h:outputText value="#{stockElementBean.label}" styleClass="basicFont"/>
</td>
<td class="fieldsLabelWithoutWidth" width="25%">
<h:outputText value="#{msg.es_field_description}"/>
</td>
<td class="fieldsWithoutWidth" width="25%">
<h:outputText value="#{stockElementBean.description}" styleClass="basicFont"/>
</td>
</tr>
</table>
</form>
Quand je lance l'application, il m'affiche bien les information, mais il ne tiens aucun compte de la présentation sous forme de table ni de mon css...
Quelqu'un a une idée?
Merci d'avance.
Partager