If component allows informal parameters you can declare them the same place of component. <span [EMAIL PROTECTED] informal="value" informal1="23" />
Muralidhar Y Software Engineer, Adastrum technologies-Nikai groups, EmiratesGroup-I.T Division, Dubai, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep 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: <span style="..."> <table insertInformalParametersHere> .... </table> </span> 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 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! > > I asked a similar question a while back. Perhaps the answer I got > might help you also: > http://article.gmane.org/gmane.comp.java.tapestry.user/23424/match=render+in formal+parameters > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >