Either is correct. You can pass a single String in place of a String[] if you only need one value. If you have more than one target or event, you have to use the first form.
On 1/3/08 11:05 AM, in article [EMAIL PROTECTED], "Ken in nashua" <[EMAIL PROTECTED]> wrote: > > > 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. > http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]