tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Kuhnert" <jkuhn...@gmail.com>
Subject Re: T-4.1.3 - @EventListener quiz question
Date Thu, 03 Jan 2008 18:06:00 GMT
You can step up and read the documentation for yourself if you like -
see "A note about event names" at the bottom of this page:
http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html.

Also see the referenced site -
http://www.quirksmode.org/js/introevents.html - for a more detailed
explanation of what events are in javascript as they relate to
fabricated native javascript events vs. function names of javascript
objects.

It isn't valid to listen to the "onChange" function of an html
<select> element because that function won't be called when the value
changes.  (if said function even exists)

On Jan 3, 2008 12:29 PM, Ken in nashua <nhhockeyplayer@hotmail.com> wrote:
>
> Thanks Kevin for stepping up.
>
> Close but no cigar.
>
> Syntax #1 does not work under any conditions.
>
> Syntax #2 does work.
>
> Now if any takers out there want to step up and explain why that would be great.Best
regards Ken in nashua
>
>
> From: nhhockeyplayer@hotmail.comTo: users@tapestry.apache.orgSubject: T-4.1.3 - @EventListener
quiz questionDate: Thu, 3 Jan 2008 11:05:02 -0500
>
>
>
> Which syntax is valid?
>
> 1. @EventListener(events = { "onChange" },
>         targets =  { "tableSizeSelect" },
>         submitForm = "galleryForm",
>         async = true)
>
> 2. @EventListener(events="onchange",
>         targets="tableSizeSelect",
>         submitForm="galleryForm",        async=true) Winner scores 100 points.Best regards
Ken in nashua
>
> i'm is proud to present Cause Effect, a series about real people making a difference.
Learn more
> _________________________________________________________________
> Get the power of Windows + Web with the new Windows Live.
> http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007



-- 
Jesse Kuhnert
Tapestry / OGNL / Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Mime
View raw message