You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Janne Hietamäki (JIRA)" <ji...@apache.org> on 2007/05/30 10:37:15 UTC

[jira] Commented: (WICKET-602) Highlighting/Preselecting the first item in the autocomplete list.

    [ https://issues.apache.org/jira/browse/WICKET-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500068 ] 

Janne Hietamäki commented on WICKET-602:
----------------------------------------

It seems this patch is for 1.2. 

I would not like to add any features to the 1.2, but it would be ok to include this into 1.3. Does that help you?

> Highlighting/Preselecting the first item in the autocomplete list.
> ------------------------------------------------------------------
>
>                 Key: WICKET-602
>                 URL: https://issues.apache.org/jira/browse/WICKET-602
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>            Reporter: Dipu C Seminlal
>         Attachments: autocomplete-patch.txt
>
>
> It would be nice to have the ability to specify when we construct the AutoCompleteTextField that if we need to highlight/preselect the first item in the autocomplete list
> I have added a constructor to the Autocomplete textbox where we can specify if we need preselecting 
> public AutoCompleteTextField(String id,boolean preselect)
> {
> 		this(id, (IModel)null,preselect);
> }
> and has made the corresponding changes in the Behaviours and the autocomplete js file.
> Please find the patch attached with this issue.

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