Re: I need WO help--Final clarification (1 more thing)
Re: I need WO help--Final clarification (1 more thing)
- Subject: Re: I need WO help--Final clarification (1 more thing)
- From: Martelli Michael C <email@hidden>
- Date: Mon, 09 Jun 2003 20:05:00 -0400
I hope to solve this problem, by not using project builder or any other
development tool to do so. I do not have access to them, nor have i
actually ever developed on a mac before. I hope to be able to solve
this problem buy editing the html file, if not them i am open to other
ideas and will see what i will be able to accomplish...
-----------------------------------------
Michael Martelli Jr
University of Scranton - Computer Science
List: db.etree.org/marshmeli
Site: www.cs.uofs.edu/~mcm6
----- Original Message -----
From: Martelli Michael C <email@hidden>
Date: Monday, June 9, 2003 8:01 pm
Subject: Re: I need WO help--Final clarification...
> Hello again, thanks to all for the e-mails and the help. I am
> writing
> to explain my problem in as much detail as i can now to help clear
> up
> what i am trying to do and stuff. Also everyone who told me i
> should
> get more training in WO and even those who offered it WO is only a
> short term project for me (i will be done with it by friday) so if
> i
> had more time or saw that in the future i would be using it i
> would
> def. take everyone up on their offeres, but i think that i will
> play
> around with them and keep doing so until i am finally able to use
> them
> and their functionality.
>
> I am also saying i am sorry for asking "weak" questions and having
> such
> a minimal knowledge base of WO and asking questions about things
> that i
> do not know much about. I just have one prject to *try* and
> complete
> and if i do it will really help out alot of people and make the
> site
> more easily used.
>
> I have looked at tutrials and videos at connect.apple.com, they
> all
> helped me greatly. But i am going to try and explain my problem
> one
> more time so here goes:
> i have a component (a keyword search component), the code
> basically
> looks as follows
> ************
> <WEBOBJECT NAME="KeywordSearchForm">
> ....
> <WEBOBJECT NAME="HasKeywordsSearchesConditional">
> <WEBOBJECT NAME="SavedKeywordSearchesPopupButton"></WEBOBJECT>
> </WEBOBJECT>
> <WEBOBJECT NAME="IsAdminConditional"><b>
> <WEBOBJECT NAME="SaveAsLabel"></WEBOBJECT></b>
> <WEBOBJECT NAME="SaveAsTextField"></WEBOBJECT></WEBOBJECT></td>
> </tr>
> <tr>
> <td ALIGN="LEFT" nowrap>
> <WEBOBJECT NAME="HasKeywordsSearchesConditional">
> <WEBOBJECT NAME="LoadSearchHyperlink">
> <WEBOBJECT NAME="LoadSearchActiveImage"></WEBOBJECT>
> </WEBOBJECT>
> <WEBOBJECT NAME="IsAdminConditional">
> <WEBOBJECT NAME="DeleteSearchHyperlink">
> <WEBOBJECT NAME="DeleteSearchActiveImage"></WEBOBJECT>
> </WEBOBJECT></WEBOBJECT></WEBOBJECT>
> ...
> <WEBOBJECT NAME="HasKeywordsSearchesConditional">
> <WEBOBJECT NAME="LoadSearchHyperlink">
> <WEBOBJECT
> NAME="LoadSearchActiveImage"></WEBOBJECT></WEBOBJECT></WEBOBJECT>
> ...
> </WEBOBJECT>
> *********
> I omitted some portions of the code and i the formatting is off
> (you
> will see table tags randomly insterted in their, becuase some of
> them i
> took out to make it easier...
>
> The SearchHyperline that is loaded is as follows:
>
javascript:document.keywordform.execute.value='search';document.keywordf
> orm.submit();
>
> 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
> or
> 2) write some sort of javascript to give the
> document.keywordform.execute.value the value placed in the text
> bar in
> that i added in the nav bar.
>
> Does this question/scenario make sense to any of you? If so are
> there
> any options of what you think would be possible to do to fix this
> problem or am i stuck becuase of my little knowlegde in WO.
>
> Thanks for everything and do to all of you i have learned a lot
> about
> WO in the past 4 days eventhough it may not be showing right now.
>
> -----------------------------------------
> 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.