No, it doesn't work with pages.
Please see https://issues.apache.org/jira/browse/TAPESTRY-2309
J
On Mar 14, 2008, at 1:38 PM, Jesper Zedlitz wrote:
Christian Koeberl wrote:
The replacement of $content$ is the t:container construct (see
https://issues.apache.org/jira/browse/TAPESTRY-1469).
Christian Koeberl wrote:
> The replacement of $content$ is the t:container construct (see
> https://issues.apache.org/jira/browse/TAPESTRY-1469).
>
This does not work with pages, does it?
I hoped that
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
tapestry5-quickstart Start Page
tap
But we want the component to have html and body elements (unless I
misunderstood your sentence), so that the component maintains
previewability and can be authored on it's own. When one places a
t:container inside the body element of a component, only elements
inside of the t:container shou
Robert Zeigler wrote:
> "the code works": Nope, it doesn't.
Now, it's getting interesting! This is what I get, when I try your code:
If t:container replaces $content$, this shouldn't render
This is the only thing that should render if t:container replaces
$content$.
Very strange, isn't i
Thanks for pointing this out. Will be fixed in JumpStart 3.4,
replacing the component's html and body elements with a t:container
element. Works like a charm.
Geoff
http://files.doublenegative.com.au/jumpstart/
On 06/03/2008, at 4:53 AM, Julian Wood wrote:
On Mar 5, 2008, at 10:26 AM, C
a look at
http://213.160.23.119:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Remove.html
mybe helps
2008/3/7, Robert Zeigler <[EMAIL PROTECTED]>:
>
> TestPage.tml:
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
>
>
> SampleComponent.tml:
>
> http://t
TestPage.tml:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
SampleComponent.tml:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
If t:container replaces $content$, this shouldn't render
This is the only thing that should render if t:container replaces
$content$.
Robert Zeigler wrote:
>
> I think you're misunderstanding the point of t:container?
>
As far as I understand the comment on the JIRA
(https://issues.apache.org/jira/browse/TAPESTRY-1469?focusedCommentId=12508885#action_12508885)
it should be a replacement of $content$.
And, the code works - so
I think you're misunderstanding the point of t:container?
1) T5 templates have to be well-formed xml.
2) Well-formed xml documents have to have a single root node
3) Tapestry basically renders all of the markup in your template.
Suppose you have a component that should insert some content.
Some
Julian Wood wrote:
>
> I tried your code verbatim and I here's what I get rendered:
> ...Test start Start
> This is with both 5.0.10 and 5.0.11-SNAPSHOT, so now I'm a little
> flummoxed.
>
That's really weird!?
Can anybody else try this example? Has anybody else had the same issue with
t:c
On Mar 5, 2008, at 10:26 AM, Christian Koeberl wrote:
will render the tags (outside the ) every time
the
component is used (in another component, in my case).
I just tried this out with 5.0.10 - with my test it doesn't render the
tags.
I checked in jumpstart 3.3.3 as well, and it has the
> will render the tags (outside the ) every time the
> component is used (in another component, in my case).
I just tried this out with 5.0.10 - with my test it doesn't render the
tags.
> I checked in jumpstart 3.3.3 as well, and it has the same problem (see
BasicCustomComponent).
I don't und
Does this actually work properly? I tried with 5.0.10 and 5.0.11-
SNAPSHOT.
A component like this:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
">
${page}
will render the tags (outside the ) every time the
component is used (in another component, in my case). I checked in
> Jesper Zedlitz <[EMAIL PROTECTED]> wrote
> This is the T4 feature:
> <
http://tapestry.apache.org/tapestry4/UsersGuide/template.html#template.directives.content
>
>
> Is something like this possible with T5?
The replacement of $content$ is the t:container construct (see
https://issues.apache.o
Christian Köberl wrote:
>> With T4 it was possible to write complete HTML pages and
>> only use the body-part for output. Is there a similar possibility with
>> T5?
>>
> Do you mean Invisible Instrumentation (see
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html)?
>
I am n
Hi Jesper,
You can use:
@IncludeStylesheet("context:style.css")
public class Layout {
instead of:
@Inject
@Path("context:/style.css")
private Asset style;
Marcus
Jesper Zedlitz-3 wrote:
>
> I agree to that. With T4 it was possible to write complete HTML pages and
> only use the body-part for output. Is there a similar possibility with T5?
>
Do you mean Invisible Instrumentation (see
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
:)
"Thiago HP" <[EMAIL PROTECTED]>
28.02.2008 13:59
Bitte antworten an
"Tapestry users"
An
"Tapestry users"
Kopie
Thema
Re: [FAQ] common design
A little suggestion . . .
On 2/28/08, Jesper Zedlitz <[EMAIL PROTECTED]> wrote:
> All pages of
> I prefer ... .
> It looks more similar to ordinary HTML than . :)
>
I agree to that. With T4 it was possible to write complete HTML pages and
only use the body-part for output. Is there a similar possibility with T5?
Would be easier for mixed teams of programmers and webdesigners.
Jesper
--
A little suggestion . . .
On 2/28/08, Jesper Zedlitz <[EMAIL PROTECTED]> wrote:
> All pages of the application look like:
>xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> content
>
I prefer ... .
It looks more similar to ordinary HTML than . :)
--
Thiago
--
Howard Lewis Ship wrote:
> Please send your Question and Answer to this
> list.
>
Q: What is a convenient way to create a common design for all pages of an
application?
A: (how I do it) Create a component called "Layout" for your application.
If the package name of the application is org.examp
21 matches
Mail list logo