html widget taking text from a .html file?

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

html widget taking text from a .html file?

Postby andrewmcveigh » Tue May 01, 2007 3:01 am

I can see how to place a HTML widget on the screen, and then externalise the string so it is in a properties file.

Is there any way, however, to externalise it so it is taken from a .html file which I can then edit using an HTML editor?

Cheers,
Andrew
andrewmcveigh
 
Posts: 23
Joined: Sat Apr 14, 2007 12:47 pm
Location: London, UK

Re: html widget taking text from a .html file?

Postby Eric Clayberg » Tue May 01, 2007 7:31 am

andrewmcveigh wrote:I can see how to place a HTML widget on the screen, and then externalise the string so it is in a properties file.
Is there any way, however, to externalise it so it is taken from a .html file which I can then edit using an HTML editor?

The HTML widget just takes a string, so you could read that string in from an HTML file, but you would need to open the file and read it using your own code.

The GWT NLS mechanism just uses standard .properties files.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests