ERXSwitchEmbeddedPage and AjaxTree
ERXSwitchEmbeddedPage and AjaxTree
- Subject: ERXSwitchEmbeddedPage and AjaxTree
- From: John Ours <email@hidden>
- Date: Sun, 02 Aug 2009 20:48:08 -0400
Has anyone had success loading a page with an AjaxTree into a
ERXSwitchEmbeddedPage? This seems to cause an infinite loop for me
during the ajax request to expand a node...and try as I might to
understand Mike's description of how that thing works I can't really
grasp why the loop is occurring.
I'm not ruling out my code of course, but the component works right
when it's not in the ERXSwitchEmbeddedPage.
In the debug pane I watch my population queries run over and over
again, finally ending with an out of memory error:
20:37:38 AFWeb[55127] WARN NSLog - <WOWorkerThread id=1 socket=null>
Throwable occurred: java.lang.OutOfMemoryError: Java heap space
[2009-8-3 1:37:38 EDT] <WorkerThread1> java.lang.OutOfMemoryError:
Java heap space
at
java
.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:
99)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:
393)
at java.lang.StringBuilder.append(StringBuilder.java:120)
at
com.webobjects.appserver.WOMessage.appendContentString(WOMessage.java:
878)
at
com
.webobjects
.appserver
._private
.WOHyperlink._appendComponentActionURLToResponse(WOHyperlink.java:175)
at
com
.webobjects
.appserver
._private.WOHyperlink.appendAttributesToResponse(WOHyperlink.java:210)
at
er
.extensions
.components
._private.ERXHyperlink.appendAttributesToResponse(ERXHyperlink.java:84)
at
com
.webobjects
.appserver
._private
.WOHTMLDynamicElement
._appendOpenTagToResponse(WOHTMLDynamicElement.java:498)
at
com
.webobjects
.appserver
._private.WOHyperlink._appendOpenTagToResponse(WOHyperlink.java:133)
at
com
.webobjects
.appserver
._private
.WOHTMLDynamicElement.appendToResponse(WOHTMLDynamicElement.java:448)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
at
com
.webobjects
.appserver
._private.WOComponentContent.appendToResponse(WOComponentContent.java:
51)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at
com
.webobjects
.appserver._private.WOConditional.appendToResponse(WOConditional.java:
94)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at
com
.webobjects
.appserver._private.WOConditional.appendToResponse(WOConditional.java:
94)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at
er
.extensions
.components
._private.ERXWORepetition.appendToResponse(ERXWORepetition.java:501)
at
com
.webobjects
.appserver
._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:
126)
at er.ajax.AjaxUpdateContainer.handleRequest(AjaxUpdateContainer.java:
238)
at er.ajax.AjaxDynamicElement.invokeAction(AjaxDynamicElement.java:87)
at er.ajax.AjaxUpdateContainer.invokeAction(AjaxUpdateContainer.java:
63)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at er.ajax.AjaxTree.invokeAction(AjaxTree.java:132)
at
com
.webobjects
.appserver
._private.WOComponentReference.invokeAction(WOComponentReference.java:
127)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at
com
.webobjects
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
1078)
at
er.extensions.components.ERXComponent.invokeAction(ERXComponent.java:92)
Aug 02 20:37:38 AFWeb[55127] WARN NSLog - <WOWorkerThread id=1
socket=null> Workerthread exiting due to error, respawning with ID
10001...
_______________________________________________
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