RE: RadioChoice vs. RepeatingView inside RadioGroup

2007-10-18 Thread Daniel Kröger
Oh, you're right Martijn. How could I not even think about that!?! ;)

Thanks!

Daniel



> -Original Message-
> From: Martijn Dashorst [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 18, 2007 11:13 AM
> To: users@wicket.apache.org
> Subject: Re: RadioChoice vs. RepeatingView inside RadioGroup
> 
> Why do you *need* to add a class to the label?
> 
> 
> ...
> 
> 
> css:
> 
> .myradiogroupclass label {
> color : red;
> font-size : 72px;
> }
> 
> Martijn
> 
> On 10/18/07, Daniel Kröger <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > using a RadioChoice within my project is out of question 
> because RadioChoice
> > seems to render the -tag behind the -Tag
> > statically, but i need to add a class-attribute to that -tag.
> >
> > So one attempt could be using a RepeatingView inside the 
> RadioGroup to
> > dynamically generate the Radios as proposed here:
> > http://www.nabble.com/Re%3A-Customizing-RadioChoice-p13067505.html
> >
> > Unfortunately I'm a bit stuck there since I'm quite new to 
> Wicket. Can
> > someone please provide me with an example for how to use 
> RepeatingView
> > inside RadioGroup?
> >
> > Or is there a better way to achieve the desired behavior?
> >
> > Thanks in advance!
> >
> > Best regards
> > Daniel
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-beta4 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Re: RadioChoice vs. RepeatingView inside RadioGroup

2007-10-18 Thread Martijn Dashorst
Why do you *need* to add a class to the label?


...


css:

.myradiogroupclass label {
color : red;
font-size : 72px;
}

Martijn

On 10/18/07, Daniel Kröger <[EMAIL PROTECTED]> wrote:
> Hi,
>
> using a RadioChoice within my project is out of question because RadioChoice
> seems to render the -tag behind the -Tag
> statically, but i need to add a class-attribute to that -tag.
>
> So one attempt could be using a RepeatingView inside the RadioGroup to
> dynamically generate the Radios as proposed here:
> http://www.nabble.com/Re%3A-Customizing-RadioChoice-p13067505.html
>
> Unfortunately I'm a bit stuck there since I'm quite new to Wicket. Can
> someone please provide me with an example for how to use RepeatingView
> inside RadioGroup?
>
> Or is there a better way to achieve the desired behavior?
>
> Thanks in advance!
>
> Best regards
> Daniel
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/

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



RadioChoice vs. RepeatingView inside RadioGroup

2007-10-18 Thread Daniel Kröger
Hi,

using a RadioChoice within my project is out of question because RadioChoice
seems to render the -tag behind the -Tag
statically, but i need to add a class-attribute to that -tag.

So one attempt could be using a RepeatingView inside the RadioGroup to
dynamically generate the Radios as proposed here:
http://www.nabble.com/Re%3A-Customizing-RadioChoice-p13067505.html

Unfortunately I'm a bit stuck there since I'm quite new to Wicket. Can
someone please provide me with an example for how to use RepeatingView
inside RadioGroup?

Or is there a better way to achieve the desired behavior?

Thanks in advance!

Best regards
Daniel


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