On 1/26/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> Is that true? I'm not convinced and think this may be even more confusing. Not exactly: <tiles:insertDefinition name=""/> <tiles:insertTemplate name=""/> Eventually: <tiles:insert name="" /> (definition OR template) <tiles:attribute name=""/> Using "tiles:attribute" I think that people will perceive the necessity to fill it when they insert a template or define a definitions, we (me and Greg) noticed that someone used the old <tiles:insert attribute="..." /> incorrectly, so I decided to differentiate completely its name. But maybe it's just me :-)
I thought I was with you, but now I'm not so sure. If you're saying "let's rename <tiles:insertAttribute> to <tiles:insert>", I can go with that. That's what I was looking for in the first place. I strongly feel that a JSP should not need to know whether the attribute value it is using is a JSP or a Tiles Definition; there should be complete transparency between the two. But then what is your vision for <tiles:attribute name="" /> What will that tag do? I think having verbs in the tag names (like "put" and "insert") is really helpful for clarification. AttributeTag was the only one whose name didn't begin with a verb, and I think one way or another, we shouldn't revert to having one oddball unless there's a really compelling reason for it. Joe -- Joe Germuska [EMAIL PROTECTED] * http://blog.germuska.com "The truth is that we learned from João forever to be out of tune." -- Caetano Veloso
