You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2010/03/07 11:00:27 UTC

[jira] Created: (CLK-641) Remove Select control dependency on OptionList

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
             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.


[jira] Resolved: (CLK-641) Remove Select control dependency on OptionList

Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
     [ 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.