no cuz the assets links incorporate the session id of the user so that
threads dont overwrite external assets and so that the assets are cached to
be reused by the same user in the same session. Absolute files are not
created. Tapestry generates the css or js code which would be stored in the
users session. when the session is cleaned up the code is also cleaned up.
generating external assest are the crux of how AJAX works and how you handle
dynamic content.
evan
----- Original Message -----
From: "Daniel Jue" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Tuesday, June 26, 2007 10:56 AM
Subject: Re: is ognl usable inside *.css files ?
The limitation with this is:
You may have file locking issues to overcome (one thread
deleting/overwriting the file, while another is reading it?)
The files are unique to the application, instead of unique to the
user, unless you want to create a whole bunch of files (one per user),
and then deal with cleaning those files up.
On 6/26/07, Evan Rawson - Work <[EMAIL PROTECTED]> wrote:
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]
---------------------------------------------------------------------
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]