Hello,

I have a form that changes depending on which radio button is selected.

By changes I mean a panel inside a markup container is replaced with a
different panel.

<span wicket:id="typeWMC">
     <span wicket:id="typeOfSearch"></span>
</span>

protected void onEvent(AjaxRequestTarget target) {
 if (!(typeWMC.get("typeOfSearch") instanceof SearchPanel)) {
    typeWMC.removeAll();
    typeWMC.add(new SearchPanel("typeOfSearch", schModel, requestMap,
myForm));
    target.addComponent(typeWMC);
 }
}

It works great in IE6.

In Firefox 2 the form content just keeps growing. Although what is passed
back via the ajax debug window is correct and does not grow.

Enabling or disabling Firebug has no affect.

Suggestions?

Thanks,

Shawn
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to