From adffaces-user-return-1692-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Dec 26 18:47:31 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 8440 invoked from network); 26 Dec 2006 18:47:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Dec 2006 18:47:30 -0000 Received: (qmail 1298 invoked by uid 500); 26 Dec 2006 18:47:37 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 1272 invoked by uid 500); 26 Dec 2006 18:47:37 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 1237 invoked by uid 99); 26 Dec 2006 18:47:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Dec 2006 10:47:37 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [207.155.252.47] (HELO goliath.cnchost.com) (207.155.252.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Dec 2006 10:47:26 -0800 Received: from LLE (adsl-75-14-235-241.dsl.pltn13.sbcglobal.net [75.14.235.241]) by goliath.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id D1BC3572 for ; Tue, 26 Dec 2006 13:47:01 -0500 (EST) From: "Ly Le" To: Subject: RE: Re: no dynamic columns for tr:table Date: Tue, 26 Dec 2006 10:46:58 -0800 Message-ID: <001b01c7291e$39234940$8000000a@guardian.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <6dac79b90612221737v3076a14dn109aa077e09f98b4@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-index: AccmMvtR9Io0yJ/nSOCiPPgzbOKgnQC6zF+A X-Virus-Checked: Checked by ClamAV on apache.org Hi Adam, I'm using facelets. -----Original Message----- From: Adam Winer [mailto:awiner@gmail.com] Sent: Friday, December 22, 2006 5:38 PM To: adffaces-user@incubator.apache.org Subject: Re: Re: no dynamic columns for tr:table c:forEach? Are you using Facelets or JSP? (c:forEach will not work with JSPs.) -- Adam On 12/22/06, Ly Le wrote: > Not sure what the cause is but I noticed that even if I remove > from the , I still get the error when clicking on any of ajax4jsf > commandLink on that page. > > Anyone has any idea why? I do have a4j-trinidad.jar in my WEB-INF/lib > directory. > > I don't really want to revert back to tomahawk table but might have to if > tr:table is not working. > > Thanks > ly > > -----Original Message----- > From: Ly Le [mailto:lle@guardiananalytics.com] > Sent: Friday, December 22, 2006 12:53 PM > To: adffaces-user@incubator.apache.org > Subject: RE: Re: no dynamic columns for tr:table > > Thanks Sabina. > > I tried and still same error. Btw, I used Trinidad snapshot of Dec 6 (old, > I know). Which snapshot of Trinidad did you use? I can try to upgrade. I > really want to use this instead of binding it to a backing bean method. > > Thanks > ly > > -----Original Message----- > From: Sabina Albu [mailto:sabina.albu@gmail.com] > Sent: Friday, December 22, 2006 12:43 PM > To: adffaces-user@incubator.apache.org > Subject: Re: Re: no dynamic columns for tr:table > > Hi Ly, > > My solution to this problem was to put the whole table in one row. So, I > removed all the table indentation from my code and it worked. > > Sabina > > > On 12/22/06, Ly Le wrote: > > > > When I use in , I always get the following error: > > > > > > > > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > > > > at java.util.ArrayList.RangeCheck(ArrayList.java:546) > > > > at java.util.ArrayList.get(ArrayList.java:321) > > > > at > > javax.faces.component._ComponentChildrenList.get > > (_ComponentChildrenList.java > > :45) > > > > at > > org.apache.myfaces.trinidad.component.UIXCollection.restoreStampState > > (UIXCol > > lection.java:816) > > > > at > > org.apache.myfaces.trinidad.component.UIXTable.restoreStampState( > > UIXTable.ja > > va:323) > > > > at > > org.apache.myfaces.trinidad.component.StampState.restoreChildStampState > > (Stam > > pState.java:152) > > > > at > > org.apache.myfaces.trinidad.component.UIXTable.restoreStampState( > > UIXTable.ja > > va:320) > > > > at > > org.apache.myfaces.trinidad.component.UIXCollection._restoreStampState > > (UIXCo > > llection.java:1115) > > > > at > > org.apache.myfaces.trinidad.component.UIXCollection.postRowDataChange > > (UIXCol > > lection.java:708) > > > > at > > org.apache.myfaces.trinidad.component.UIXCollection.setRowIndex > > (UIXCollectio > > n.java:406) > > > > at > > org.apache.myfaces.trinidad.component.UIXTable._processStamps( > > UIXTable.java: > > 395) > > > > at > > org.apache.myfaces.trinidad.component.UIXTable.processFacetsAndChildren > > (UIXT > > able.java:268) > > > > at > > org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl > > (UIXCo > > llection.java:159) > > > > at > > org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren > > (UIXCom > > ponentBase.java:874) > > > > at > > org.apache.myfaces.trinidad.component.UIXCollection.processDecodes > > (UIXCollec > > tion.java:153) > > > > at javax.faces.component.UIForm.processDecodes(UIForm.java:56) > > > > > > > > Here is my code: > > > > > > > > > styleClass="listView" width="100%" varStatus="vs"> > > > > > > > > > styleClass="icon-viewed">V > > > > > > > > > headerText="Risk"> > > > > > styleClass="#{sess.styleClass}"> > > > > > >

> value="#{sess.risk}"> > > > > > > > > > > > > > > > >

> > > >
> > > >
> > > > > headerText="Account">#{sess.account} > > > > > headerText="Session">#{sess.kvalue} > > > > > > > > > > > > > items="#{alertssearch.sessionDisplayProperties}"> > > > > > width="80px" headerText="#{prop.propDef.displayName}"> > > > > > > > > > > > > > > > > > > > > > > > items="#{vs.current.displayProperties}"> > > > > > width="80px" headerText="#{prop.propDef.displayName}"> > > > > > > > styleClass="#{prop.styleClassForAlert}"/> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > Can you please let me know what's wrong? > > > > > > > > Thanks > > > > ly > > > > > > > > > > > > > > >