Announcement

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

    SmartGWT 2.4 And GWT Mixing Problem

    Client Side Problem in firefox 4.0.1
    In the Project , I Used SmartGWT from beginning, after involved MVP Pattern. I tryed out mixing the GWT and SmartGWT
    I find a problem that GWT UI Element "Textbox" can't input text , but the ListBox and Radio is working properly

    is this a smargwt event binding issue?

    Here is the sample code:

    Code:
     
    private FormPanel containerPanel = new FormPanel();
    
    	public TextItem(String labelName,String formName) {
    		TextBox valueBox = new TextBox();
    
    		valueBox.setMaxLength(50);
    		valueBox.setName(formName);
    
    		containerPanel.add(valueBox);
    	}
    sorry for my poor english.


    hmm....may be it's browse compatibility problem ,work propertly in ie and chrome.
    the console print as follows: Textitem unable to get a pointer to this item's focus
    Last edited by realvalkyrie; 1 Jun 2011, 04:18.

    #2
    Hi,

    Its best to try and avoid mixing GWT and smartGWT widgets.

    Take a look at this post -> http://uptick.com.au/content/working-gwt-platforms-mvp-and-uihandlers

    Which discusses a variation of the Model-View-Presenter (MVP) design pattern so that you can restrict the use of smartGWT components to Views and test Presenters with JUnit.

    Cheers
    Rob

    Comment


      #3
      3Q for your information

      Comment

      Working...
      X