Re: Please help me to solve out this prob...

2008-11-28 Thread Bhupen
solved but in other way... thanks for help it's really feel good
if i get so many response ... thanks guys...

On Nov 28, 2:44 am, gregor <[EMAIL PROTECTED]> wrote:
> Hi Bhupen,
>
> This looks suspiciously like it might be the cause of your exception.
>
> > to load another page i m using code like below...
>
> >                 RootPanel.get("irisPage").clear();
> >                 
> > RootPanel.get("irisPage").add(createUserPageContent.loadPage());
> >                 agentListWidget.widgetInterface();
>
> Suppose you did it something like this (SimplePanel can only have one
> widget):
>
>     SimplePanel pageContainer = new SimplePanel();
>     // add whatever the first page widget is to pageContainer
>     RootPanel.get("irisPage").add(PageContainer);
>
> Then to swap out:
>
>     Widget currPage = pageContainer.getWidget();
>     pageContainer.remove(currWidget);
>     pageContainer.add(createUserPageContent.loadPage());
>
> That way you get the framework sort out the housekeeping for attaching
> and detaching widgets from the DOM.
>
> regards
> gregor
>
> > On Nov 27, 12:12 pm, Bhupen <[EMAIL PROTECTED]> wrote:
>
> > > topLayout.printTop();
> > > RootPanel.get("Top-Menu").add(topMenu.mainMenu());
> > > RootPanel.get("irisPage").add(agentListPageContent.loadPage());
>
> > > // top Layout
> > > package com.client;
>
> > > import com.google.gwt.user.client.ui.HTML;
> > > import com.google.gwt.user.client.ui.RootPanel;
> > > import com.google.gwt.user.client.ui.ClickListener;
> > > import com.google.gwt.user.client.Window;
> > > import com.google.gwt.user.client.ui.Widget;
> > > import com.google.gwt.user.client.ui.Image;
>
> > > public class topLayout
> > > {
>
> > >         public static void printTop()
> > >         {
> > >                 HTML topContent = new HTML(" > > cellspacing='0' cellpadding='0'>"
> > >                   + ""
> > >                   + ""
> > >                   +  "  > > cellpadding='0'>"
> > >                   +   " > > style='background-image:url(images/headerbg.gif); height:
> > > 72px;'>"
> > >                   +   ""
> > >                   +   " > > width='242'
> > > height='72' />"
> > >                   +   " > > width='230'
> > > height='72' />"
> > >                   +   ""
> > >                   +   ""
> > >                   +   " > > src='images/menuleftbg.gif'
> > > width='29' height='37' />"
> > >                   +   ""
> > >                   +        " > > cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
> > > size:18px; margin-top:8px; color:#FF;' >"
>
> > >                  + ""
> > >                         + " > > align='center' id='Top-
> > > Menu'> "
> > >                   + ""
> > >                   +                     ""
>
> > >                   +             ""
> > >                   +             " > > width='230' height='37' />"
>
> > >                   + ""
> > >                   +""
> > >                   +""
> > >                   +""
> > >                   +"");
> > >                   RootPanel.get("TopContents").add(topContent);
> > >         }
>
> > > }
>
> > > //topMenu
>
> > > package com.client;
>
> > > import com.google.gwt.user.client.ui.HTML;
> > > import com.google.gwt.user.client.ui.RootPanel;
> > > import com.google.gwt.user.client.ui.ClickListener;
> > > import com.google.gwt.user.client.Window;
> > > import com.google.gwt.user.client.ui.MenuBar;
> > > import com.google.gwt.user.client.ui.MenuItem;
> > > import com.google.gwt.user.client.Command;
> > > import com.google.gwt.user.client.ui.Widget;
> > > import com.google.gwt.user.client.ui.Composite;
> > > import com.google.gwt.user.client.ui.Label;
> > > import com.google.gwt.user.client.u

Re: Login application

2008-11-27 Thread Bhupen

Yes still i m doing this... and sure need help  do u need any
informationfrom me...

On Nov 27, 9:12 am, satya <[EMAIL PROTECTED]> wrote:
> Hi
> Are you dong with this? do you still need help
>
> -Satya
>
> On Nov 20, 1:37 am, Bhupen <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > I am new to GWT as i m new to java also.. but i have to work on gwt.
> > as of now i have to make a login system that should take Login id and
> > password as input if login successful should show another page..
>
> > like see there is one entry point public class login implements
> > EntryPoint {
>
> > }
>
> > and one public void onModuleLoad() {}
> > html file : login.html, member.html
> > so now we run login.java and here we make entry of loginid and
> > password after success it should redirect member.html... I am very new
> > to this but have to finish this end of the today...
>
> > Please help me ASAP...
>
> > thanks
> > bhupen
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

///IRIS.HTML










  




IRIS













  window.onload = function()
  {
  settings = {
  tl: { radius: 20 },
  tr: { radius: 20 },
  bl: { radius: 20 },
  br: { radius: 20 },
  antiAlias: true,
  autoPad: true
  }

  /*
  Usage:

  newCornersObj = new curvyCorners(settingsObj, classNameStr);
  newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2
[, divObj3[, . . . [, divObjN);
  */
  var myBoxObject = new curvyCorners(settings, "msgDiv");
  myBoxObject.applyCornersToAll();
  }


  

  
  
  
  
  
  






  


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

///IRIS.HTML










  




IRIS













  window.onload = function()
  {
  settings = {
  tl: { radius: 20 },
  tr: { radius: 20 },
  bl: { radius: 20 },
  br: { radius: 20 },
  antiAlias: true,
  autoPad: true
  }

  /*
  Usage:

  newCornersObj = new curvyCorners(settingsObj, classNameStr);
  newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2
[, divObj3[, . . . [, divObjN);
  */
  var myBoxObject = new curvyCorners(settings, "msgDiv");
  myBoxObject.applyCornersToAll();
  }


  

  
  
  
  
  
  






  


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

thanks for reply

i m posting full code
after successful login,, will get the menu and click on dashboard
going to dashboard but not showing and widget like check msgDiv
element, delete element...
thanks for reply

IRIS
package com.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.DockPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.TextBoxBase;
import com.google.gwt.http.client.Response;
import com.google.gwt.dom.client.InputElement;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.FormPanel;
import com.google.gwt.user.client.ui.Hidden;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.Command;
/**
 * Entry point classes define onModuleLoad().
 */
public class IRIS implements EntryPoint {

  /**
   * This is the entry point method.
   */
private DockPanel panel;
private Label lbl = new Label();
String user = "admin";
String passwo = "admin";
private TextBox loginid;
private PasswordTextBox pass;
private VerticalPanel vPanel;
  public void onModuleLoad() {
vPanel = new VerticalPanel();
HTML b = new HTML(loginPage.login());
final Image image = new Image();
image.addClickListener(new ClickListener() {
  public void onClick(Widget sender) {
 boolean errMsg = CheckLogin();
 if (errMsg)
 {
clearAll();
topLayout.printTop();
RootPanel.get("Top-Menu").add(topMenu.mainMenu());

RootPanel.get("irisPage").add(agentListPageContent.loadPage());
/*HTML Test = new HTML ("Event Message Here");
Test.setStyleName("curve-gray");
RootPanel.get("msgDiv").add(Test);
Borders.simpleBorder(Test, 6);*/
agentListWidget.widgetInterface();

 }
 else {
 HTML b = new HTML(loginPage.login());
 lbl.setText("Check User and password");
 }

  }});

image.setUrl("images/signin.gif");
image.setStyleName("cursor-hand");

loginid = new TextBox();
loginid.setStyleName("textbox-gray");
pass = new PasswordTextBox();
pass.setStyleName("textbox-gray");
Init(b);
//Window.alert(RootPanel.get("slot").getElement().getInnerText
());
RootPanel.get("login").add(loginid);
RootPanel.get("password").add(pass);
RootPanel.get("sign-in").add(image);
RootPanel.get("Message").add(lbl);

}
private void clearAll()
{
RootPanel.get("irisPage").clear();
}
private void Init(HTML page)
{
RootPanel.get("irisPage").add(page);
}
public boolean CheckLogin()
{
String Login = loginid.getText();
String password = pass.getText();
if (Login.equals(user) && password.equals(passwo))
{
return true;
}else {return false;}
}
}


//top menu

package com.client;

import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TabPanel;
import com.google.gwt.user.client.ui.Panel;


public class topMenu extends Composite{

public static Widget mainMenu()
{
Command menuClick = new Command()
{
public void execute()
{
dashBoardPage.dashBoard();
}

};

Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

yes i did and Borders.java is  a class using native method to give
round border for any box

On Nov 27, 2:21 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> I'd guess that Borders is screwing things up. Have you tried commenting
> those lines out?
> Ian
>
> http://examples.roughian.com
>
> 2008/11/27 Bhupen <[EMAIL PROTECTED]>
>
> > to load another page i m using code like below...
>
> >                RootPanel.get("irisPage").clear();
>
> >  RootPanel.get("irisPage").add(createUserPageContent.loadPage());
> >                agentListWidget.widgetInterface();
>
> > On Nov 27, 12:12 pm, Bhupen <[EMAIL PROTECTED]> wrote:
> > > topLayout.printTop();
> > > RootPanel.get("Top-Menu").add(topMenu.mainMenu());
> > > RootPanel.get("irisPage").add(agentListPageContent.loadPage());
>
> > > // top Layout
> > > package com.client;
>
> > > import com.google.gwt.user.client.ui.HTML;
> > > import com.google.gwt.user.client.ui.RootPanel;
> > > import com.google.gwt.user.client.ui.ClickListener;
> > > import com.google.gwt.user.client.Window;
> > > import com.google.gwt.user.client.ui.Widget;
> > > import com.google.gwt.user.client.ui.Image;
>
> > > public class topLayout
> > > {
>
> > >         public static void printTop()
> > >         {
> > >                 HTML topContent = new HTML(" > border='0'
> > > cellspacing='0' cellpadding='0'>"
> > >                   + ""
> > >                   + ""
> > >                   +  "  > > cellpadding='0'>"
> > >                   +   " > style='background-image:url(images/headerbg.gif); height:
> > > 72px;'>"
> > >                   +   ""
> > >                   +   " > width='242'
> > > height='72' />"
> > >                   +   " > width='230'
> > > height='72' />"
> > >                   +   ""
> > >                   +   ""
> > >                   +   " > src='images/menuleftbg.gif'
> > > width='29' height='37' />"
> > >                   +   ""
> > >                   +        " > > cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
> > > size:18px; margin-top:8px; color:#FF;' >"
>
> > >                  + ""
> > >                         + " > align='center' id='Top-
> > > Menu'> "
> > >                   + ""
> > >                   +                     ""
>
> > >                   +             ""
> > >                   +             " > width='230' height='37' />"
>
> > >                   + ""
> > >                   +""
> > >                   +""
> > >                   +""
> > >                   +"");
> > >                   RootPanel.get("TopContents").add(topContent);
> > >         }
>
> > > }
>
> > > //topMenu
>
> > > package com.client;
>
> > > import com.google.gwt.user.client.ui.HTML;
> > > import com.google.gwt.user.client.ui.RootPanel;
> > > import com.google.gwt.user.client.ui.ClickListener;
> > > import com.google.gwt.user.client.Window;
> > > import com.google.gwt.user.client.ui.MenuBar;
> > > import com.google.gwt.user.client.ui.MenuItem;
> > > import com.google.gwt.user.client.Command;
> > > import com.google.gwt.user.client.ui.Widget;
> > > import com.google.gwt.user.client.ui.Composite;
> > > import com.google.gwt.user.client.ui.Label;
> > > import com.google.gwt.user.client.ui.TabPanel;
> > > import com.google.gwt.user.client.ui.Panel;
>
> > > public class topMenu extends Composite{
>
> > > public static Widget mainMenu()
> > >         {
> > >                 Command menuClick = new Command()
> > >                         {
> > >                                 public void execute()
> > >                                 {
>
> > dashBoardPage.dashBoard();
> > >                                 }
>
> > >                 

Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

yes i did and Borders.java is  a class using native method to give
round border for any box

On Nov 27, 2:21 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> I'd guess that Borders is screwing things up. Have you tried commenting
> those lines out?
> Ian
>
> http://examples.roughian.com
>
> 2008/11/27 Bhupen <[EMAIL PROTECTED]>
>
> > to load another page i m using code like below...
>
> >                RootPanel.get("irisPage").clear();
>
> >  RootPanel.get("irisPage").add(createUserPageContent.loadPage());
> >                agentListWidget.widgetInterface();
>
> > On Nov 27, 12:12 pm, Bhupen <[EMAIL PROTECTED]> wrote:
> > > topLayout.printTop();
> > > RootPanel.get("Top-Menu").add(topMenu.mainMenu());
> > > RootPanel.get("irisPage").add(agentListPageContent.loadPage());
>
> > > // top Layout
> > > package com.client;
>
> > > import com.google.gwt.user.client.ui.HTML;
> > > import com.google.gwt.user.client.ui.RootPanel;
> > > import com.google.gwt.user.client.ui.ClickListener;
> > > import com.google.gwt.user.client.Window;
> > > import com.google.gwt.user.client.ui.Widget;
> > > import com.google.gwt.user.client.ui.Image;
>
> > > public class topLayout
> > > {
>
> > >         public static void printTop()
> > >         {
> > >                 HTML topContent = new HTML(" > border='0'
> > > cellspacing='0' cellpadding='0'>"
> > >                   + ""
> > >                   + ""
> > >                   +  "  > > cellpadding='0'>"
> > >                   +   " > style='background-image:url(images/headerbg.gif); height:
> > > 72px;'>"
> > >                   +   ""
> > >                   +   " > width='242'
> > > height='72' />"
> > >                   +   " > width='230'
> > > height='72' />"
> > >                   +   ""
> > >                   +   ""
> > >                   +   " > src='images/menuleftbg.gif'
> > > width='29' height='37' />"
> > >                   +   ""
> > >                   +        " > > cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
> > > size:18px; margin-top:8px; color:#FF;' >"
>
> > >                  + ""
> > >                         + " > align='center' id='Top-
> > > Menu'> "
> > >                   + ""
> > >                   +                     ""
>
> > >                   +             ""
> > >                   +             " > width='230' height='37' />"
>
> > >                   + ""
> > >                   +""
> > >                   +""
> > >                   +""
> > >                   +"");
> > >                   RootPanel.get("TopContents").add(topContent);
> > >         }
>
> > > }
>
> > > //topMenu
>
> > > package com.client;
>
> > > import com.google.gwt.user.client.ui.HTML;
> > > import com.google.gwt.user.client.ui.RootPanel;
> > > import com.google.gwt.user.client.ui.ClickListener;
> > > import com.google.gwt.user.client.Window;
> > > import com.google.gwt.user.client.ui.MenuBar;
> > > import com.google.gwt.user.client.ui.MenuItem;
> > > import com.google.gwt.user.client.Command;
> > > import com.google.gwt.user.client.ui.Widget;
> > > import com.google.gwt.user.client.ui.Composite;
> > > import com.google.gwt.user.client.ui.Label;
> > > import com.google.gwt.user.client.ui.TabPanel;
> > > import com.google.gwt.user.client.ui.Panel;
>
> > > public class topMenu extends Composite{
>
> > > public static Widget mainMenu()
> > >         {
> > >                 Command menuClick = new Command()
> > >                         {
> > >                                 public void execute()
> > >                                 {
>
> > dashBoardPage.dashBoard();
> > >                                 }
>
> > >                 

Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen
to load another page i m using code like below...

RootPanel.get("irisPage").clear();
RootPanel.get("irisPage").add(createUserPageContent.loadPage());
agentListWidget.widgetInterface();

On Nov 27, 12:12 pm, Bhupen <[EMAIL PROTECTED]> wrote:
> topLayout.printTop();
> RootPanel.get("Top-Menu").add(topMenu.mainMenu());
> RootPanel.get("irisPage").add(agentListPageContent.loadPage());
>
> // top Layout
> package com.client;
>
> import com.google.gwt.user.client.ui.HTML;
> import com.google.gwt.user.client.ui.RootPanel;
> import com.google.gwt.user.client.ui.ClickListener;
> import com.google.gwt.user.client.Window;
> import com.google.gwt.user.client.ui.Widget;
> import com.google.gwt.user.client.ui.Image;
>
> public class topLayout
> {
>
>         public static void printTop()
>         {
>                 HTML topContent = new HTML(" cellspacing='0' cellpadding='0'>"
>                   + ""
>                   + ""
>                   +  "  cellpadding='0'>"
>                   +   ""
>                   +   ""
>                   +   " height='72' />"
>                   +   " width='230'
> height='72' />"
>                   +   ""
>                   +   ""
>                   +   " src='images/menuleftbg.gif'
> width='29' height='37' />"
>                   +   ""
>                   +        " cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
> size:18px; margin-top:8px; color:#FF;' >"
>
>                  + ""
>                         + " align='center' id='Top-
> Menu'> "
>                   + ""
>                   +                     ""
>
>                   +             ""
>                   +             " width='230' height='37' />"
>
>                   + ""
>                   +""
>                   +""
>                   +""
>                   +"");
>                   RootPanel.get("TopContents").add(topContent);
>         }
>
> }
>
> //topMenu
>
> package com.client;
>
> import com.google.gwt.user.client.ui.HTML;
> import com.google.gwt.user.client.ui.RootPanel;
> import com.google.gwt.user.client.ui.ClickListener;
> import com.google.gwt.user.client.Window;
> import com.google.gwt.user.client.ui.MenuBar;
> import com.google.gwt.user.client.ui.MenuItem;
> import com.google.gwt.user.client.Command;
> import com.google.gwt.user.client.ui.Widget;
> import com.google.gwt.user.client.ui.Composite;
> import com.google.gwt.user.client.ui.Label;
> import com.google.gwt.user.client.ui.TabPanel;
> import com.google.gwt.user.client.ui.Panel;
>
> public class topMenu extends Composite{
>
> public static Widget mainMenu()
>         {
>                 Command menuClick = new Command()
>                         {
>                                 public void execute()
>                                 {
>                                                 dashBoardPage.dashBoard();
>                                 }
>
>                         };
>
>                         Command menuClick1 = new Command()
>                         {
>                                 public void execute()
>                                 {
>                                                 createUserPage.createUser();
>                                 }
>
>                         };
>                         Command menuClick2 = new Command()
>                         {
>                                 public void execute()
>                                 {
>                                                 userListPage.createUser();
>                                 }
>
>                         };
>                         Command menuClick3 = new Command()
>                         {
>                                 public void execute()
>                                 {
>                                                 
> createApplicationPage.createApplication();
>                                 }
>
>                         };
>                         Command menuClick4 = new Command()
>                         {
>                                 public void execute()
>                                 {
>                      

Re: Please help me to solve out this prob...

2008-11-26 Thread Bhupen
e("curve-gray");
RootPanel.get("selectAll").add(selectAll);
//RootPanel.get("selectAll").add(downarrow);
Borders.simpleBorder(selectAll, 5);
selectAll.addClickListener(new ClickListener() {
public void onClick(Widget sender) {

Window.alert("Command Fired");
}
});
HTML agentStatus = new HTML ("Status");
agentStatus.setStyleName("curve-lightredish");
RootPanel.get("agent-status").add(agentStatus);
Borders.simpleBorder(agentStatus, 5);
agentStatus.addClickListener(new ClickListener() {
public void onClick(Widget sender) {

Window.alert("Command Fired");
}
});
HTML agentCircle = new HTML ("Circle");
agentCircle.setStyleName("curve-gray");
RootPanel.get("agent-circle").add(agentCircle);
Borders.simpleBorder(agentCircle, 5);
agentCircle.addClickListener(new ClickListener() {
public void onClick(Widget sender) {

Window.alert("Command Fired");
}
});
HTML agentAgentId = new HTML ("Agent Id");
agentAgentId.setStyleName("curve-gray");
RootPanel.get("agent-agentId").add(agentAgentId);
Borders.simpleBorder(agentAgentId, 5);
agentAgentId.addClickListener(new ClickListener() {
public void onClick(Widget sender) {

Window.alert("Command Fired");
}
});

}
}
problems:

When i load this get the error mentioned.
When i click on menu it changes the contents but not shows any gwt
widgets only html part get displayed...


On Nov 26, 6:01 pm, Brian <[EMAIL PROTECTED]> wrote:
> Yeah we definitely need to see the code -- but as a wild shot in the
> dark -- on your widget are you overriding onAttach() and forgetting to
> call super.onAttach() ?
>
> On Nov 26, 7:44 am, gregor <[EMAIL PROTECTED]> wrote:
>
> > Can you post example code that caused the exception?
>
> > On Nov 26, 6:50 am, Bhupen <[EMAIL PROTECTED]> wrote:
>
> > > hi, I am new to GWT and working on some project... i have added few
> > > widget in my application and when i am changing the contents with
> > > menu it's not showing any widget... apart from widget all the things
> > > coming properly and i m getting following error
>
> > > [ERROR] Uncaught exception escaped
> > > java.lang.AssertionError: A widget in the detach list was found not
> > > attached to the document. The is likely caused by wrapping an existing
> > > element and removing it from the document without calling
> > > RootPanel.detachNow().
> > >        at com.google.gwt.user.client.ui.RootPanel.detachWidgets
> > > (RootPanel.java:200)
> > >        at com.google.gwt.user.client.ui.RootPanel$1.onWindowClosed
> > > (RootPanel.java:221)
> > >        at com.google.gwt.user.client.Window.fireClosedImpl(Window.java:
> > > 465)
> > >        at com.google.gwt.user.client.Window.fireClosedAndCatch
> > > (Window.java:
> > > 456)
> > >        at com.google.gwt.user.client.Window.onClosed(Window.java:430)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > >        at com.google.gwt.dev.shell.MethodAdaptor.invoke
> > > (MethodAdaptor.java:
> > > 103)
> > >        at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
> > > (IDispatchImpl.java:126)
> > >        at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
> > > (IDispatchProxy.java:155)
> > >        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
> > > (IDispatchImpl.java:294)
> > >        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
> > > (I

Please help me to solve out this prob...

2008-11-25 Thread Bhupen

hi, I am new to GWT and working on some project... i have added few
widget in my application and when i am changing the contents with
menu it's not showing any widget... apart from widget all the things
coming properly and i m getting following error

[ERROR] Uncaught exception escaped
java.lang.AssertionError: A widget in the detach list was found not
attached to the document. The is likely caused by wrapping an existing
element and removing it from the document without calling
RootPanel.detachNow().
   at com.google.gwt.user.client.ui.RootPanel.detachWidgets
(RootPanel.java:200)
   at com.google.gwt.user.client.ui.RootPanel$1.onWindowClosed
(RootPanel.java:221)
   at com.google.gwt.user.client.Window.fireClosedImpl(Window.java:
465)
   at com.google.gwt.user.client.Window.fireClosedAndCatch
(Window.java:
456)
   at com.google.gwt.user.client.Window.onClosed(Window.java:430)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.google.gwt.dev.shell.MethodAdaptor.invoke
(MethodAdaptor.java:
103)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
   at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
   at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
1925)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2966)
   at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
   at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
   at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

And when i pur RootPanel.detachNow(widget)... then nothing is showing
with that panel..

and getting the following error

[ERROR] Uncaught exception escaped
java.lang.AssertionError: detachNow() called on a widget not currently
in the detach list
   at com.google.gwt.user.client.ui.RootPanel.detachNow
(RootPanel.java:
87)
   at com.client.agentListWidget.widgetInterface
(agentListWidget.java:
15)
   at com.client.IRIS$1.onClick(IRIS.java:57)
   at
com.google.gwt.user.client.ui.ClickListenerCollection.fireClick
(ClickListenerCollection.java:34)
   at com.google.gwt.user.client.ui.Image.onBrowserEvent
(Image.java:484)
   at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:
1308)
   at com.google.gwt.user.client.DOM.dispatchEventAndCatch
(DOM.java:
1287)
   at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.google.gwt.dev.shell.MethodAdaptor.invoke
(MethodAdaptor.java:
103)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
   at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
   at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
1925)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2966)
   at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
   at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
   at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

Please help me out of this problem...


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Login application

2008-11-20 Thread Bhupen

Hi all,

I am new to GWT as i m new to java also.. but i have to work on gwt.
as of now i have to make a login system that should take Login id and
password as input if login successful should show another page..

like see there is one entry point public class login implements
EntryPoint {

}
and one public void onModuleLoad() {}
html file : login.html, member.html
so now we run login.java and here we make entry of loginid and
password after success it should redirect member.html... I am very new
to this but have to finish this end of the today...

Please help me ASAP...

thanks
bhupen

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---