Re: Wizard - change the component outlook

2007-10-25 Thread Eelco Hillenius
> 1)How would i pass my new css...don't see any api to do so ?

Any way you like it. You could add a header contributor for instance,
or create a head section in your new markup file if you're providing
that, or even put it right in your markup.

> 2)The new css ?, shouldnt it have the same classes defined as expected by
> the Wizard Panel components ?

If you don't override with your own markup, you can look at the markup
of the wizard classes to see which classes it uses.

> 3) How would i go about changing the css for the FeedbackPanel? Question 2
> applies on it too.

Same answers :-)

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wizard - change the component outlook

2007-10-25 Thread mfs

Questions - 

1)How would i pass my new css...don't see any api to do so ?
2)The new css ?, shouldnt it have the same classes defined as expected by
the Wizard Panel components ? 

3) How would i go about changing the css for the FeedbackPanel? Question 2
applies on it too.

Farhan.



Eelco Hillenius wrote:
> 
>> If i were to change the layout or lets say the default button names when
>> using the Wizard class, is there any way to do it other than extending
>> the
>> Wizard class itself and defining my custom markup ?
> 
> That depends on what you want to do. You can pass in false for the
> addDefaultCssStyle constructor argument and provide your own CSS. You
> can indeed override and provide custom markup. Or e.g. for the buttons
> override method newButtonBar and return a custom button bar. If you
> look at the code/ API you can see what extensions there are.
> 
> Eelco
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wizard---change-the-component-outlook-tf4665041.html#a13421096
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wizard - change the component outlook

2007-10-20 Thread Eelco Hillenius
> If i were to change the layout or lets say the default button names when
> using the Wizard class, is there any way to do it other than extending the
> Wizard class itself and defining my custom markup ?

That depends on what you want to do. You can pass in false for the
addDefaultCssStyle constructor argument and provide your own CSS. You
can indeed override and provide custom markup. Or e.g. for the buttons
override method newButtonBar and return a custom button bar. If you
look at the code/ API you can see what extensions there are.

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]