Re: I need WO help.
Re: I need WO help.
- Subject: Re: I need WO help.
- From: email@hidden
- Date: Mon, 9 Jun 2003 12:39:51 +0100
Michael,
I am not sure I understand very well what you are trying to achieve but
I will help the best I can.
On Saturday, June 7, 2003, at 01:50 am, Martelli Michael C wrote:
Yeah I dont know much about WO but I am trying to edit a site in WO.
There lot of WO in this site and I wanted to add an item that is in a
page to another page.
Does it mean that you want to reuse some components on more than one
page?
This item is a search function (text bar and
search button). I want to add this to the Nav bar of the site so on
every page the search feature will appear.
Is the navigation bar a component on its own? If it is not I would
recommend doing it so. Simply put the graphical elements in a new
component, the back-end logic in its corresponding Java file. Then make
the component a "Partial Document" (using the document inspector in
WebObjects Builder) and drag the new component to the pages that need
it.
As of now I have been
trying for the past 2 days but no luck. There must be some thing I a
missing when i copy over the WO files and code from the other page. If
anyone can help or guide me in the right direction to a site that
descirbes WO in detail and how they work, so maybe can shed some light
on this topic.
Try the tutorial:
<http://developer.apple.com/techpubs/webobjects/Web_Applications/
index.html>
and look at the examples, e.g.
/Developer/Examples/WebObjects/RelatedLinks
(the footer is in
/Developer/Examples/WebObjects/Frameworks/WOExamplesHarness)
for an example of how to reuse a component.
-- Denis.
If you need me to to be more clear I can.
Thanks
-----------------------------------------
Michael Martelli Jr
University of Scranton - Computer Science
List: db.etree.org/marshmeli
Site: www.cs.uofs.edu/~mcm6
_______________________________________________
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.