Ok I see now, thanks for the help,
Mark
On Jun 16, 8:38 pm, Ian Bambury ianbamb...@gmail.com wrote:
BTW, just for completeness
If so, would the call the add(new Label(items from dom)) be redundant?
As you have probably worked out, the data for the dictionary is taken from a
JavaScript
Ian, I took a look at the Dictionary class, but I don't understand.
Where is the dictionary getting the user and name elements from?
Is a PHP script supposed to generate them, then in GWT I can just link
up to the items I need in the entry point method? If so, would the
call the add(new
You have to output the data for the Dictionary from the PHP script via a
JavaScript script. In a simple PHP script which creates your index file, put
in something like:
echo script language='javascript'var user = {\fname\:
\Firstname\, \lname\: \Lastname\};/script';
and then in
On 06/13/2009 08:40 PM, markww wrote:
Hi,
This is a general question about GWT and user interfaces. In my
(limited) use with PHP, the server was responsible for generation of
most of the 'UI'. Each script would emit some html which the client
browsers download and render.
If we wanted to
Hi Jeff,
I took a look at the presentation you linked, it pretty much sums up
all the reasons I want to use GWT. You're right, I'll basically have
to make a prototype and see how it works for my end users,
Thanks
On Jun 14, 12:28 pm, Jeff Chimene jchim...@gmail.com wrote:
On 06/13/2009 08:40
A simpler solution with no Ajax call would be:
public class MyProject implements EntryPoint
{
public void onModuleLoad()
{
RootPanel.get().add(new
Label(Dictionary.getDictionary(user).get(name)));
}
}
Ian
http://examples.roughian.com
2009/6/14 markww mar...@gmail.com
Hi,
Hi,
This is a general question about GWT and user interfaces. In my
(limited) use with PHP, the server was responsible for generation of
most of the 'UI'. Each script would emit some html which the client
browsers download and render.
If we wanted to write a project only using GWT for the