Re: Help deciphering SocketException, (anchor problem)
Re: Help deciphering SocketException, (anchor problem)
- Subject: Re: Help deciphering SocketException, (anchor problem)
- From: Baiss Eric Magnusson <email@hidden>
- Date: Fri, 9 Dec 2005 15:16:25 -0800
Very good, progress is being made, but:
appendToResponse in SC is doing anchor->/cgi-bin/WebObjects/
FinancialWO.woa/wo/XJ99ARpA7RzVJmyQbRzsT0/3.#EditRow89
[2005-12-09 12:10:46 PST] <WorkerThread2> <WOWorkerThread id=2
socket=Socket[addr=/fe80:0:0:0:20a:
95ff:fed8:60f6,port=65188,localport=65113]> Exception while sending
response: java.net.SocketException: Broken pipe
still occurs, here's the new generated HTML using WOGenericContainer
<td>...<a name="#EditRow89"></a></td>
and the broken pipe occurs every time the anchor is appended, as I
somewhat forced the situation and got from Safari:
""Too many redirects occurred trying to open
“http://baissg5.local:65113/cgi-bin/WebObjects/FinancialWO.woa/wo/
XJ99ARpA7RzVJmyQbRzsT0/19.#EditRow89”"
This might occur if you open a page that is redirected to open
another page which then is redirected to open the original page
On Dec 9, 2005, at 11:32 AM, Chuck Hill wrote:
Most curious to me is that there is no terminating <\a> being
generated, either that is an error in WOGenericElement or the
trailing <\a> is unnecessary.
There is your answer! There is bad HTML. Fix that and the
problem should be fixed.
The error is yours. You are using WOGenericElement and you should
be using WOGenericContainer:
"WOGenericContainer supports development of reusable components
that closely model the behavior of common HTML elements. For
example, along with WOComponentContent, you can use
WOGenericContainer to implement your own hyperlink element as a
reusable component. WOGenericContainer has attributes that support
the takeValuesFromRequest and invokeAction phases of the component-
action request-response loop."
WOGenericElement is for tags that have no closing tag like br and
hr. WOGenericContainer is for tags that open and close like a, tr,
div, span, etc.
Chuck
On Dec 8, 2005, at 3:56 PM, Chuck Hill wrote:
Check the page source for bad HTML. Are you sure there are
quotes around the #EditRow61?
Broken pipe means the woadaptor or browser hung up on the app
before receiving a response.
Chuck
On Dec 8, 2005, at 11:23 AM, Baiss Eric Magnusson wrote:
appendToResponse in SC is doing anchor-> /cgi-bin/WebObjects/
FinancialWO.woa/wo/k8WVAyg92z01tf00bK4b7M/3.1.15#EditRow61
[2005-12-07 14:41:16 PST] <WorkerThread4> <WOWorkerThread id=4
socket=Socket[addr=/fe80:0:0:0:20a:
95ff:fed8:60f6,port=61780,localport=61700]> Exception while
sending response: java.net.SocketException: Broken pipe
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/
practical_webobjects
----
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