[richfaces-issues] [JBoss JIRA] Updated: (RF-7472) PickList: converter is called too much times.

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Tue Jun 30 11:03:09 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Dubovsky updated RF-7472:
-----------------------------------

    Attachment: CustomizePage.jsp


> PickList: converter is called too much times.
> ---------------------------------------------
>
>                 Key: RF-7472
>                 URL: https://jira.jboss.org/jira/browse/RF-7472
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-input
>    Affects Versions: 3.3.2.CR1
>            Reporter: Alexander Dubovsky
>            Assignee: Nick Belaevski
>            Priority: Optional
>         Attachments: Custom.java, CustomizePage.jsp
>
>
> Sources with pickList and its converter are attached.
> # Do not select anything. Click submit.
> => getAsObject was not called. 
> => getAsString was called 2 times: for both items -- all is OK
> # Select only "item-1" in pickList. Click submit.
> => getAsObject was called 2 times: both for item-1
> => getAsString was called 3 times: 2 times for item-1 and 1 time for item-2 -- unnecessary call for item-1
> # Select only "item-2" in pickList. Click submit.
> => getAsObject was called 3 times: 2 times for item-2 and 1 time for item-1 -- different from the 2th case. Why?
> => getAsString was called 3 times: 2 times for item-2 and 1 time for item-1 -- unnecessary call for item-2
> # Select both items in pickList. Click submit.
> => getAsObject was called 5 times: 2 times for item-2 and 3 times for item-1
> => getAsString was called 4 times: 2 times for item-2 and 2 times for item-1 -- unnecessary calls for both items

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list