• 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: I need WO help--Final clarification...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need WO help--Final clarification...


  • Subject: Re: I need WO help--Final clarification...
  • From: Denis <email@hidden>
  • Date: Tue, 10 Jun 2003 10:54:54 +0100

Michael,

mardi 10 juin 2003, ` 01:01  am, Martelli Michael C a icrit :
[...]

Now what I want to add is the portion that is the text field and the
search image (with corresponding hyperlink that is to be loaded).  I
want to add that to another component (The Navigation Bar).  I am doing
so, so that the user can do a search from any page they view.  I was
under the assumption that I could copy the WO tags from this component
and simply paster them into  the other (with the WO tags that open the
KeywordSearchForm class).  When I do so and try and search for
something, i get an error, saying that document.keywordform.execute has
no value.  I assume that this is becuase the instance of the object is
null becuase the original form is not open.  But if i have text in the
original label, and hit search on the second search label i added to
the nav bar, it will search becuase document.keywordform.execute has  a
value (but it is not reading from the write text bar that i want it to
read from).

There are two things i can thing of doing to fix it--
1) add stuff from the .wod and .api file of the KeywordSearchForm to
the NavBar

WebObjects doesn't really need the .api file as far as I know. The .wod file is very necessary though!


It is the .wod file that makes the binding between the various <WEBOBJECT> tags and the Java code. WebObjects won't be able to use a HTML template alone, it needs to have the bindings file as well.

-- Denis.
_______________________________________________
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: 
 >Re: I need WO help--Final clarification... (From: Martelli Michael C <email@hidden>)

  • Prev by Date: Can Dreamweaver Edit .wo files?
  • Next by Date: Re: I need WO help--Final clarification (1 more thing)
  • Previous by thread: Re: I need WO help--Final clarification...
  • Next by thread: Re: I need WO help--Final clarification (1 more thing)
  • Index(es):
    • Date
    • Thread