How to convert an EntryPoint object into a Composite object.

2009-07-24 Thread Baskar

I am new to GWT RPC application. I have downloaded the GWT plugin for
eclipse and did a sample GWT java product and defined a module which
contains the following three screens:
1, Login Screen
2, Main Screen, which contains menu bar and tool bar options and
3, A master screen, ie., Item Master, which is a Composite screen

I have looked the demos on the following webpage:
http://www.gwt-ext.com/demo/#buttons

I took the SimpleButtons source and trying to add in my project as a
Composite. It's presently as an EntryPoint object, but I have already
an entry point in my application. I need to add as a Composite and
also need to invoke from the Main Screen based on the appropriate menu
selection.

Any can help providing a snippet of code or relevant documentation
link?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to convert an EntryPoint object into a Composite object.

2009-07-24 Thread Isac

You have to extend Composite instead of EntryPoint and initialize your
widgets in the constructor.

Simple example:

public class SimpleButtons extends Composite{
public SimpleButtons(){
final VerticalPanel panel = new VerticalPanel();
initWidget(panel);

final Button button = new Button(Click me!);
panel.add(button);
}
}

Go to the GWT project page: http://code.google.com/webtoolkit/ and
read the Getting Started guide.

Isac.

On 24 jul, 07:07, Baskar baskarani...@gmail.com wrote:
 I am new to GWT RPC application. I have downloaded the GWT plugin for
 eclipse and did a sample GWT java product and defined a module which
 contains the following three screens:
 1, Login Screen
 2, Main Screen, which contains menu bar and tool bar options and
 3, A master screen, ie., Item Master, which is a Composite screen

 I have looked the demos on the following 
 webpage:http://www.gwt-ext.com/demo/#buttons

 I took the SimpleButtons source and trying to add in my project as a
 Composite. It's presently as an EntryPoint object, but I have already
 an entry point in my application. I need to add as a Composite and
 also need to invoke from the Main Screen based on the appropriate menu
 selection.

 Any can help providing a snippet of code or relevant documentation
 link?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to convert an EntryPoint object into a Composite object.

2009-07-24 Thread Nuno
you may give a look at this
pagehttp://tcninja.blogspot.com/2009/07/composites-when-you-need-to-group.html
to
learn a little more about composites.

On Fri, Jul 24, 2009 at 7:07 AM, Baskar baskarani...@gmail.com wrote:


 I am new to GWT RPC application. I have downloaded the GWT plugin for
 eclipse and did a sample GWT java product and defined a module which
 contains the following three screens:
 1, Login Screen
 2, Main Screen, which contains menu bar and tool bar options and
 3, A master screen, ie., Item Master, which is a Composite screen

 I have looked the demos on the following webpage:
 http://www.gwt-ext.com/demo/#buttons

 I took the SimpleButtons source and trying to add in my project as a
 Composite. It's presently as an EntryPoint object, but I have already
 an entry point in my application. I need to add as a Composite and
 also need to invoke from the Main Screen based on the appropriate menu
 selection.

 Any can help providing a snippet of code or relevant documentation
 link?

 



-- 
Quer aprender a programar? acompanhe:
Wants to learn GWT? Follow this blog -

http://tcninja.blogspot.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---