Re: WOImage: Load Any image with certain prefix...
Re: WOImage: Load Any image with certain prefix...
- Subject: Re: WOImage: Load Any image with certain prefix...
- From: Sacha Mallais <email@hidden>
- Date: Thu, 30 Jun 2005 11:17:16 -0700
On Jun 30, 2005, at 11:11 AM, Nathan Walker wrote:
Is this possible?
public String myImageSrc() {
return "/uploadedImages/topImage" + "*";
}
Not knowing the last remaining name of the image I could load it in
by looking for the image that precedes with "topImage".
For example, the imagename could be "topImageSunset.gif"....
That code is valid, but if you would like that to be a meaningful
value for the src binding of a WOImage, then no.
Anybody know a good way to do this?
You'll probably have to do file globbing on the directory yourself
and figure out which one you want.
sacha
_______________________________________________
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