What is going to happen if I call getModel on such a component? The
model should be properly unwrapped I suspect. It's a logical behavior.
Is it possible to achieve?

On Wed, Apr 9, 2008 at 3:03 PM, John Krasnay <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 08, 2008 at 11:03:52PM +0200, Vitaly Tsaplin wrote:
>  >    Yep. It looks simple and efficient. But it's quite a repetitive
>  > task. As I already mentioned I am going to create a component. And a
>  > data conversion should be its direct responsibility. The model wrapper
>  > cannot be provided from outside. It would be conceptually wrong in
>  > this case. I think this question is a bit wider then just a particular
>  > case with choices to bits conversion. I am getting running into this
>  > problem again and again. Wicket was created with a component driven
>  > design in mind and for, wasn't it?
>  >
>
>  That's fine too. Create a panel, or subclass CheckBoxMultipleChoice, and
>  have your panel|subclass apply the BitMapModel wrapper.
>
>  Converters are primarily for use with TextFields. They can only convert
>  to/from Strings.
>
>
>
>  jk
>
>  ---------------------------------------------------------------------
>  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]

Reply via email to