Re: T5: Any component

2009-06-06 Thread Howard Lewis Ship
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 wrote: > > Hi, > notice there is this component called 'Any'? what's the use of this > component? > -- > View this message in context: > http://

Re: T5: Any component

2009-06-06 Thread Thiago H. de Paula Figueiredo
Em Sat, 06 Jun 2009 05:51:04 -0300, Angelo Chen 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>

Re: T5: Any component

2009-06-06 Thread Otho
http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/mixins/DiscardBody.html 2009/6/6 Angelo Chen > > 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 > com

Re: T5: Any component

2009-06-06 Thread Angelo Chen
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 shoul

Re: T5: Any component

2009-06-05 Thread Thiago H. de Paula Figueiredo
Em Fri, 05 Jun 2009 22:39:35 -0300, Craig St. Jean 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

Re: T5: Any component

2009-06-05 Thread Craig St. Jean
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 wrote: > > Hi, > notice there is this component called 'Any'? what's the use of this > component? > -- > View this message in context: > ht

Re: [T5] Any component nullpointer

2009-01-08 Thread Ville Virtanen
Hi again. Should have read the documentation properly: the clientid is available only after the component has rendered itself. Sorry for bothering, I'll close the JIRA now. - Ville Ville Virtanen wrote: > > Hello all. > > I have opened JIRA with instructions to replicate. See > > https:/

Re: [T5] Any component nullpointer

2009-01-04 Thread Ville Virtanen
Hello all. I have opened JIRA with instructions to replicate. See https://issues.apache.org/jira/browse/TAP5-438 for more information. - Ville Ps. Can someone please confirm that this replicates, or is it just my environment? It's hard to believe that this kind of bug would have been unnotic

Re: [T5] Any component nullpointer

2009-01-02 Thread Ville Virtanen
Forgot to mention that I'm using 5.0.18. - Ville Ville Virtanen wrote: > > Hello, > > I have a mixin that takes two Any components as parameters. As long as the > Any components are *before* the mixin in the template everything is ok, > but if I move the Any component after the mixin (after

Re: [T5] Any component Bis

2007-08-03 Thread David Avenante
Yes thank you Nick. I've create my own Any component from T5 5.0.3 sources ;) Regards

Re: [T5] Any component Bis

2007-08-01 Thread Nick Westgate
May as well use the original. I've put it here: http://wiki.apache.org/tapestry/Tapestry5AnyComponent Please update or add examples of its use. I think Any was prematurely deprecated. Cheers, Nick. David Avenante wrote: Yes, after investigation you're right. So I think I need to re-implement

Re: [T5] Any component Bis

2007-08-01 Thread David Avenante
Yes, after investigation you're right. So I think I need to re-implement an Any component ;) Thank you for your input.

Re: [T5] Any component Bis

2007-08-01 Thread Evan Rawson - Work
after some more research it seems that mixins have to be applied to a specific component type of specific instance of a component type. i dont think you can mixin for generics. i think a component minus a template is more what your looking for. ~evan - Original Message - From: "David