I hope It would be useful for you.

public class CustomStep extends WizardStep {

    private static final long serialVersionUID = 838959800764720492L;
    public static final String ID = "customStep";

    public CustomStep(Panel custom, IModel title, IModel summary)
    {
        super(title, summary);
        add(custom);
    }
}
<wicket:panel>
    <div wicket:id="customStep"></div>
</wicket:panel>


public class CustomPanel extends Panel {
    private static final long serialVersionUID = -555733469342362042L;

    public CustomPanel() {
        super(CustomStep.ID);
    }
    public CustomPanel(String id){
        super(id);
    }


}


public final class MyStep extends CustomPanel{
    .... write your own ...
}

finally


        MyStep mystep=new MyStep(...);

        wizard.add(new CustomStep(myStep, new ResourceModel(....), new
ResourceModel(...));

bye!

On Mon, May 4, 2009 at 7:04 AM, Vidhya Kailash <[email protected]> wrote:

> Hi
> I would like to know if there is a way to re-use panels of the WizardSteps
> as tabs of TabbedPanel. More precisely, I have a scenario where I lead the
> user thru product creation using Wizard (basically inputting product
> details). I want to re-use some of the wizard steps as tabs for editing the
> product. That way I dont have to repeat the product attributes...
> Any help/thoughts much appreciated.
> thanks
>
>
>
>




-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/

Reply via email to