On Wed, 27 Oct 2010 16:51:32 -0200, Mark <mark-li...@xeric.net> wrote:
I'm looking for a way to make it easy for a designer to tweak some of the
visual attributes of an application without giving them access to the
filesystem. My thought was to let them put text into the database that
will be pulled out as a CSS stylesheet so they can override anything
they want. However, since CSS isn't XHTML I can't serve it up with a
.tml template.
Does anyone have any suggestions on how to approach this? Is there a
different solution that I may be overlooking?
Two options:
1) Use the OutputRaw to output the CSS content.
2) Create a page that returns a StreamResponse (in this case, you can use
TextStreamResponse) containing your CSS.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org