tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Andreou (JIRA)" <...@tapestry.apache.org>
Subject [jira] Resolved: (TAPESTRY-2163) Autocomplete with forceValidOption=false doesn't accept any values besides model-ones
Date Sun, 09 Mar 2008 05:57:46 GMT

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

Andreas Andreou resolved TAPESTRY-2163.

    Resolution: Won't Fix

Your EmbeddedAutocompleteModel should be modified to accept any kind of values
if that's what's you're after.

So, the getValue method should deal with the fact that the key may not exist in your cache
and the getValues method should append the current string (the filter parameter) to the ArrayList

> Autocomplete with forceValidOption=false doesn't accept any values besides model-ones
> -------------------------------------------------------------------------------------
>                 Key: TAPESTRY-2163
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2163
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 4.1.3, 4.1.5
>         Environment: Netbeans 6.0
> Tomcat 6.0.14
> Java 1.6.0_03
>            Reporter: Andreas
>         Attachments: tapestry_testcase_issue2163.zip
> I recently ran into some problems with Autocomplete...
> Provide a Page with an Automcomplete field.
> Allow this field to accept any value (set forceValidOptions = false).
> Type in one of the options... everything fine.
> Now provide some value besides the options... argh. The value will not be accepted and
an empty value will be saved.  >:o(
> This is very annoying because as a workaround you have to add just another TextField
FOR EACH Autocompleter to be able to enter free values!
> Please check whether it's my fault when implementing the Autocompleter or it's a real
> Will add testcase.

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

To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org

View raw message