Hi Ulrich, I am not sure exactly what you didn't understand, but what I meant is this: Certain components such as the ones in the components project have their own style sheet. Overriding these styles one by one everywhere I use the component can be tedious, maybe I don't even want the styles to begin with!
Since these styles are linked in by the component using RenderSupport.addStylesheetLink(asset, media), wouldn't it be great if I could simply supply my own style sheet instead of the default style sheet on a case by case basis? or perhaps override the style sheet in the containing page? (hence: renderSupport_.overrideStylesheetLink(stylesheet, media)) is this possible somehow at present? cheers, Peter ----- Original Message ----- From: "Ulrich Stärk" <[EMAIL PROTECTED]> To: "Tapestry users" <users@tapestry.apache.org> Sent: Wednesday, 3 September, 2008 1:25:24 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Overriding Default Styles I don't quite understand. A stylesheet is an asset and we already got RenderSupport.addStylesheetLink(asset, media)... Just write your css, create an asset and pass it to addStylesheetLink(). Uli Am Mi, 3.09.2008, 12:16, schrieb Peter Stavrinides: > hmmm not ideal, especially for components, I was hoping there was > something more along the lines of: > renderSupport_.addStylesheetLink(stylesheet, media); > > or even better: > renderSupport_.overrideStylesheetLink(stylesheet, media); > > > > > ----- Original Message ----- > From: "Ulrich Stärk" <[EMAIL PROTECTED]> > To: "Tapestry users" <users@tapestry.apache.org> > Sent: Wednesday, 3 September, 2008 12:44:12 PM GMT +02:00 Athens, Beirut, > Bucharest, Istanbul > Subject: Re: Overriding Default Styles > > Tapestry's styles are included via default.css which can be found here: > http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/default.css?view=markup > Just include some css overriding those styles or change the configuration > symbol tapestry.default-stylesheet to your own default stylesheet. > > Uli > > Am Mi, 3.09.2008, 11:27, schrieb Peter Stavrinides: >> Hi >> >> I would like to know how to override Tapestry's default styles, >> particularly: >> >> 1. Individual styles like validation error popups >> 2. Component styles >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]