You know, I think I'm the one that indicated I use a prefix everywhere, and I happen to also use this. in front of all instance variables, so I guess your thesis is holding in one case. Of course then there's putting an _ in front of a instance variables, but we digress into holy wars... :)
-----Original Message----- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 12:30 PM To: Tapestry development Subject: Re: [jira] Commented: (TAPESTRY-336) Change default binding of "tag" parameter in Submit component to "literal" In many cases, the default-binding should not be specified; that way it will indicate a literal in templates and an OGNL expression in specifications. I *really* like this style of development, but it is perfectly acceptible to always use an ognl: prefix as well. It's kind of like people who always use this. in front of every instance variable name. On 5/27/05, Paul Ferraro <[EMAIL PROTECTED]> wrote: > I added this issue in response to a problem a user encountered > converting from 3.0 to 4.0. People seemed surprised that the tag > parameter expected an ognl expression and not a literal. I think the > larger issue is that users are finding default bindings to be a source > of confusion. Especially since every parameter in 3.0, including > informal ones, were literal unless otherwise indicated. Some users have > taken to *always* using a binding prefix - so it appears that this > feature is not entirely successful since it's intent was to save > keystrokes. Thoughts? > > Paul > > Richard Lewis-Shell (JIRA) wrote: > > > [ http://issues.apache.org/jira/browse/TAPESTRY-336?page=comments#action_66425 ] > > > >Richard Lewis-Shell commented on TAPESTRY-336: > >---------------------------------------------- > > > >I am not sure this is a good idea. All the time of time I have used tag I've used it to select a real object, not just a String. Just me? > > > > > > > >>Change default binding of "tag" parameter in Submit component to "literal" > >>-------------------------------------------------------------------------- > >> > >> Key: TAPESTRY-336 > >> URL: http://issues.apache.org/jira/browse/TAPESTRY-336 > >> Project: Tapestry > >> Type: Improvement > >> Components: Framework > >> Versions: 4.0 > >> Reporter: Paul Ferraro > >> Priority: Minor > >> > >> > > > > > > > >>The default binding of the "tag" parameter in the Submit component should be changed from "ognl" to "literal" since it is usually bound to a literal string. > >> > >> > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
