You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Dean Pullen (JIRA)" <ji...@apache.org> on 2007/10/17 12:46:40 UTC

[jira] Created: (WW-2260) resultsLimit attribute set to -1 in autocompleter tag is ignored

resultsLimit attribute set to -1 in autocompleter tag is ignored
----------------------------------------------------------------

                 Key: WW-2260
                 URL: https://issues.apache.org/struts/browse/WW-2260
             Project: Struts 2
          Issue Type: Bug
          Components: Misc
    Affects Versions: 2.0.9
            Reporter: Dean Pullen


The taglib docs state that the resultsLimit attribute can be set to -1 for unlimited results:
"Limit how many results are shown as autocompletion options, set to -1 for unlimited results"

Setting to -1 makes the drop down autocompleter behave as if it has 0 results.

A work around is to set the resultsLimit to something like: resultsLimit="%{yourList.size}" but the docs are currently incorrect.

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


[jira] Resolved: (WW-2260) resultsLimit attribute set to -1 in autocompleter tag is ignored

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2260.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2.x)
                   2.1.3

Type of the attribute was change to "Integer"

> resultsLimit attribute set to -1 in autocompleter tag is ignored
> ----------------------------------------------------------------
>
>                 Key: WW-2260
>                 URL: https://issues.apache.org/struts/browse/WW-2260
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.0.9
>            Reporter: Dean Pullen
>             Fix For: 2.1.3
>
>
> The taglib docs state that the resultsLimit attribute can be set to -1 for unlimited results:
> "Limit how many results are shown as autocompletion options, set to -1 for unlimited results"
> Setting to -1 makes the drop down autocompleter behave as if it has 0 results.
> A work around is to set the resultsLimit to something like: resultsLimit="%{yourList.size}" but the docs are currently incorrect.

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


[jira] Updated: (WW-2260) resultsLimit attribute set to -1 in autocompleter tag is ignored

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown updated WW-2260:
--------------------------

    Fix Version/s:     (was: 2.1.4)
                   2.2.x

> resultsLimit attribute set to -1 in autocompleter tag is ignored
> ----------------------------------------------------------------
>
>                 Key: WW-2260
>                 URL: https://issues.apache.org/struts/browse/WW-2260
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.0.9
>            Reporter: Dean Pullen
>             Fix For: 2.2.x
>
>
> The taglib docs state that the resultsLimit attribute can be set to -1 for unlimited results:
> "Limit how many results are shown as autocompletion options, set to -1 for unlimited results"
> Setting to -1 makes the drop down autocompleter behave as if it has 0 results.
> A work around is to set the resultsLimit to something like: resultsLimit="%{yourList.size}" but the docs are currently incorrect.

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