Re: How to load a website in a panel

2009-04-19 Thread Salvador Diaz

Load each site in a different iframe (http://www.w3.org/TR/html401/
present/frames.html#h-16.5)

If you want it to be done after a button click:

Button button = new Button(load iframes);
button.addClickListener(new ClickListener(){
public void onClick(Widget sender){
//get the iframes and set the source to whatever you want
}
});

Cheers,

Salvador

On Apr 19, 7:08 am, jaga.mcap...@gmail.com jaga.mcap...@gmail.com
wrote:
 Hi,
         How to load four different pages in single page.

         If i clicked a button , four different websites(e.g : google.com ,
 yahoo.com , wikipedia.com, gmail.com) to be load in my page .

        Actually i want to know , what is the code to load the website
 in a panel .

         By using Java , GWT 1.5.3 .

 Regards
 Jagadesh
--~--~-~--~~~---~--~~
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 load a website in a panel

2009-04-19 Thread Darkflame

gwt frame widget helps for this;

Frame frame = new Frame(http://www.google.com/;);
frame.setWidth(100%);
frame.setHeight(700px);
RootPanel.get(demo).add(frame);

On Apr 19, 11:55 am, Salvador Diaz diaz.salva...@gmail.com wrote:
 Load each site in a different iframe (http://www.w3.org/TR/html401/
 present/frames.html#h-16.5)

 If you want it to be done after a button click:

 Button button = new Button(load iframes);
 button.addClickListener(new ClickListener(){
     public void onClick(Widget sender){
         //get the iframes and set the source to whatever you want
     }

 });

 Cheers,

 Salvador

 On Apr 19, 7:08 am, jaga.mcap...@gmail.com jaga.mcap...@gmail.com
 wrote:



  Hi,
          How to load four different pages in single page.

          If i clicked a button , four different websites(e.g : google.com ,
  yahoo.com , wikipedia.com, gmail.com) to be load in my page .

         Actually i want to know , what is the code to load the website
  in a panel .

          By using Java , GWT 1.5.3 .

  Regards
  Jagadesh
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to load a website in a panel

2009-04-18 Thread jaga.mcap...@gmail.com

Hi,
How to load four different pages in single page.

If i clicked a button , four different websites(e.g : google.com ,
yahoo.com , wikipedia.com, gmail.com) to be load in my page .

   Actually i want to know , what is the code to load the website
in a panel .

By using Java , GWT 1.5.3 .

Regards
Jagadesh

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---