I am using wicket DropDownChoice and my list is very long, is there a way that when i click the drop down list and then click on a character the list will jump to the first select that start with the same character
wicket DropDownChoice jump to certain selection
576 Views Asked by Ggdw At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in WICKET
- wicket/Jetty: avoid creation of new Http Sessions for liveness requests
- Missing form-action csp directive in CSPDirective
- Wicket 8: How to start a download and switch page/replace panel at the same time?
- Apache Wicket : How to do the mapping between checkbox and backend values right?
- Change CSS on AJAX request in Wicket throws exception in dev mode
- Problem with TinyMCE on Wicket when using addOrReplace
- ApacheWicket Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClas
- How to load Wicket CSS and Icon resources correctly?
- How to enable Apache Wicket debugging
- Working through examples, I don't see a MyBorder class in Navomatic Example
- Configure content security policy according to office uri scheme
- Wicket setResponsePage calls constructor multiple times
- How can I return different values in a FormComponent method?
- Accessing @ConfigurationProperties from Wicket
- Formatting of flash feedback messages in Apache Wicket
Related Questions in DROPDOWNCHOICE
- How does one lookup a ID based on a choice form in a jenkins scripted pipeline?
- How to load a select choice-js with data from the database
- symfony 6 form choice_filter application
- React component style apply after refreshing the page
- How to add empty option in ajax
- How to convert the CheckGroup<> to FormComponent for Validation
- How to add validation for Dropdownchoice and Checkbox in Wicket java
- Apache Wicket - How to retrieve the selected value from DropdownChoice in java
- Wicket Dropdownchoice can not change the selected value
- Select a valid choice. 2.6 is not one of the available choices
- How to listen to on selected event in choice box javafx
- How to set the width of the item list of choiceBox in javafx
- Wicket 1.8 DropDownChoice doesn't show the correct model object
- Wicket DropDownChoice read-only
- Autocomplete DropDownChoice
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I know this is not the exact solution to your problem, but it will solve your functional issue. If you have very long select list, I would recommend loading it progressively with a search field via Ajax.
wicket-select2 is such a (wonderful) wicket component, integrating the select2 library into wicket to provide Ajax filtering, custom rendering, etc. Although the current integration doesn't offer a way to simply add the select2 behaviour to a static non ajax DropDownChoice, it's relatively easy to do by using wicket-select2's classes as a base. For the wicket-select2 integration all you'll need is to use
Select2Choice(orSelect2MultiChoicefor multiple selects) to which you pass a simpleTextChoiceProviderAfter you start using such a component, you don't really want to go back to plain old selects, in particular if you have long lists of choices.
Note : using 1.5.8 (and previously 1.4.x), the old selects in my application display the behaviour you are looking for, e.g. standard html behaviour. However from what I understood you don't use a
<select>tag in your markup for your DropDownChoice: what are you using then (it's likely this is the cause of your issue).