• 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: Reusable components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reusable components


  • Subject: Re: Reusable components
  • From: Jean-François Veillette <email@hidden>
  • Date: Fri, 22 Oct 2004 00:19:41 -0400

you have to tell WOImage where the file is located, to do so set the frameworkname binding :
AA:WOImage {
filename = "apicture.gif";
frameworkname = "TheInterfaceFramework";
}


when not set (null), it assume the main bundle, which is the application bundle, and so it won't find files located in your frameworks.

- jfv

Le 04-10-21, à 21:41, Darich Runyan/OMNI INFOSEC LTD HQ a écrit :

All,

Just recently finished up my first production WO web app. I took the easy
route and focused only on the logic, didn't mess with any of that stinking
graphics stuff. ;^) Now that the app has completed testing and is deployed
the client wants me to work with the graphics design group to pretty it up.
The layout that the graphics guys have come up with have a lot of sections
that are juicy for reusable components so I started to look into how to
create one today. I created a new framework and build the reusable
component within the framework. I also included all of the images that the
component needed within the framework. I then added this new framework to
my test application and it worked fine except it did not show the image that
I was looking for, it output the following error within the HTML output:


<img
src="/cgi-bin/WebObjects/Authors.woa/wr? wodata=ERROR_NOT_FOUND_framework_*nu
ll*_filename_navbar.gif">


Do I need to capture the resource somehow in order to display it?

Thanks,
Darich


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ 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
References: 
 >Reusable components (From: Darich Runyan/OMNI INFOSEC LTD HQ <email@hidden>)

  • Prev by Date: Reusable components
  • Next by Date: Re: Passing parameters on a binding
  • Previous by thread: Reusable components
  • Next by thread: Re: Reusable components
  • Index(es):
    • Date
    • Thread