In this context anyways, I agree 1 is preferable to 2 and 3. listener="listener:foo" just seems redundant and therefore violates DRY. Maybe it's different when we look at the larger context and legacy code, but here it seems quite obvious. My $.02
--Chris --- Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > With the new betas out, I'm thinking that it's > become easier to > discuss the binding prefixes. > > I like how succinct the prefixes are but if we can > get a consensus, we > can change things around. > > I would suggest that, if we remove explicit default > binding prefixes > on parameters, we still use a simpler system of > defaults: literal: > for HTML (or other templates), ognl: for XML and > elsewhere (such as > annotations). > > <form jwcid="@Form" listener="doSubmit"> > > vs. > > <form jwcid="@Form" listener="listener:doSubmit"> > > vs. > > <form jwcid="@Form" > listener="ognl:listeners.doSubmit"> > > > I prefer #1, but would be satisified with #2. > Either is better than > #3 (as it stands in Tapestry 3.0). > > What are people finding now that they are > (hopefully) playing with Tapestry? > > > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator, Jakarta Tapestry > Creator, Jakarta HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
