Re: Using a EO NSData Attribute in an HTML element's style
Re: Using a EO NSData Attribute in an HTML element's style
- Subject: Re: Using a EO NSData Attribute in an HTML element's style
- From: Mike Schrag <email@hidden>
- Date: Fri, 13 Jun 2008 13:42:15 -0700
I'm storing my images as BLOBs in the database. I have a DIV whose style attribute I want to include the background-image:url(value); property with value being the location of the BLOB.
Is this possible? If so can someone shed some light for me?
I was hoping that I could use a WOGenericContainer with the style attribute being set by a java string method.
There is a rather lengthy debate on this topic on the wiki (image in the db vs the filesystem) which you should definitely check out if you haven't already. Besides that, you would want to implement a custom request handler that can vend out your images given a query string/path ... Or just use ERAttachment framework (which does this).
ms |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden