![]()
Editing the Tabbed Pane JSP Page
A copy of the original MyFaces tabbedPane.jsp is included with the tabbedpane-myfaces sample and a copy of the modified tabbedPane.jsp is included with the tabbedpane-icefaces sample application.
Refer to the tabbedPane.jsp file that is located in:
<icefaces-install-dir>/tutorial/tabbedpane-icefaces/web/<f:loadBundle basename="com.icesoft.tutorial.resource.example_messages" var="example_messages"/ >2. A form tag is added to the page. The form tag is placed before the tabbedPane and after the messages.
... <x:messages id="messageList" showSummary="true" showDetail="true" summaryFormat="{0}:" / > <!-- add the form here -- > <h:form id="tabform" > <x:panelTabbedPane bgcolor="#FFFFCC" > ...</x:panelTabbedPane> <!-- close the form here -- > </h:form> </f:view><h:inputText onblur="iceSubmitPartial(form,this,event);" id="inp1"/ > <h:inputText onblur="iceSubmitPartial(form,this,event);" id="inp2" required="true" /><!-- remove the common command button as icefaces does not require it --> <h:commandButton value="#{example_messages['tabbed_submit']}" />
|
Copyright 2005. ICEsoft Technologies, Inc. http://www.icesoft.com |