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, cycle);
}
Shing
--- phillip rhodes <[EMAIL PROTECTED]> 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). In my case, onmouseover and
> onmouseout are the parameters I want passed through
> and have output with the FramesetLink component.
>
> Is this possible to do this via template/spec only,
> or
> do I need to implement all the html writing via java
> code if I want to output informal parameters?
>
> <a jwcid="@portal:FramesetLink"
> mainPageName="SmartThinking"
>
onmouseover="changeImages('Smart_Thinking',images/frontpage/Smart-Thinking-over.gif');return
> true;"
> onmouseout="changeImages('Smart_Thinking',
> 'images/frontpage/Smart-Thinking.gif'); return
> true;">
> <img name="Smart_Thinking"
> src="images/frontpage/Smart-Thinking.gif" width=152
> height=55 border=0 alt="Smart Thinking">
> </a>
>
> Thank you!
>
>
>
>
> Phillip Rhodeshttp://www.jsso.org Open source Java
> Identity and Authorization
> Serviceshttp://www.rhoderunner.com Open Source Java
> Ecommerce Suite
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]