You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Jesse Kuhnert <jk...@gmail.com> on 2006/10/06 05:29:53 UTC

Re: svn commit: r453463 - in /tapestry/tapestry4/trunk: src/site/xdoc/components/ tapestry-examples/TimeTracker/ tapestry-examples/TimeTracker/src/context/ tapestry-examples/TimeTracker/src/context/WEB-INF/ tapestry-examples/TimeTracker/src/context/c

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? How did you know about it ?

On 10/5/06, andyhot <an...@di.uoa.gr> wrote:
>
> jkuhnert@apache.org 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 - andyhot@apache.org - http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / J2EE Consulting
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: svn commit: r453463 - in /tapestry/tapestry4/trunk: src/site/xdoc/components/ tapestry-examples/TimeTracker/ tapestry-examples/TimeTracker/src/context/ tapestry-examples/TimeTracker/src/context/WEB-INF/ tapestry-examples/TimeTracker/src/context/c

Posted by andyhot <an...@di.uoa.gr>.
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 <an...@di.uoa.gr> wrote:
>>
>> jkuhnert@apache.org 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 - andyhot@apache.org - http://andyhot.di.uoa.gr
>> Tapestry / Tacos developer
>> Open Source / J2EE Consulting
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>
>


-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org