[
https://issues.apache.org/jira/browse/WICKET-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johan Compagner closed WICKET-1228.
-----------------------------------
Resolution: Won't Fix
thought about it some more and this can be easily fixed by 1 helper method in
your own code.
Then wicket doesn't have to do checks if the component is a text component and
so on.
> for input components, provide focus + select input value in ajax
> ----------------------------------------------------------------
>
> Key: WICKET-1228
> URL: https://issues.apache.org/jira/browse/WICKET-1228
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3.0-rc2
> Reporter: Peter Ertl
> Assignee: Johan Compagner
> Fix For: 1.3.3
>
> Attachments: FocusAndSelectInputComponent.patch
>
>
> It's quite common that you need to set focus on a input component (text
> field, text area) and select the current input value.
> therefore it would be nice if you could add my patch
> AjaxRequestTarget#focusInputComponent(Component)
> it will call
> #component.focus()
> plus
>
> #component.select()
> in javascript.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.