First off, you can implement multiple stylesheets by providing a delegate to the Shell component. It can emit the HTML to load multiple stylesheets.
Second, informal parameters don't have to be static! They are static if you specify them in the HTML template, but you can specify them in the page specification and make them dynamic, i.e. <component id="link" type="DirectLink"> <binding name="listener" expression="listeners.linkClicked"/> <binding name="class" expression="styleClass"/> And implement getStyleClass() in your Java file (or do something right in place using OGNL). -- [EMAIL PROTECTED] http://tapestry.sf.net > Suppose you have that: > > A big page, with many components. In this moment its impossible have > many stylesheets refereced in the same page. But i want to have many > links with different appereance, one <a with a class="x" another one > with a class="y". In this moment the component to do the a tag its > DirectLink, and its possible to add a static-binding, but i dont like > this. I want another attribute for the DirectLink component (a tag) but > dynamic. Exists a way to do this without extends the DirectLink > component? > > -- > Juan Alvarez Fluid Signal S.A. > mailto:jalvarez@;fluidsignal.com http://www.fluidsignal.com/ > Key fingerprint: 15C4 0986 A174 862A B607 8EEA 934F 8649 07E2 EA40 > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote > _______________________________________________ > Tapestry-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/tapestry-developer ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
