thank you for your fast reply. from what you said i found link.add(new AttributeAppender("onmouseover", new Model("foo();return false;"), ";"));
what benefit is to use AttributeAppender versus onComponentTag? why two ways? ---------------------------------------- > Date: Wed, 30 Jan 2008 23:44:54 +0100 > From: [EMAIL PROTECTED] > To: users@wicket.apache.org > Subject: Re: How can I use onComponentTag for a PasswordTextField? > > you could use an AttributeModifier/AttributeAppender > > gerolf > > On Jan 30, 2008 11:42 PM, i ii wrote: > >> >> how can i use onComponentTag for a PasswordTextField? method is final? >> >> i need to add dynamic javascript to onfocus >> --------------------------------------------------------------------- >> 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]