Re: Creating drop down list from Project Web Resources
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.