Wizard component / Need "onShowTab"

UI Components for JSF
Post Reply
octave.detaille
Posts: 2
Joined: 10 Apr 2012, 11:47

10 Apr 2012, 11:56

Hi!

I'm using the "Wizard" component, and I need to have client side code called just after tab change ... This feature exists for "TabView" (onTabShow, onTabChange), but not for the "Wizard" ... How can I implement this? Is it possible to easily extend the Wizard component and if yes, how?

Thanks a lot for your help.
Octave





PS : This is my first post in this forum ... PrimeFaces roxxx :-)

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

10 Apr 2012, 19:59

You should have done something BEFORE your first post ;-)

[PLEASE PLEASE PLEASE READ BEFORE POSTING]

octave.detaille
Posts: 2
Joined: 10 Apr 2012, 11:47

11 Apr 2012, 10:02

Done!

So I complete my post ... :-)
  • JSF Implementation : Mojarra 2.1.5 (SNAPSHOT 20111202)
  • PrimeFaces version : 3.2
  • Application server : JBoss AS 7.1.0.Final
To describe my problem using code instead of text, I would need something like that :

Code: Select all

<p:wizard>
    <p:tab id="tab1" title="First tab" onTabShow="javascript invoked just after having shown the tab">
</p:wizard>
This is not the "onback" or "onnext" which are invoked before changing tab.

Hope it is complete now :lol:

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 49 guests