Is AttributeModifier not available in 1.2.x?

On Wed, Nov 5, 2008 at 6:25 AM, nickponico <[EMAIL PROTECTED]> wrote:
>
>
> Hi all, i have to do same thing.
>
> I have to call an external javascript function on "onClick" method of the
> checkbox.
>
> i'm using a 1.2.6 version of apache wicket, and in this version the class
> CheckBox has method onComponentTag with "final" modifier.
>
> So i can't override this method.
>
> Is there any other way to do this? (naturally without change my apache
> wicket version )
>
> Thanks in advance
>
> E.
>
>
>
>>
>> new CheckBox("checkBox", new Model()) {
>>                     protected void onComponentTag(ComponentTag tag) {
>>                         tag.put("onclick","executeSomething();");
>>                     }
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/adding-extra-javascript-call-in-CheckBox-tp15318650p20339961.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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