You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ivana Cace (JIRA)" <ji...@apache.org> on 2007/04/11 18:09:32 UTC

[jira] Created: (WICKET-458) palette demands a modifyable List

palette demands a modifyable List
---------------------------------

                 Key: WICKET-458
                 URL: https://issues.apache.org/jira/browse/WICKET-458
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.2.5
         Environment: tomcat v5.5, java 1.5
            Reporter: Ivana Cace
            Priority: Minor


This is not mentioned in the API, but the Palette constructor requires a proper modifiable List. 
Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-458) Add to the API that Palette requires a modifyable List

Posted by "Ivana Cace (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivana Cace updated WICKET-458:
------------------------------

    Description: 
Add to the API that Palette requires a modifiable List

This is not mentioned in the API, but the Model used in the Palette constructor requires a proper modifiable List. 
Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
java.lang.UnsupportedOperationException



  was:
Add to the API that Palette requires a modifiable List

This is not mentioned in the API, but the Palette constructor requires a proper modifiable List. 
Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
java.lang.UnsupportedOperationException




> Add to the API that Palette requires a modifyable List
> ------------------------------------------------------
>
>                 Key: WICKET-458
>                 URL: https://issues.apache.org/jira/browse/WICKET-458
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat v5.5, java 1.5
>            Reporter: Ivana Cace
>            Priority: Minor
>
> Add to the API that Palette requires a modifiable List
> This is not mentioned in the API, but the Model used in the Palette constructor requires a proper modifiable List. 
> Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
> java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-458) Palette requires a modifiable List

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot updated WICKET-458:
----------------------------------------

    Fix Version/s: 1.3
          Summary: Palette requires a modifiable List  (was: Add to the API that Palette requires a modifyable List)

> Palette requires a modifiable List
> ----------------------------------
>
>                 Key: WICKET-458
>                 URL: https://issues.apache.org/jira/browse/WICKET-458
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat v5.5, java 1.5
>            Reporter: Ivana Cace
>         Assigned To: Jean-Baptiste Quenot
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: 20070418-wicket-extensions-Palette-updateModel.txt
>
>
> Add to the API that Palette requires a modifiable List
> This is not mentioned in the API, but the Model used in the Palette constructor requires a proper modifiable List. 
> Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
> java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-458) Add to the API that Palette requires a modifyable List

Posted by "Ivana Cace (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivana Cace updated WICKET-458:
------------------------------

    Description: 
Add to the API that Palette requires a modifiable List

This is not mentioned in the API, but the Palette constructor requires a proper modifiable List. 
Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
java.lang.UnsupportedOperationException



  was:
This is not mentioned in the API, but the Palette constructor requires a proper modifiable List. 
Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
java.lang.UnsupportedOperationException

     Issue Type: Task  (was: Bug)
        Summary: Add to the API that Palette requires a modifyable List  (was: palette demands a modifyable List)

> Add to the API that Palette requires a modifyable List
> ------------------------------------------------------
>
>                 Key: WICKET-458
>                 URL: https://issues.apache.org/jira/browse/WICKET-458
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat v5.5, java 1.5
>            Reporter: Ivana Cace
>            Priority: Minor
>
> Add to the API that Palette requires a modifiable List
> This is not mentioned in the API, but the Palette constructor requires a proper modifiable List. 
> Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
> java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WICKET-458) Add to the API that Palette requires a modifyable List

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot reassigned WICKET-458:
-------------------------------------------

    Assignee: Jean-Baptiste Quenot

> Add to the API that Palette requires a modifyable List
> ------------------------------------------------------
>
>                 Key: WICKET-458
>                 URL: https://issues.apache.org/jira/browse/WICKET-458
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat v5.5, java 1.5
>            Reporter: Ivana Cace
>         Assigned To: Jean-Baptiste Quenot
>            Priority: Minor
>
> Add to the API that Palette requires a modifiable List
> This is not mentioned in the API, but the Model used in the Palette constructor requires a proper modifiable List. 
> Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
> java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-458) Palette requires a modifiable List

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot updated WICKET-458:
----------------------------------------

    Fix Version/s:     (was: trunk)
                   1.3.0-beta1

> Palette requires a modifiable List
> ----------------------------------
>
>                 Key: WICKET-458
>                 URL: https://issues.apache.org/jira/browse/WICKET-458
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat v5.5, java 1.5
>            Reporter: Ivana Cace
>            Assignee: Jean-Baptiste Quenot
>            Priority: Minor
>             Fix For: 1.3.0-beta1
>
>         Attachments: 20070418-wicket-extensions-Palette-updateModel.txt
>
>
> Add to the API that Palette requires a modifiable List
> This is not mentioned in the API, but the Model used in the Palette constructor requires a proper modifiable List. 
> Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
> java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-458) Palette requires a modifiable List

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot resolved WICKET-458.
-----------------------------------------

    Resolution: Fixed

updateModel() fixed:

* Call getModel().setObject() like in ListMultipleChoice
* Update Javadoc


> Palette requires a modifiable List
> ----------------------------------
>
>                 Key: WICKET-458
>                 URL: https://issues.apache.org/jira/browse/WICKET-458
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat v5.5, java 1.5
>            Reporter: Ivana Cace
>         Assigned To: Jean-Baptiste Quenot
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: 20070418-wicket-extensions-Palette-updateModel.txt
>
>
> Add to the API that Palette requires a modifiable List
> This is not mentioned in the API, but the Model used in the Palette constructor requires a proper modifiable List. 
> Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
> java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-458) Add to the API that Palette requires a modifyable List

Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Quenot updated WICKET-458:
----------------------------------------

    Attachment: 20070418-wicket-extensions-Palette-updateModel.txt

Please see the attached patch, what do you think?

> Add to the API that Palette requires a modifyable List
> ------------------------------------------------------
>
>                 Key: WICKET-458
>                 URL: https://issues.apache.org/jira/browse/WICKET-458
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat v5.5, java 1.5
>            Reporter: Ivana Cace
>         Assigned To: Jean-Baptiste Quenot
>            Priority: Minor
>         Attachments: 20070418-wicket-extensions-Palette-updateModel.txt
>
>
> Add to the API that Palette requires a modifiable List
> This is not mentioned in the API, but the Model used in the Palette constructor requires a proper modifiable List. 
> Getting a list through Arrays.asList(myArray) will  not do, when the model changes the following exception is thrown:
> java.lang.UnsupportedOperationException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.