You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/06/06 03:33:21 UTC
T5: Any component
Hi,
notice there is this component called 'Any'? what's the use of this
component?
--
View this message in context: http://www.nabble.com/T5%3A-Any-component-tp23897821p23897821.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Any component
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Sat, 06 Jun 2009 05:51:04 -0300, Angelo Chen
<an...@yahoo.com.hk> escreveu:
> Hi,
Hi!
> So often that we commented something from the tml file, in the end it got
> rendered, which might contain some sensitive info. I'm looking for some
> components like < t:comment> < !--> I might need this later --> <
> /t:comment>,
Just use <t:remove>. More details in
http://tapestry.apache.org/tapestry5.1/guide/templates.html.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Any component
Posted by Otho <ta...@googlemail.com>.
http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/mixins/DiscardBody.html
2009/6/6 Angelo Chen <an...@yahoo.com.hk>
>
> Hi,
>
> So often that we commented something from the tml file, in the end it got
> rendered, which might contain some sensitive info. I'm looking for some
> components like < t:comment> < !--> I might need this later --> <
> /t:comment>, probably T5 can have a flag to tell the run time that comments
> should not be rendered for the page?
>
> A.C.
>
>
>
>
> Thiago H. de Paula Figueiredo wrote:
> >
> > Em Fri, 05 Jun 2009 22:39:35 -0300, Craig St. Jean <
> craigstjean@gmail.com>
> > escreveu:
> >
> >> Although I can't really say, there is a WIKI page about it:
> >> http://wiki.apache.org/tapestry/Tapestry5AnyComponent
> >
> > That wiki page was about creating an Any component when Tapestry didn't
> > provide one, so you shouldn't use the wiki one anymore. They're quite
> > similar, anyway.
> >
> > Any's documentation is here:
> >
> http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Any.html
> ,
> > but the mentioned wiki page describes what it is good for way better.
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Independent Java consultant, developer, and instructor
> > http://www.arsmachina.com.br/thiago
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/T5%3A-Any-component-tp23897821p23899889.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: T5: Any component
Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi,
So often that we commented something from the tml file, in the end it got
rendered, which might contain some sensitive info. I'm looking for some
components like < t:comment> < !--> I might need this later --> <
/t:comment>, probably T5 can have a flag to tell the run time that comments
should not be rendered for the page?
A.C.
Thiago H. de Paula Figueiredo wrote:
>
> Em Fri, 05 Jun 2009 22:39:35 -0300, Craig St. Jean <cr...@gmail.com>
> escreveu:
>
>> Although I can't really say, there is a WIKI page about it:
>> http://wiki.apache.org/tapestry/Tapestry5AnyComponent
>
> That wiki page was about creating an Any component when Tapestry didn't
> provide one, so you shouldn't use the wiki one anymore. They're quite
> similar, anyway.
>
> Any's documentation is here:
> http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Any.html,
> but the mentioned wiki page describes what it is good for way better.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/T5%3A-Any-component-tp23897821p23899889.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Any component
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Fri, 05 Jun 2009 22:39:35 -0300, Craig St. Jean <cr...@gmail.com>
escreveu:
> Although I can't really say, there is a WIKI page about it:
> http://wiki.apache.org/tapestry/Tapestry5AnyComponent
That wiki page was about creating an Any component when Tapestry didn't
provide one, so you shouldn't use the wiki one anymore. They're quite
similar, anyway.
Any's documentation is here:
http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Any.html,
but the mentioned wiki page describes what it is good for way better.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Any component
Posted by "Craig St. Jean" <cr...@gmail.com>.
Although I can't really say, there is a WIKI page about it:
http://wiki.apache.org/tapestry/Tapestry5AnyComponent
On Fri, Jun 5, 2009 at 9:33 PM, Angelo Chen <an...@yahoo.com.hk>wrote:
>
> Hi,
> notice there is this component called 'Any'? what's the use of this
> component?
> --
> View this message in context:
> http://www.nabble.com/T5%3A-Any-component-tp23897821p23897821.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: T5: Any component
Posted by Howard Lewis Ship <hl...@gmail.com>.
It can emulate any element, even dynamically deciding which element
(say "div" or "span" or "p") to emulate.
On Fri, Jun 5, 2009 at 6:33 PM, Angelo Chen<an...@yahoo.com.hk> wrote:
>
> Hi,
> notice there is this component called 'Any'? what's the use of this
> component?
> --
> View this message in context: http://www.nabble.com/T5%3A-Any-component-tp23897821p23897821.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
Director of Open Source Technology at Formos
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org