Announcement

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

    Formitem icon prompt appears outside (next to the icon)

    SmartGWT Version v8.2p_2014-01-28 (2014-01-28)

    In some foreign languages, the form item icon prompt appears outside the hover (next to the form item) when it has two '' in the text.

    Example in italian - Specificare l''azione che viene eseguita quando il destinatario fa clic sul pulsante. Apri l''app
    It has two '', one in l''azione and one in l''app.

    Code:
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.core.client.GWT;
    import com.smartgwt.client.widgets.form.DynamicForm;
    import com.smartgwt.client.widgets.form.fields.FormItemIcon;
    import com.smartgwt.client.widgets.form.fields.TextItem;
    import use.your.path.resourcebundle.TestConstants;
    
    public class TestFormItemIconHover implements EntryPoint {
        
        protected static final TestConstants CONSTANTS = GWT.create(TestConstants.class);
    
        public void onModuleLoad() {
    
            DynamicForm form = new DynamicForm();
            
            TextItem item = new TextItem();
            item.setTitle("Name");
            String helpTooltip = "<div STYLE=\"font-size:11px; width:400px; overflow:visible;\">" + CONSTANTS.italianHelp() + "</div>";
            FormItemIcon helpIcon = new FormItemIcon();
            helpIcon.setSrc("http://png-3.findicons.com/files/icons/2315/default_icon/18/help.png");
            helpIcon.setPrompt(helpTooltip);
            item.setIcons(helpIcon);
            form.setFields(item);
            form.draw();
        }
    
    }

    TestConstants.java

    Code:
    import com.google.gwt.i18n.client.Messages;
    
    public interface TestConstants extends Messages
    {
        String italianHelp();
    
    }
    TestConstants.properties
    Code:
    italianHelp=Specificare l''azione che viene eseguita quando il destinatario fa clic sul pulsante. Apri l''app
    Is this smartgwt issue? Please let me know if there is a fix/work around for this.

    Thanks.
    Attached Files
    Last edited by karankhokhani; 25 Mar 2014, 13:50.

    #2
    Yes, this was a bug specific to SmartGWT 3.0, which is now fixed - it was already fixed in later versions.

    Please retest with a build dated March 27 or later.

    Comment


      #3
      This is very late for us to update to a new patched version since we do not have the time to test the entire product. We were using SmartGWT Version v8.2p_2014-01-28 (2014-01-28). Is it safe to update to the latest patch? Could you please provide a complete list of the changes (bug fixes) between the two versions (between 1/28 and 3/26). I am just worried about regression.

      Thanks.

      Comment


        #4
        Please see the text at smartclient.com/builds - yes you should be using the latest patched build, and these builds are as safe as we can make them.

        There is no list of fixes available, and it would not change your situation anyway - you need the latest patched build.

        Comment

        Working...
        X