Jesse Kuhnert wrote:
> Right, but where/how is the existance of templateTag obvious to
> anyone? I've
> deprecated the constant referring to templateTag as well.
>
> I might have not seen something very obvious though. Is the templateTag a
> well known construct for everyone? 
I might be wrong, but I don't think it's widely known... if you ask me,
it's one of those little
known tricks, just like the $template$ asset.
I simply do not know why those aren't widely documented. Where they
supposed to be
quick hacks? Where they designed this way?

> How did you know about it ?

>From other people's code, but I'm not really sure exactly where...
I remember seeing a lot of
<parameter name="element" default-value="templateTag"/>
which even had me thinking that there was a getTemplateTag method
in IComponent !!!

Anyway, i'm pretty sure Howard or Mindbridge know more about the history
and the reasoning of this.


>
> On 10/5/06, andyhot <[EMAIL PROTECTED]> wrote:
>>
>> [EMAIL PROTECTED] wrote:
>> > Author: jkuhnert
>> > Date: Thu Oct  5 19:09:12 2006
>> > New Revision: 453463
>> >
>> > -) Added new getTemplateTagName() method to IComponent, as well as
>> implementation in AbstractComponent.
>> >
>>
>> If a component specifies a templateTag parameter, the framework fills it
>> in with the tag name...
>>
>> So, those additions aren't really needed in order to implement the
>> If/Else enhancements
>>
>> > -) Added new renderTag parameter to If/Else components to support more
>> intuitive tag rendering.
>> > Deprecated old "element" parameter in both of these components.
>> >
>> >
>>
>>
>> -- 
>> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
>> Tapestry / Tacos developer
>> Open Source / J2EE Consulting
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to