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.
TestConstants.java
TestConstants.properties
Is this smartgwt issue? Please let me know if there is a fix/work around for this.
Thanks.
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(); }
Code:
italianHelp=Specificare l''azione che viene eseguita quando il destinatario fa clic sul pulsante. Apri l''app
Thanks.
Comment