wizard reset
I had this problem too. My (quite dirty) solution was to bind the Wizard component to a backing bean, then give every tab you use inside the wizard a unique id. Then you can set the "step"-property of you wizard with e.g. a commandButton with a f:setPropertyActionListener attached like this:
"firststep" would be the id of your first tab. Additionally you have to make sure that the backing-bean values of your wizard are being reset.<p:commandButton value="Reset" update="myWizard">
<f:setPropertyActionListener value="firststep" target="#{bean.wizard.step}" />
</p:commandButton>
Thanks. But when I bind my wizard to a wizard within backing bean (some thing like ), the wizard on the page doesn't work correctly
Code: Select all
private Wizard wizard = new Wizard();
What charactor from the wizard of oz should my husband dress up as? our baby girl will be a couple months come halloween and she's going to be the wicked witch. I will be dorothy. My husband wanted to be the great and powerful wizard of oz, but that's proving difficult as he was imagining parinting his face green with a bald cap to kinda look like a floating head but it may or may not turn out too well. Anyone with creative ideas? Ya know, something besides the main characters themselves.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests