Works for my usecase. Also the forminput examle works. Thanks, Igor > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Juergen Donnerstag > Sent: Friday, August 26, 2005 1:56 PM > To: [email protected] > Subject: Re: [Wicket-develop] Components.checkRending question > > I fixed it. would you please confirm it is working for you as well. > > sorry for the confusion > Juergen > > On 8/26/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > Ahh, stupid me. I'll fix it. > > > > Juergen > > > > On 8/26/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > The problem is you are adding them to the > unrenderedAutoComponents > > > list and later all components in that list get removed. > > > -Igor > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] On > Behalf Of > > > > Juergen Donnerstag > > > > Sent: Friday, August 26, 2005 12:28 PM > > > > To: [email protected] > > > > Subject: Re: [Wicket-develop] Components.checkRending question > > > > > > > > Jon mentioned that on a mail to me as well. It is part > of the "new" > > > > do-not-render invisible code. It used to be just if > > > > (component.isAuto()) { and as the explanations says, autoadded > > > > components are not checked if they have been rendered > or not, they > > > > get excluded. Invisible components which now don't get rendered > > > > must be excluded from the check as well (as well == or). But > > > > obviously there something wrong in my logic. > > > > > > > > Juergen > > > > > > > > On 8/26/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > > Anyone? > > > > > -Igor > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: [EMAIL PROTECTED] > > > > > > [mailto:[EMAIL PROTECTED] > On Behalf > > > > > > Of Igor Vaynberg > > > > > > Sent: Thursday, August 25, 2005 11:13 AM > > > > > > To: [email protected] > > > > > > Subject: RE: [Wicket-develop] > Components.checkRending question > > > > > > > > > > > > The reason I was looking..... > > > > > > My feedbackpanel wasn't working because what > happens is this: > > > > > > When you create the panel it creates a listview for > > > > messages and a > > > > > > webcontainer for the <ul> tag. If there are no messages the > > > > > > ul-container is hidden, so after check rendering is > done the > > > > > > messages-listview is REMOVED from the hierarchy > along with the > > > > > > ul-container because it is not visible. So the next > time the > > > > > > feedbackpanel renders there is an error because it tries > > > > to perform > > > > > > operations on the messages-listview (which is a member > > > > > > variable) which now has its parent set to null > which causes problems. > > > > > > > > > > > > Try this in forminput example, you have to submit the > > > > page for this > > > > > > error to show. > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: [EMAIL PROTECTED] > > > > > > > [mailto:[EMAIL PROTECTED] On > > > > > > Behalf Of Igor > > > > > > > Vaynberg > > > > > > > Sent: Thursday, August 25, 2005 10:38 AM > > > > > > > To: [email protected] > > > > > > > Subject: [Wicket-develop] Components.checkRending question > > > > > > > > > > > > > > Hi guys, I was looking through the code in > > > > > > > Page.checkRendering() and saw the > > > > > > > following: > > > > > > > > > > > > > > // If auto component or not invisible ... > > > > > > > if (component.isAuto() || > !component.isVisibleInHierarchy()) > > > > > > > { > > > > > > > // Add to list of unrendered auto components to // delete > > > > > > > below unrenderedAutoComponents.add(component); > > > > > > > } else... > > > > > > > > > > > > > > Shouldnt that OR be an AND? Later all > > > > > > underenderedAutoComponents get > > > > > > > removed from the hirarchy and this looks like it > will remove > > > > > > > components that are auto OR invisible. > > > > > > > > > > > > > > -Igor > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > SF.Net email is Sponsored by the Better Software > > > > Conference & EXPO > > > > > > > September 19-22, 2005 * San Francisco, CA * Development > > > > Lifecycle > > > > > > > Practices Agile & Plan-Driven Development * Managing > > > > > > Projects & Teams > > > > > > > * Testing & QA Security * Process Improvement & > Measurement > > > > > > > * http://www.sqe.com/bsce5sf > > > > > > > _______________________________________________ > > > > > > > Wicket-develop mailing list > > > > > > > [email protected] > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > SF.Net email is Sponsored by the Better Software > > > > Conference & EXPO > > > > > > September 19-22, 2005 * San Francisco, CA * Development > > > > > > Lifecycle Practices Agile & Plan-Driven Development > * Managing > > > > > > Projects & Teams * Testing & QA Security * Process > Improvement > > > > > > & > > > > Measurement * > > > > > > http://www.sqe.com/bsce5sf > > > > > > _______________________________________________ > > > > > > Wicket-develop mailing list > > > > > > [email protected] > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is Sponsored by the Better Software Conference & > > > > > EXPO September 19-22, 2005 * San Francisco, CA * Development > > > > > Lifecycle Practices Agile & Plan-Driven Development * Managing > > > > Projects & Teams > > > > > * Testing & QA Security * Process Improvement & Measurement * > > > > > http://www.sqe.com/bsce5sf > > > > > _______________________________________________ > > > > > Wicket-develop mailing list > > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software > Conference & EXPO > > > > September 19-22, 2005 * San Francisco, CA * Development > Lifecycle > > > > Practices Agile & Plan-Driven Development * Managing Projects & > > > > Teams * Testing & QA Security * Process Improvement & > Measurement > > > > * http://www.sqe.com/bsce5sf > > > > _______________________________________________ > > > > Wicket-develop mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software > Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > > Practices Agile & Plan-Driven Development * Managing Projects & > > > Teams * Testing & QA Security * Process Improvement & > Measurement * > > > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Wicket-develop mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & > EXPO September 19-22, 2005 * San Francisco, CA * Development > Lifecycle Practices Agile & Plan-Driven Development * > Managing Projects & Teams * Testing & QA Security * Process > Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > >
------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
