On Nov 29, 2010, at 3:02 PM, Brian Topping wrote:
>
> On Nov 29, 2010, at 2:39 PM, Brad Grier wrote:
>
>> My tabs are on panels that get swapped in and out via ajax. Are you using
>> this approach?
>
> They are ajax, but I haven't bothered looking at how it works. Here's what I
> use in populateItem():
>
>> mainContentPanel =
>> cp.loadComponentInstance("mainContentPanel");
>> mainContentPanel.setOutputMarkupId(true);
>> AdminPage.this.replace(mainContentPanel);
>> target.addComponent(mainContentPanel);
Erm, that should have been "what I use in my onClick()"...
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]