• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: file locations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file locations


  • Subject: Re: file locations
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 12 Nov 2004 15:26:26 -0800


On Nov 12, 2004, at 3:20 PM, Wes James wrote:

On Fri, 12 Nov 2004 15:12:29 -0800, Chuck Hill <email@hidden> wrote:
At 03:52 PM 12/11/2004 -0700, Wes James wrote:
<snap>


I can't find (nor can Google) anything called D2WFileFromPath? Is that
from Wonder? It could be that you are just plain using the wrong magic
here. You have an object. It has the file path. What is wrong with just
using a plain, ole WOImage? Bind source to slide.pathToSlide and be done
with it. No magic required.


It should be D2WDisplayImageFromPath

It seems clear that you have the wrong magic, the docs state, "The D2WDisplayImageFromPath class is a property-level component that displays an image whose name is stored in the attribute. The image must be a resource in your application or the framework that you specify in the Web Assistant."

That is just never going to work for you.



How do you use a WOimage in a D2W project? Create a new wocomponent with only a woimage in it and then in the dropdown list for the image db field from eomodelor (in webassistant) select D2WCustomComponent? But then how do I grab the file name from the db? or what do I bind the src to to get the /path/slidel.jpg?

Sorry, I've not used D2W much in the last couple years. Someone else will know.

Chuck



--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
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


  • Follow-Ups:
    • Re: file locations
      • From: Wes James <email@hidden>
References: 
 >file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)
 >Re: file locations (From: Chuck Hill <email@hidden>)
 >Re: file locations (From: Wes James <email@hidden>)

  • Prev by Date: Re: file locations
  • Next by Date: Re: file locations
  • Previous by thread: Re: file locations
  • Next by thread: Re: file locations
  • Index(es):
    • Date
    • Thread