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:
>
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
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
---
-
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
://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
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
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).
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,