in line with that you could also have java generate that css, but rather then making it inline in the page or head of the page, you could have that generate the external asset, then have the border class of the page create the link tag for that new external asset. we do this for our external javascripts on certain pages.

evan
----- Original Message ----- From: "Daniel Jue" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Tuesday, June 26, 2007 10:45 AM
Subject: Re: is ognl usable inside *.css files ?


Alternatively you could output raw css code inline in your page or
border.  I didn't think any special tapestry parsing went on when
assets like css are served.  My impressions is that the location is
resolved and then the link is inserted in the correct place.

You could also load the contents of a css from a db into the user ASO.
;-)  Then the border class can output css in the header, and it would
override the default css as needed.  Then you still get a default css
applied when there is no user ASO


On 6/26/07, Ken nashua <[EMAIL PROTECTED]> wrote:
Folks,

Want to impact my css-framework by entity based intrinsic's.

Ex. I have an app wide pojo that is stored inside MySQL that characterizes a
background.gif (yes it is a blob but thats irrelevent)

In any event, my blob gets put into an ASO and is sitting there at bootstrap
accessible via ognl object graph.

I want my css file to layout using that blob.

Can I use OGNL inside my css file?

Normally one would use
        background: #fff url( images/background.jpg ) top left no-repeat;

I would like to use
background: #fff url( ognl:app.intrinsics.background.url ) top left
no-repeat;

Is this possible?

Any ideas on the appropriate way one should implement this? Thanks in
advance.

Best regards
Ken in nashua

_________________________________________________________________
Who's that on the Red Carpet? Play & win glamorous prizes.
http://club.live.com/red_carpet_reveal.aspx?icid=REDCARPET_hotmailtextlink3


---------------------------------------------------------------------
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]

Reply via email to