wicket.behavior.AttributeAppender

On 9/21/06, Alberto Bueno <[EMAIL PROTECTED]> wrote:
> I would like to know if is possible to add different actions to the same
> event
> to a form component. For instance, I want to add two actions to the same
> textfield, but from different places:
>
> textField.add(new SimpleAttributeModifier("onchange",
> "alert(this.value);"));
>
> textField.add(new SimpleAttributeModifier("onchange",
> "alert('this.value');"));
>
> The problem is that the second attribute overwrites the first attribute.
> Do you have implemented some functionality to do this?
>
> Thanks
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow
-- http://wicketframework.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to