I have a form and few panels in it.
In panel 'A' i have search button , panle 'A' consist of set of other panels
'B'.
panel 'B' has few fields for example field 'F'
Each panel is implemented in sepearate java class
I have requirement wherein after entering text in the field 'F' on press of
I have a form and few panels in it.
In panel 'A' i have search button , panle 'A' consist of set of other panels
'B'.
panel 'B' has few fields for example field 'F'
Each panel is implemented in sepearate java class
I have requirement wherein after entering text in the field 'F' on press of
i get below error on using AjaxFormComponentUpdatingBehavior
WicketMessage: Behavior
nl.planon.hera.filters.quicksearch.PnWebAdvancedSearchPanel$3 can only be added
to an instance of a FormComponentRoot
cause:org.apache.wicket.WicketRuntimeException: Behavior
Yes i understood that, but how to solve my original problem
Regards
Krishna
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Martin Grigorov mgrigorov at apache.org writes:
I'm not sure what Igor meant with this suggestion.
I think .setDefaultButton() should do what you need.
Here is another suggestion from me:
Add a non-Ajax behavior to the text field which adds 'keyup' event
handler. When the user types
Put this code in PanelWithTheButton#onInitialize()
i did the same but it did not work
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
the form should be reachable in #onInitialize(). try again
No it is not reachable
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I have a form, few panels in it.
In one of the panel i have few fields and in other panel a search button.
I have requirement wherein after entering text in the field on press of Enter
button search should be performed with out click of search button.
To achieve this i tried following snippet