click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CLK-641) Remove Select control dependency on OptionList
Date Tue, 06 Apr 2010 04:28:27 GMT

     [ https://issues.apache.org/jira/browse/CLK-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bob Schellink resolved CLK-641.
-------------------------------

    Resolution: Fixed
      Assignee: Bob Schellink

fixed in trunk

> Remove Select control dependency on OptionList
> ----------------------------------------------
>
>                 Key: CLK-641
>                 URL: https://issues.apache.org/jira/browse/CLK-641
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.1.0
>            Reporter: Bob Schellink
>            Assignee: Bob Schellink
>             Fix For: 2.2.0
>
>
> Currently Select requires its OptionList to be populated *before* the onProcess event.
The Select methods bindRequestValue() and validate() depends on the OptionList.
> It would be advantageous if the OptionList would be populated as late as possible, in
case of redirects, forwards etc.
> bindRequestValue() has no need for this dependency and can be easily removed.
> validate() is trickier because it checks that the first OptionList value is not equal
to the selected value. We can remove this restriction by exposing an API to explicitly set
the value to validate against.

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


Mime
View raw message