Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FormItem display issue in Internet Explorer

    Hi,

    I tested our application under Firefox, Chrome, and IE, tt's very annoying that IE has always had problem with web displays.

    please see the attached images, the disabled TextItem has a red cross, and the SelectItem picklist icon is not lined up properly.

    How can i fix this?

    Thank you!
    Attached Files

    #2
    See the FAQ - you have included extra CSS.

    Comment


      #3
      I have same issue. I have just added SelectItem. I have not applied any Extra CSS.
      I have tested it on IE6, IE8 and FF. Its look is fine on IE6 and FF. But IE8 has its display issue. IE6 has another issue. When i just click the SelectItem to select any item from the list. It immediately navigates to initial page of the application.
      I have noticed same issue in showcase in Chrome browser also. To check different versions of Internet Explorers use IETester.
      I am stuck please guide so what to do now? Code is as follows: (it is working 100% fine on FF)

      Code:
      HLayout middleLayout = new HLayout(5);  
      		 final DynamicForm form1 = new DynamicForm();   
      	        form.setWidth(500);   
      	        form.setNumCols(4);   
      	  
      	        final Map<String, String[]> departments = new HashMap<String, String[]>();   
      	        departments.put("Marketing", new String[]{"Advertising", "Community Relations"});   
      	        departments.put("Sales", new String[]{"Channel Sales", "Direct Sales"});   
      	        departments.put("Manufacturing", new String[]{"Design", "Development", "QA"});   
      	        departments.put("Services", new String[]{"Support", "Consulting"});   
      	  
      	        SelectItem divisionItem = new SelectItem();   
      	        divisionItem.setName("division");   
      	        divisionItem.setTitle("Division");   
      	        divisionItem.setValueMap("Marketing", "Sales", "Manufacturing", "Services");   
      	        divisionItem.addChangeHandler(new ChangeHandler() {   
      	            public void onChange(ChangeEvent event) {   
      	                String selectedItem = (String) event.getValue();   
      	                form1.getField("department").setValueMap(departments.get(selectedItem));   
      	            }   
      	        });   
      	  
      	        SelectItem departmentItem = new SelectItem();   
      	        departmentItem.setName("department");   
      	        departmentItem.setTitle("Department");   
      	        departmentItem.setAddUnknownValues(false);   
      	  
      	        form1.setItems(divisionItem, departmentItem);
      	        form1.draw(); 
      		//==---
              middleLayout.addMember(form1);
      Last edited by asad_naeem; 1 Dec 2010, 05:17. Reason: Results of other browsers

      Comment

      Working...
      X