> I have some pages that need to use specific stylesheets, per user. How would > you suggest I solve this? I've been thinking of using the > packagedtexttemplates for this.
That should work. You probably could get by using simple variable substitution like is supported. If you need to do more complex stuff - working with conditionals and loops etc - you could let it be processed by e.g. Velocity in the same fashion variable substitution is done now. But to me it seems unlikely you ever really would need that. > Im thinking that I could store the custom > CSS In either a database or some xml structure, would that be okay because > im having some trouble seeing how I can apply the sharedressource decorator > to the template I don't know... why from a database or xml file when you can just have the raw (non-interpolated) css file with your sources, served as a package resource, and then interpolate with the variables that are specific for the user (and e.g. come from a database)? But I guess if you want, you could directly extend TextTemplate and provide your getString implementation anyway you want it. > this is 1.2.3 extensions though? I think it is. Eelco ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user