I think we just need to add the autoSubmit property to CoreTreeTable (it's only on CoreTable).
-- Adam On 4/10/07, Danny Robinson <[EMAIL PROTECTED]> wrote:
OK, I have to admit I'm confused on this one. The treetable component has gained the autoSubmit attribute on it from patch 186, it also uses exactly the same SimpleSelectBooleanCheckboxRenderer.getOnClick() function to output the required onclick javascript. Except when I did a quick debug through it, isAutoSubmit(bean) return false for treetable, but true for table. Debugging further into this method, proved that the autoSubmit property is set correctly on the treetable bean that is passed into getOnClick(). Help, anyone....! Danny On 4/10/07, Mark Emeny <[EMAIL PROTECTED]> wrote: > > All, > > I have now started using 1.0.1 (which I see has the 186 patch already > applied). However, I should have probably been more specific as I need > this functionality on both the table (which is now working) and the > treetable which I see is not. Is there a plan to get this working in a > future patch/version? > > Regards, > > Mark. > > -----Original Message----- > From: Danny Robinson [mailto:[EMAIL PROTECTED] > Sent: 06 April 2007 12:38 > To: adffaces-user@incubator.apache.org > Subject: Re: Table Auto Submit > > Mark, > > There's a patch waiting for review to provide this functionality > (ADFFACES-186), you could download this patch file and apply it to your > local build if you need it sooner. > Thanks, > > Danny > > > On 4/5/07, Mark Emeny <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > > > > > I've been busy converting an application originally developed with ADF > > to Trinidad. The majority of the changes have been straight forward > > (change of tag library etc.) but the main feature I am missing regards > > table selection. > > > > > > > > 1. I understand that the selection facet has now been removed > from > > table controls but this also means auto submit on tables, where a > > selection listener is present, is also gone. Is there a legitimate > > reason why this is so? It just means I have to manage the selection > post > > back myself which seems a backward step. > > > > > > > > Many thanks for your help. > > > > > > > > Mark. > > > > > > > -- > Chordiant Software Inc. > www.chordiant.com > -- Chordiant Software Inc. www.chordiant.com