Bugs item #1267962, was opened at 2005-08-24 14:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1267962&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Jan Blok (jan_blok)
Assigned to: Nobody/Anonymous (nobody)
Summary: ListView renders items when modelObject is null

Initial Comment:
The ListView start rendering listItems inside the view 
when the modelObject (=java.util.List) is null

I found this code in ListView but I'm not sure what 
MAX_VALUE  has for meaning:
        public int getViewSize()
        {
                int size = this.viewSize;

                final Object modelObject = 
getModelObject();
                if (modelObject == null)
                {
                        return size == 
Integer.MAX_VALUE ? 0 : size; 
                }


It seems to me if the modelObject == null, that the size 
should be 0




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1267962&group_id=119783


-------------------------------------------------------
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