I just submitted a fix. Patch is attached if you want to apply it locally to the 2.0 source code.

Attachment: PIVOT-702.patch
Description: Binary data


On Mar 2, 2011, at 8:01 AM, Jérôme Serré wrote:

Ok.
 
De : Luiz Gustavo [mailto:[email protected]] 
Envoyé : mercredi 2 mars 2011 13:26
À : [email protected]
Objet : Re: Calendar
 

Hello Jérôme,

I opened a Jira issue due to this same problem: https://issues.apache.org/jira/browse/PIVOT-702
It is still open and unresolved =(
Although it seems to be a simple problem, is hard to use Pivot in applications that need this component in many input forms. I've writen an application for personal financial control, and I can't use it (or share it) because its impossible to set up the right dates.

Cheers,
Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com

2011/3/2 Jérôme Serré <[email protected]>
Hello,
 
When i select the 1er fevrier 2009 in French (Kitchen sink/Calendars) there is an error :
 
java.lang.IndexOutOfBoundsException: index -1 out of bounds.
                        at org.apache.pivot.collections.ArrayList.verifyIndexBounds(ArrayList.java:577)
                        at org.apache.pivot.collections.ArrayList.get(ArrayList.java:346)
                        at org.apache.pivot.wtk.TablePane$Row.get(TablePane.java:263)
                        at org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.updateSelection(TerraCalendarSkin.java:706)
                        at org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.selectedDateChanged(TerraCalendarSkin.java:963)
                        at org.apache.pivot.wtk.Calendar$CalendarSelectionListenerList.selectedDateChanged(Calendar.java:90)
                        at org.apache.pivot.wtk.Calendar.setSelectedDate(Calendar.java:212)
                        at org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$4.selectionChanged(TerraCalendarSkin.java:506)
                        at org.apache.pivot.wtk.ButtonGroup$ButtonGroupListenerList.selectionChanged(ButtonGroup.java:46)
                        at org.apache.pivot.wtk.ButtonGroup.setSelection(ButtonGroup.java:128)
                        at org.apache.pivot.wtk.Button.setState(Button.java:469)
                        at org.apache.pivot.wtk.Button.setSelected(Button.java:432)
                        at org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$DateButton.press(TerraCalendarSkin.java:77)
                        at org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$DateButtonSkin.mouseClick(TerraCalendarSkin.java:219)
                        at org.apache.pivot.wtk.Component$ComponentMouseButtonListenerList.mouseClick(Component.java:483)
                       
 
 
 
____________________________
Manage your cellar
 




-- 



Reply via email to