appendToResponse & anchors
appendToResponse & anchors
- Subject: appendToResponse & anchors
- From: Baiss Eric Magnusson <email@hidden>
- Date: Mon, 26 Jun 2006 19:16:02 -0700
I get to a page on the site by the DA call
http://localhost:51928/cgi-bin/WebObjects/qigong.woa/wa/store?
sideTitle=Online+Store&category=store&wosid=yMtaU1vHNawv14xHlDLMd0
Then I have a popup with an <onChange> method which <submits()> and
the form's action method sets the anchor.
I follow the code in the wiki page for my <appendToResponse>
<http://en.wikibooks.org/wiki/Programming:WebObjects/
Web_Applications/Development/Examples/Anchors>
BTW: I think the wiki page should be changed to call <super.
appendToResponse> regardless, but I tried both ways and don't discern
a difference in how it behaves.
In the source of my page I see in the generated code the anchor:
<a name="#Big Tree Standing Meditation"></a>
I use the popup and <appendToResponse> is called and generates the
following:
<http://localhost:52222/cgi-bin/WebObjects/qigong.woa/wo/
oQePX7B28uPat1I6TkXEdM/2.#Big Tree Standing Meditation>
But the browser doesn't jump to the <anchor>, it just refreshes the
page as is.
I tried deploying it but that didn't change the problem.
TIA,
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden