wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Meier (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WICKET-5130) AutoCompleteTextField hides combo boxes - remove setting
Date Wed, 26 Jun 2013 08:15:20 GMT

     [ https://issues.apache.org/jira/browse/WICKET-5130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sven Meier updated WICKET-5130:
-------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Task  (was: Bug)
    
> AutoCompleteTextField hides combo boxes - remove setting
> --------------------------------------------------------
>
>                 Key: WICKET-5130
>                 URL: https://issues.apache.org/jira/browse/WICKET-5130
>             Project: Wicket
>          Issue Type: Task
>    Affects Versions: 6.6.0
>         Environment: tested on Windows 7, IE9, valid also for IE7 and IE8
>            Reporter: Betlista
>            Assignee: Sven Meier
>            Priority: Minor
>              Labels: autocomplete, autocompletetextfield
>             Fix For: 7.0.0
>
>         Attachments: ScreenShot326.png, ScreenShot327.png, ScreenShot328.png
>
>
> When I have AutoCompleteTextField in form and there are DropDowns below the autocomplete
text field, AutoCompleteTextField drop down hides components below.
> Steps to simulate the behaviour:
> 1.) I created maven project
> mvn archetype:generate -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=6.6.0 -DgroupId=net.betlista -DartifactId=bugs-dropdown -DarchetypeRepository=https://repository.apache.org/
-DinteractiveMode=false
> 2.) in pom.xml I enabled extensions
> 3.) I changed getHomePage() in WicketApplication application to show my new test page
> 4.) page markup is
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
> 	<html>
> 		<head>
> 			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> 			<title>Insert title here</title>
> 		</head>
> 	<body>
> 		<form>
> 			<input type="text" wicket:id="auto"/><br>
> 			<select wicket:id="drop1"></select><br>
> 			<select wicket:id="drop2"></select><br>
> 			<input type="text" wicket:id="text"/><br>
> 		</form>
> 	</body>
> </html>
> 5.) Java class for page is
> package net.betlista;
> import java.util.Iterator;
> import java.util.LinkedList;
> import java.util.List;
> import org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField;
> import org.apache.wicket.markup.html.WebPage;
> import org.apache.wicket.markup.html.form.DropDownChoice;
> import org.apache.wicket.markup.html.form.TextField;
> public class AutoCompleteAndDropDownTestPage extends WebPage {
>     public AutoCompleteAndDropDownTestPage() {
>         add(new AutoCompleteTextField<Integer>("auto") {
>             @Override
>             protected Iterator<Integer> getChoices(final String input) {
>                 return getNewList(20).iterator();
>             }
>         });
>         add(new DropDownChoice<Integer>("drop1", getNewList(15)));
>         add(new DropDownChoice<Integer>("drop2", getNewList(10)));
>         add(new TextField<String>("text"));
>     }
>     private static List<Integer> getNewList(final int upTo) {
>         final LinkedList<Integer> list = new LinkedList<Integer>();
>         for (int i = 0; i < upTo; i++) {
>             list.add(i);
>         }
>         return list;
>     }
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message