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

Reply via email to