Hi Marc, I disagree UIManager comes with 2 methods:
getStylecss() getStylecss(RunData data) You can check it out here: http://jakarta.apache.org/turbine/turbine-22/apidocs/org/apache/turbine/ services/pull/util/UIManager.html I have done something similar assigning different designs to usergroups by putting the skins' name into permament storage. If it is not there determine the skin for the user and store the skins' name into permanent storage, etc. Worked pretty good. Kind regards Jürgen Hoffmann -----Ursprüngliche Nachricht----- Von: Marc Lustig [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 27. Januar 2003 11:07 An: Turbine Users List Betreff: AW: processing external CSS-file throu velocity engine UI doesn't appear to solve the issue of assigning a CSS with default styles. Using UI you need to set each html-tag explicitly. What I need is a css-definition that will cover the whole application. > -----Ursprüngliche Nachricht----- > Von: Jürgen Hoffmann [mailto:[EMAIL PROTECTED]] > Gesendet: Sonntag, 26. Januar 2003 21:53 > An: Turbine Users List > Betreff: AW: processing external CSS-file throu velocity engine > > > Hi Marc, > > why dont you use the built-in skin functions? Assign a Skin to a user > or a group of users. Skins are handeled under ui-directory and are > accessible through the $ui pull tool. > > kind regards > > > Jürgen Hoffmann > > -----Ursprüngliche Nachricht----- > Von: Marc Lustig [mailto:[EMAIL PROTECTED]] > Gesendet: Sonntag, 26. Januar 2003 12:49 > An: Turbine Users List > Betreff: processing external CSS-file throu velocity engine > > > Hi, > I've got an external CSS-file being loaded in the layout.vm. What I > need is to process this css-file throu the velocity engine in order to > assign design-values specific to the user who has logged in. I think > this is a quite common demand, as a lot of portals offer a > user-specific layout (for instance Yahoo). > > Anybody out there who has done this? > > Currently, I see two ways for a work-around: > 1) generate a CSS-file for each user that is registered and assign a > corresponding filename, e.g. stylesheet[user_id].css > 2) put the CSS-stuff inside the html-doc instead of in external file > > > However still the most elegant way would be to have the external file, > and assign the CSS-values using the velocity engine. > > Marc > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>