Re: Rendering informal parameters

2006-04-20 Thread Oscar Picasso
Something I still don't understand. How you 'tell' the component wich of its template tag will receive these informal parameters? Andreas Andreou <[EMAIL PROTECTED]> wrote: In the .jwc or .page, you can specify see http://jakarta.apache.org/tapestry/UsersGuide/spec.html Oscar Picasso wrote: >

Re: Rendering informal parameters

2006-04-20 Thread Andreas Andreou
In the .jwc or .page, you can specify see http://jakarta.apache.org/tapestry/UsersGuide/spec.html Oscar Picasso wrote: >How to render informal parameters of a component into an arbitrary tag of the >template component. > >Let's give an example. I have a Border component. > > > > >... lay

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Johan Maasing
Tomáš Drenčák wrote: But how to insert informal parameters into tag? For instance: .html: Perhaps that wonderful Any component can help you, something like this might work (sorry I don't have time to test this myself): component.html --- component.jwc --- -

RE: rendering informal parameters via template or spec configura tion?

2005-09-18 Thread Muralidhar Y.
Smiling. Be happy All The Time.) -Original Message- From: Tomáš Drencák [mailto:[EMAIL PROTECTED] Sent: 18 September 2005 18:51 To: Tapestry users Subject: Re: rendering informal parameters via template or spec configuration? But how to insert informal parameters into tag? For instance: .html

RE: rendering informal parameters via template or spec configura tion?

2005-09-18 Thread Muralidhar Y.
://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message- From: Johan Maasing [mailto:[EMAIL PROTECTED] Sent: 18 September 2005 18:47 To: Tapestry users Subject: Re: rendering informal parameters via template or spec configuration? phillip rhodes wrote: > This

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Tomáš Drenčák
But how to insert informal parameters into tag? For instance: .html: 2005/9/18, Johan Maasing <[EMAIL PROTECTED]>: > phillip rhodes wrote: > > This is tapestry 3.x. > > > > I have a component that uses > > org.apache.tapestry.BaseComponent along with a html > > template. I want my compon

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Johan Maasing
phillip rhodes wrote: This is tapestry 3.x. I have a component that uses org.apache.tapestry.BaseComponent along with a html template. I want my component to emit any informal parameters passed to it. While I got it to accept the informal parameters, it is swallowing them (not emitting them).

Re: rendering informal parameters via template or spec configuration?

2005-09-18 Thread Shing Hing Man
The following is only a suggestion and I have not tried it out. In the java class of your component, overwite the method renderComponent : protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) { super.renderComponent(writer,cycle); renderInformalParameters(writer,