The markupStreamPos was causing the panel to re-iterate the render process until the heapspace error occurred. The problem is, that when the second time the wicket:id="foo" is processed, the component points to earlier in the markupstream. Thus never ending the loop.

Martijn


On 11/18/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
i thought juergen did fix this ?
There is a test now if it was rendered twice Or is that test to late?

I still think that a isFullRender() from the request cycle instead of that markupstreamPos test is a better thing to do.

johan



On 11/18/05, SourceForge.net < [EMAIL PROTECTED]> wrote:
Bugs item #1359899, was opened at 2005-11-18 12:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1359899&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 9
Submitted By: Martijn Dashorst (dashorst)
Assigned to: Nobody/Anonymous (nobody)
Summary: Out of heapspace error while reusing component instance

Initial Comment:
This code example should give a wicket error, but
instead gives a HTTP ERROR: 500 Java+heap+space.

<html>
    <body>
        <span wicket:id="foo">foo</span>
        <span wicket:id="foo">bar</span>
    </body>
</html>


import wicket.markup.html.basic.Label;

public class Index extends QuickStartPage
{
    public Index()
    {
        add(new Label("foo", "die, Die, DIE!"));
    }
}


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1359899&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1

Reply via email to