• 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: Creating drop down list from Project Web Resources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating drop down list from Project Web Resources


  • Subject: Re: Creating drop down list from Project Web Resources
  • From: Art Isbell <email@hidden>
  • Date: Thu, 27 Feb 2003 10:16:55 -1000

On Thursday, February 27, 2003, at 04:08  AM, Soren Burkhart wrote:

I would like to have a drop down list populated from the list of names from
the Project Web Resources. That way the user can select the resource they
want to utilize.

First, you'll need to install your WO app or framework correctly. WebServerResources will be installed at /WebObjects/<your_app_name>.woa/Contents/WebServerResources or
/WebObjects/Frameworks/<your_framework_name>.framework/ WebServerResources, both relative to your Web server's document root. Under OS X, you'll need to use the pbxbuild command from a shell prompt in your project directory to perform the proper split install (app and Web server files installed at different locations).


sudo pbxbuild install -buildstyle Deployment DSTROOT=/
sudo pbxbuild install -buildstyle WebServer DSTROOT=/

How can I do this?

I don't believe WO offers a programmatic method to do so. You'll probably have to use the Java File class to return the WebServerResources directory contents as a String array which you can put into an NSArray bound to your popup button's "list" key.


Also I would like to have a static URL that refers to documents in the Web
Resources directory. For example:


<A href="/Resources/file">

What's the right way to define the href?

See above.

Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Creating drop down list from Project Web Resources (From: Soren Burkhart <email@hidden>)

  • Prev by Date: Re: Can't launch apps?
  • Next by Date: Re: Can't launch apps?
  • Previous by thread: Creating drop down list from Project Web Resources
  • Next by thread: show-stopping issues with my WO5.1 Deployment on Xserve
  • Index(es):
    • Date
    • Thread