click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <>
Subject [jira] Created: (CLK-641) Remove Select control dependency on OptionList
Date Sun, 07 Mar 2010 10:00:27 GMT
Remove Select control dependency on OptionList

                 Key: CLK-641
             Project: Click
          Issue Type: Improvement
          Components: core
    Affects Versions: 2.1.0
            Reporter: 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.

View raw message