hmm, dont know why you would do this inside a converter of another
component....
but you can get to it like this:

rg.convert(); rg.getconvertervalue();

-igor


On 8/23/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> I'm trying to get the posted value of a RadioGroup (within a converter of
> a
> textfield), but i only get the posted string values, not the model values
> of the
> radio elements:
>
>
> RadioGroup rg = new RadioGroup( "takedown" );
> add( rg );
> rg.add( new Radio( "takedownFalse", new Model( false ) ) );
> rg.add( new Radio( "takedownTrue", new Model( true ) ) );
>
> after post, rg.getValue() should return something like "true" or "false",
> but i
> only get 'radio6' or 'radio8' depending on which of both Radio is
> selected.
>
> rg.getInput() delivers the same, as does rg.getInputAsArray().
> rg.getConvertedInput() gives a null.
>
> how can i access the current value??
>
> regards, --- jan.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to