ArticlesTutorialsInterview Questions & AnswersCertificationsFree Books & Sample ChaptersTechnical Discussions  Your Account | Advertise with us | Feedback |
Few pages of this site are under construction and we are constantly trying to improve it. If you have any suggestions or ideas about how to improve the site, please Let us know.
Tomahawk TabChangeListener

 t:swapImage Tomahawk Tag Home
t:tree 

<t:tabChangeListener>


Contents

  1. Introduction
  2. Tag Attributes
  3. Example

Introduction

The t:tabChangeListener tag represents an event handler that can response to tab change events.



Tag Attributes


AttributeDescription   Type    
type(required) The name of the class that will be added to the HtmlPanelTabbedPane component as a TabChangeListener  


Example


<t:panelTabbedPane id="myTabContainer"   
                  serverSideTabSwitch="true"
                   binding="#{myBean.tabbedPane}"
                   selectedIndex="#{myBean.selectedIndex}">
    <t:panelTab id="myTab1" label="Information1">
        <f:subview id="myInformation1">
            <jsp:include page="/WEB-INF/jsp/myJsp1.jsp"/>
        </f:subview>
    </t:panelTab>
<t:panelTab id="myTab2" label="Information2">
        <f:subview id="myInformation2">
            <jsp:include page="/WEB-INF/jsp/myJsp2.jsp"/>
        </f:subview>
    </t:panelTab>
    <t:tabChangeListener type="myproject.MyTabChangeListener" />
</t:panelTabbedPane>
 t:swapImage Tomahawk Tag Home
t:tree 
Test

  ALSO SEE :

About Us | Our Mission | Terms of use | Author Terms |    Search        | Contact Us | Advertise With Us | Link to Us | Sitemap
Copyright © 2016 developersBOOK.COM. All rights reserved.