Re: How to render a block parameter in component

2017-08-31 Thread Thiago H. de Paula Figueiredo
t; > > EOF > > > > > > page.tml >> EOF2 > > > > > > > xmlns:t="http://tapestry.apache.org/schema/tapestry_5_4.xsd"; > > > > xmlns:p="tapestry:parameter" > > > >> > > &

Re: How to render a block parameter in component

2017-08-30 Thread Carlos Montero Canabal
2 > > > xmlns:t="http://tapestry.apache.org/schema/tapestry_5_4.xsd"; > > xmlns:p="tapestry:parameter" > >> > > > > > >content rendered at page level > > > > > > EOF2 > > >

How to render a block parameter in component

2017-08-30 Thread Joshua Richardson
estry.apache.org/schema/tapestry_5_4.xsd"; xmlns:p="tapestry:parameter" > content rendered at page level EOF2 expected output >> EOF3 content rendered at page level EOF3 actual output >> EOF4 Block[Parameter headerCont

RE: Block parameter

2011-10-05 Thread Wechsung, Wulf
Hi Thiago, that's awesome information! Thanks! Kind Regards, Wulf -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Mittwoch, 5. Oktober 2011 19:38 To: Tapestry users; Ulrich Stärk Subject: Re: Block parameter On Wed, 05 Oct 2011 14:19:31

Re: Block parameter

2011-10-05 Thread Thiago H. de Paula Figueiredo
On Wed, 05 Oct 2011 14:19:31 -0300, Ulrich Stärk wrote: This is obviously much better than fiddling with internal stuff if it suffices your needs. I don't think internal stuff is needed for both of the solutions. A RenderCommand (which isn't internal) can be implemented and it receives th

RE: Block parameter

2011-10-05 Thread Ulrich Stärk
iel.de] > Sent: Mittwoch, 5. Oktober 2011 15:43 > To: Tapestry users > Subject: Re: Block parameter > > Rendering component markup directly from your component class is only > useful for very simple > components. What you want to do is to mimick some of Tapestry's inter

RE: Block parameter

2011-10-05 Thread Wechsung, Wulf
- From: Ulrich Stärk [mailto:u...@spielviel.de] Sent: Mittwoch, 5. Oktober 2011 15:43 To: Tapestry users Subject: Re: Block parameter Rendering component markup directly from your component class is only useful for very simple components. What you want to do is to mimick some of Tapestry's inte

Re: Block parameter

2011-10-05 Thread Ulrich Stärk
ly ie: > > beginRender(MarkupWriter mw) { > mw.element(...) > etc ... > } > > I now want the component to take a block parameter (ie header) and have this > block parameter render within my html ie > > beginRender( .. ) { >

Block parameter

2011-10-05 Thread Wechsung, Wulf
component to take a block parameter (ie header) and have this block parameter render within my html ie beginRender( .. ) { mw.element("div") /** something like: header.render() **/ mw.end(); } For this requirement the block wouldn't

t5: inheriting block parameter

2008-03-15 Thread Adam Zimowski
Inheriting non-block parameter works fine, but inheriting block parameter is not. Is this by design? If so, how to achieve the same effect. Here is example: Layout { @Parameter private String _title; @Parameter private Block _helloWorld; public String getTitle() { return _title; } } http