Re: file locations
Re: file locations
- Subject: Re: file locations
- From: Wes James <email@hidden>
- Date: Fri, 12 Nov 2004 14:55:49 -0700
On Fri, 12 Nov 2004 13:32:03 -0800, Chuck Hill <email@hidden> wrote:
<snip>
> > I'm working on
> > D2W slides viewing app. The image field has been set to use
> > D2WDisplayImageFromPath in the framework: app. I thought of using a
> > D2WCustomCompent and make a page with only the WOImage on it, but I
> > don't know how to grab the file name from the database when a search
> > is done....
> You kind of lost me there, grabbing the file name from the database.
> Hmmm, maybe it _is_ me after all....
>
I have a database of:
Photographer
Subject
Notes
Image
I ran the web assistant and made the image field a
D2WDisplayImageFromPath so that it would take the image data from the
data base, i.e. /slides/slide.jpg and show the picture after doing a
search in the db.
<snip>
> > I have run the app from xcode and I've set it up via JavaMonitor. In
> > the image field I've tried /slides/slide.jpg - trying to get from web
> > server (it workes if I just type in http://server/slides/slide.jpg),
> > slides/slide.jpg (as a symbolic link to
> > /Library/WebServer/Documents/slides and an actual slide folder at the
> > woa resources level).
> Sounds right. What, exactly, is it that you want to do? The slides
> are supposed to be under the webserver doc root, or not?
>
Doesn't /slides/slide.jpg in the database mean get from the apache
server web root which is http://server/slides.jpg in a browser (This
is /default osx apache doc root/slides).
What path does D2WDisplayImageFromPath use? /slides must not mean
"web doc root/slides" to it.
<snap>
>
> I think it is time to take a step back, a deep breath, and say "Here is
> what I need to do. What is the best way to accomplish this?"
Ok... I'll do it again... I've searched in this forum, on apple,
google trying to find out what paths can be used in a wo app. Maybe
D2WDisplayImageFromPath is not just a WOImage.... which might work....
I'll look into D2WDIFP...
> Chuck
thanks,
wes
_______________________________________________
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