You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Michael Courcy <mi...@gmail.com> on 2008/01/22 00:12:50 UTC
Layout component
Hi,
I propose a small tutorial to build a Layout component.
http://courcy-en.blogspot.com/2008/01/tapestry-5-create-layout-component.html
This one is a bit more sophisticated than the exemple given in the
documentation, because you are able to override static content on case
by case.
Your feedback are welcome and wanted.
--
Michael Courcy
http://courcy-en.blogspot.com
http://courcy.blogspot.com
Re: Antwort: Layout component
Posted by Michael Courcy <mi...@gmail.com>.
Kristian,
I didn't know that, I'll try it.
Thanks.
Kristian Marinkovic a écrit :
> hi michael,
>
> great tutorial... had to figure out this myself :)
>
> you can simplify the getLeftContent() method
> if you use the value attribute of the Parameter
> annotation:
>
> @Parameter(value="block:left")
> private Object left;
>
> Object getLeftContent() {
> return left;
> }
>
> if no left parameter is passed to the layout
> component it will use the default block.
>
> g,
> kris
>
>
>
>
> Michael Courcy <mi...@gmail.com>
> 22.01.2008 00:12
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> Tapestry users <us...@tapestry.apache.org>
> Kopie
>
> Thema
> Layout component
>
>
>
>
>
>
> Hi,
>
> I propose a small tutorial to build a Layout component.
> http://courcy-en.blogspot.com/2008/01/tapestry-5-create-layout-component.html
>
>
> This one is a bit more sophisticated than the exemple given in the
> documentation, because you are able to override static content on case
> by case.
>
>
> Your feedback are welcome and wanted.
>
>
--
Michael Courcy
http://courcy.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Antwort: Layout component
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
hi michael,
great tutorial... had to figure out this myself :)
you can simplify the getLeftContent() method
if you use the value attribute of the Parameter
annotation:
@Parameter(value="block:left")
private Object left;
Object getLeftContent() {
return left;
}
if no left parameter is passed to the layout
component it will use the default block.
g,
kris
Michael Courcy <mi...@gmail.com>
22.01.2008 00:12
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
Tapestry users <us...@tapestry.apache.org>
Kopie
Thema
Layout component
Hi,
I propose a small tutorial to build a Layout component.
http://courcy-en.blogspot.com/2008/01/tapestry-5-create-layout-component.html
This one is a bit more sophisticated than the exemple given in the
documentation, because you are able to override static content on case
by case.
Your feedback are welcome and wanted.
--
Michael Courcy
http://courcy-en.blogspot.com
http://courcy.blogspot.com