Bugs item #1473231, was opened at 2006-04-19 22:12
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=1473231&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: extensions
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Maciej Janusz (mjanusz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Palette doesn't show item when choicesModel has only 1
Initial Comment:
Palette doesn't show item when choicesModel has only
one item and model (selected items) is empty.
version: 1.2-rc1
To recreate:
Create Palette panel.
Fill up available selection list with one item.
Sample code (based on example)
<begin code>
public PalettePage()
{
List<Person> persons = new ArrayList<Person>();
persons.add(new Person("Fritz", "Fritzel"));
// rest as in example
<end code>
Result:
There is no item shown.
Possible problem:
For one item Recorder.ids is set to "" and its size is 1
it happens because String.split(","); returns array
[""] (not []).
Possible solution:
Check before split if there is any ',' character or
check results of split(",").
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1473231&group_id=119783
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop