You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Edwin Ariel Ferreira Betances (JIRA)" <ji...@apache.org> on 2011/03/16 20:42:29 UTC

[jira] Created: (WICKET-3541) Cache support for AutoComplete

Cache support for AutoComplete 
-------------------------------

                 Key: WICKET-3541
                 URL: https://issues.apache.org/jira/browse/WICKET-3541
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-extensions
    Affects Versions: 1.4.16
         Environment: Any
            Reporter: Edwin Ariel Ferreira Betances
            Priority: Minor
         Attachments: wicket-autocomplete-cache.patch

Adds caching support for the AutoCompleteBehavior behavior. Also allows this feature to be disabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (WICKET-3541) Cache support for AutoComplete

Posted by "Edwin Ariel Ferreira Betances (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edwin Ariel Ferreira Betances updated WICKET-3541:
--------------------------------------------------

    Attachment: wicket-autocomplete-cache.patch

Patch that adds caching to AutoCompleteBehavior.

> Cache support for AutoComplete 
> -------------------------------
>
>                 Key: WICKET-3541
>                 URL: https://issues.apache.org/jira/browse/WICKET-3541
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.16
>         Environment: Any
>            Reporter: Edwin Ariel Ferreira Betances
>            Priority: Minor
>              Labels: ajax, wicket
>         Attachments: wicket-autocomplete-cache.patch
>
>
> Adds caching support for the AutoCompleteBehavior behavior. Also allows this feature to be disabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (WICKET-3541) Cache support for AutoComplete

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007683#comment-13007683 ] 

Martin Grigorov commented on WICKET-3541:
-----------------------------------------

Object.hasOwnProperty is not portable (problems in IE).
Why do you prefer it instead of using dict[someKey] ?

This caching may need support for expiration/eviction. 
For example if you sell goods and your user looks for good1 and this is cached at client side, later she makes the same lookup and this time the product is out of stock then the backend will not return it but with cache it will still show it and be able to send it back to the backend as "selected" product.

> Cache support for AutoComplete 
> -------------------------------
>
>                 Key: WICKET-3541
>                 URL: https://issues.apache.org/jira/browse/WICKET-3541
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.16
>         Environment: Any
>            Reporter: Edwin Ariel Ferreira Betances
>            Priority: Minor
>              Labels: ajax, wicket
>         Attachments: wicket-autocomplete-cache.patch
>
>
> Adds caching support for the AutoCompleteBehavior behavior. Also allows this feature to be disabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (WICKET-3541) Cache support for AutoComplete

Posted by "Edwin Ariel Ferreira Betances (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edwin Ariel Ferreira Betances updated WICKET-3541:
--------------------------------------------------

    Attachment: wicket-autocomplete-cache.patch

Cache expiration support added.

> Cache support for AutoComplete 
> -------------------------------
>
>                 Key: WICKET-3541
>                 URL: https://issues.apache.org/jira/browse/WICKET-3541
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.16
>         Environment: Any
>            Reporter: Edwin Ariel Ferreira Betances
>            Priority: Minor
>              Labels: ajax, wicket
>         Attachments: wicket-autocomplete-cache.patch, wicket-autocomplete-cache.patch
>
>
> Adds caching support for the AutoCompleteBehavior behavior. Also allows this feature to be disabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (WICKET-3541) Cache support for AutoComplete

Posted by "Martin Makundi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007687#comment-13007687 ] 

Martin Makundi commented on WICKET-3541:
----------------------------------------

Please add optional timer (cache lifetime: -1= disabled, 0=eternal, nnn=milliseconds) to autocomplete cache eviction.

> Cache support for AutoComplete 
> -------------------------------
>
>                 Key: WICKET-3541
>                 URL: https://issues.apache.org/jira/browse/WICKET-3541
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.4.16
>         Environment: Any
>            Reporter: Edwin Ariel Ferreira Betances
>            Priority: Minor
>              Labels: ajax, wicket
>         Attachments: wicket-autocomplete-cache.patch
>
>
> Adds caching support for the AutoCompleteBehavior behavior. Also allows this feature to be disabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira