Hello,
I am trying to make a prompt for a text item field that is using HTML formatting to display the prompt.
The problem is that, for IE, the status bar shows the text with the HTML tags also displaying as is (the user can see the actual HTML code)
I would like to shut this off from displaying in the status bar or at least not have the HTML code show. How can I do this?
Any help is greatly appreciated!
SmartClient Version: v9.0p_2014-04-23/PowerEdition Deployment (Using SmartGWT)
Reproduced on IE8+11
sample code:
private final TextItem textItem = new TextItem( "name", "title" );
textItem.setPrompt( convertPromptStyle( "any message" ) );
public static String convertPromptStyle( final String message ) {
final StringBuilder builder = new StringBuilder();
builder.append( "<p style=\"width:180px;\">" );
builder.append( message );
builder.append( "</p>" );
return builder.toString();
}
I am trying to make a prompt for a text item field that is using HTML formatting to display the prompt.
The problem is that, for IE, the status bar shows the text with the HTML tags also displaying as is (the user can see the actual HTML code)
I would like to shut this off from displaying in the status bar or at least not have the HTML code show. How can I do this?
Any help is greatly appreciated!
SmartClient Version: v9.0p_2014-04-23/PowerEdition Deployment (Using SmartGWT)
Reproduced on IE8+11
sample code:
private final TextItem textItem = new TextItem( "name", "title" );
textItem.setPrompt( convertPromptStyle( "any message" ) );
public static String convertPromptStyle( final String message ) {
final StringBuilder builder = new StringBuilder();
builder.append( "<p style=\"width:180px;\">" );
builder.append( message );
builder.append( "</p>" );
return builder.toString();
}