Re: Equivalent of jwcid="$content$" in T5

2008-06-02 Thread Andrew Pietsch
Hi Robert, Thanks for that, it's encouraging to hear you don't miss $content$. I have no desire to patch the document parser so I'll give the reloading capabilities a go and see where I end up. Cheers Andrew On Tue, Jun 3, 2008 at 1:31 AM, Robert Zeigler <[EMAIL PROTECTED]> wrote: > I switched

Re: Equivalent of jwcid="$content$" in T5

2008-06-02 Thread Robert Zeigler
I switched from T3 (which also had $content$) to T5, and here is what I've found: I don't miss $content$. :) $content$ was a constant source of headaches. The part of the point of components (like layouts) is to be able to make a change in one place, and have it propagate throughout the sys

Re: Equivalent of jwcid="$content$" in T5

2008-06-02 Thread Andrew Pietsch
Hi Robert, Is there a long answer? It would be nice if there were at least a solution or pattern I could use to migrate my current 4.x code to 5 without having to loose their functionality as standalone pages. Thanks for your help. Cheers Andrew On Mon, Jun 2, 2008 at 11:39 AM, Robert Zeigler

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Robert Zeigler
t:container doesn't exclude it's children. Tapestry templates have to be valid xml documents. That means there has to be a single root element. It's often inconvenient to have to have such a single root element in components. Imagine, for example, a component that renders a subset of cell

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Marcus
Hi Andrew, Sorry about $content$, Robert is right about T5 and T3 RenderBody. Marcus

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Andrew Pietsch
Cool, thanks for that. On Sun, Jun 1, 2008 at 7:17 PM, Igor Drobiazko <[EMAIL PROTECTED]> wrote: > > http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Remove.html > > On Sun, Jun 1, 2008 at 10:17 AM, Jabbar <[EMAIL PROTECTED]> wrote: > > > Hello Andrew

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Andrew Pietsch
Hi Robert, Thanks for that. As I see it seems to be the inverse of what I want. It excludes it's children from the output, whereas $content$ excludes everything but its children from the output. Does anyone know if the equivalent functionality is planned? Cheers Andrew On Mon, Jun 2, 2008 a

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Andrew Pietsch
Howdy, I'm actually trying to instrument pre-exising HTML with tapestry components. As such the common style marking is duplicated in many files and I need to remove it (since my layout component provides it). The best way for me to do that in the past has been to use the $content$ component as

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Robert Zeigler
$content$ is NOT the same as is the equivalent to the T3 "RenderBody" component. The closest thing to $content$ is , but even that isn't quite the same thing as $content$. Robert On Jun 1, 2008, at 6/16:07 PM , Marcus wrote: Hi Andrew, $content$ = ( http://tapestry.formos.com/nightl

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Marcus
Hi Andrew, $content$ = ( http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/templates.html ) for $remove$ you can use t5components/remove or search on list for "public class Remove" Marcus

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Igor Drobiazko
http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Remove.html On Sun, Jun 1, 2008 at 10:17 AM, Jabbar <[EMAIL PROTECTED]> wrote: > Hello Andrew, > > I assume you are trying to create a border component with your use of > $content$ and $remove$, in whic

Re: Equivalent of jwcid="$content$" in T5

2008-06-01 Thread Jabbar
Hello Andrew, I assume you are trying to create a border component with your use of $content$ and $remove$, in which case you can use the Layout component. However if you are trying to $remove$ a tag from some html returned to you by your designer, sorry cant' help! If you find or if somebody else

Equivalent of jwcid="$content$" in T5

2008-05-31 Thread Andrew Pietsch
Hi all, Does T5 have an equivalent of the $content$ and $remove$ components found in previous versions? I've been looking but can't seem to find anything (except perhaps the DiscardBody body mixin for $remove$). Thanks Andrew