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()
>                                 {
>                                                 
> applicationListPage.applicationList();
>                                 }
>
>                         };
>                         Command menuClick5 = new Command()
>                         {
>                                 public void execute()
>                                 {
>                                                 createJobPage.createJob();
>                                 }
>
>                         };
>                         Command menuClick6 = new Command()
>                         {
>                                 public void execute()
>                                 {
>                                                 jobListPage.jobList();
>                                 }
>
>                         };
>                         Command 

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();
> > >                                 }
>
> > >                         };
>
> > >                         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()
> > >                                 {
>
> > applicationListPage.applicationList();
> > >                                 }
>
> > >                         };
> > >                         Command menuClick5 = new Command(

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();
> > >                                 }
>
> > >                         };
>
> > >                         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()
> > >                                 {
>
> > applicationListPage.applicationList();
> > >                                 }
>
> > >                         };
> > >                         Command menuClick5 = new Command(

Re: web.xml or .gwt.xml?

2008-11-27 Thread 闫风
I think web.xml ang .gwt.xml

2008/11/26 Michel <[EMAIL PROTECTED]>

>
> Hi,
>
> I have read the lengthy post about servlet descriptors for hosted mode
> vs. deployed mode.
>
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/36f8c197279d159/ed4f5bbc972bc6b8?lnk=gst&q=web.xml#ed4f5bbc972bc6b8
>
> According to this, I should put my  and  and
> so on in tomcat/webapps/ROOT/WEB-INF/web.xml for hosted mode. Howewer,
> I find that in practice I have to put them in myapplication.gwt.xml,
> like this
>
> 
>
>
> If I do that, and not put my servlet in the aforementioned web.xml, it
> works fine in hosted mode. So that is great, if unexpected, but now I
> want to add a parameter for my servlet, along these lines:
>
>  
>   MusicUploadService
>   
>   org.cafesip.gwtcomp.server.FileUploadServlet
>   
>
>   
>   action-class
>
>   
>   mypackage.MyActionClass
>   
> 
>
> This is from the API for (org.cafesip.gwtcomp.server Class
> FileUploadServlet)
>
>
> How do I add the  to my gwt.xml file? Or should this be in
> web.xml after all? If so, how?
>
> Thank you for your help,
>
>
>
> Michel
>
>
> >
>

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

///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: web.xml or .gwt.xml?

2008-11-27 Thread olivier nouguier

FYI the next version of GWT (1.6) will no longer use the
Module.gwt.xml  but will only relies on classic web.xml.
By the way It will also allow wildcard mapping for services (as
classic servlet does).


http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/564c05d120a274b6/0d8a40af1684b5fa?lnk=gst&q=wildcard#0d8a40af1684b5fa


On Wed, Nov 26, 2008 at 3:02 PM, Isaac Truett <[EMAIL PROTECTED]> wrote:
>
> Servlet configuration in module definitions (gwt.xml files) is for
> *simple* servlets. It's enough to get you started, but once your
> project reaches any siginificant level of complexity, you need to use
> the -noserver option for hosted mode and provide your own app server.
> You configure that app server as you normally would.
>
>
>
> On Wed, Nov 26, 2008 at 3:50 AM, Michel <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I have read the lengthy post about servlet descriptors for hosted mode
>> vs. deployed mode.
>>
>> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/36f8c197279d159/ed4f5bbc972bc6b8?lnk=gst&q=web.xml#ed4f5bbc972bc6b8
>>
>> According to this, I should put my  and  and
>> so on in tomcat/webapps/ROOT/WEB-INF/web.xml for hosted mode. Howewer,
>> I find that in practice I have to put them in myapplication.gwt.xml,
>> like this
>>
>> 
>>
>>
>> If I do that, and not put my servlet in the aforementioned web.xml, it
>> works fine in hosted mode. So that is great, if unexpected, but now I
>> want to add a parameter for my servlet, along these lines:
>>
>>  
>>   MusicUploadService
>>   
>>   org.cafesip.gwtcomp.server.FileUploadServlet
>>   
>>
>>   
>>   action-class
>>
>>   
>>   mypackage.MyActionClass
>>   
>> 
>>
>> This is from the API for (org.cafesip.gwtcomp.server Class
>> FileUploadServlet)
>>
>>
>> How do I add the  to my gwt.xml file? Or should this be in
>> web.xml after all? If so, how?
>>
>> Thank you for your help,
>>
>>
>>
>> Michel
>>
>>
>> >
>>
>
> >
>



-- 
Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.

--~--~-~--~~~---~--~~
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: GWT + MySQL Best Practices?

2008-11-27 Thread Lonifasiko

Hi,

We're also evaluating the possibility of using an architecture
composed by GWT + Servlets + MySQL. I thought it was going to exist
another option to communicate GWT more directly with MySQL, but seems
like a combination of GWT-RPC and servlets is one of the best ways to
achieve this interaction with DB.

In our test project, instead of Tomcat, we're using JBoss to deploy
all the application, both client side code and server-side code,
packaged into a unique .war file. At the moment must admit we're also
copying files and generating the .war package each time manually, but
I've also decided, based on other comments in the group, to use an ANT
script to automatize this hellish task, sure it saves me very much
time and problems.

By the way, do you see any advantages/disadvantages of using JBoss AS
to host the whole application? Why did you choose for example Tomcat?

Thanks and regards.

Miguel
Blog: http://lonifasiko.blogspot.com

On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> For automating the deployment (instead of manually copying) ant is the
> only way to go.  I've heard stories that Maven is even easier, but we
> haven't jumped onto that band wagon (yet).  When we build with no
> server, we have an ant build file that does all that, and then deploys
> to our external server.  We do it old school and jump out to the file
> system and run via command line, but I've done from inside Eclipse as
> well.
>
> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>
> > Hi guys,
>
> > I'm developing a project with GWT + Servlets + MySQL. At this point,
> > I've got the project setup using the "-noserver" flag and I have
> > Connector/J configured on an external Tomcat 6 server so that my
> > servlets can access the DB. Communication to/from server is through
> > GWT-RPC .
>
> > My Problem: This is a bit of a pain b/c anytime I make a change to the
> > servlet code (which resides in the same Eclipse project as my GWT
> > code...and I'd prefer to keep it this way), I have to copy the *.class
> > file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB-
> > INF/classes/blahblahblah folder.
>
> > This seems extremely manual and I'm hopeful that there's a better way
> > to do it. What is the recommended way of doing this type of
> > development? Ideally, I'd it would just pickup the changes to both the
> > client and server code as it used to when I was working in hosted
> > mode. Unfortunately, I couldn't figure out how to get MySQL and
> > Connector/J setup in the integrated Tomcat, so I went with the "-
> > noserver" option and configured it with an external instance of Tomcat
> > instead. This manual copying crap is starting to get super annoying,
> > so I'm reaching out for help.
>
> > What's the best practices for this?
--~--~-~--~~~---~--~~
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: SmartGWT 1.0 Released

2008-11-27 Thread Geraldo Lopes

Sanjiv,

It's not a problem of taking time to load. Big load time is normal
with given the size of showcase.
AMD Sempron(tm) Processor 3200+, 2GB ram, Firefox 3.0.2

After the showcase is completely loaded, I click ComboBox & Family,
Styled ComboBox. The second(12 items) and third combobox (3 items)
takes more than one second to drop down. I got myself clicking and due
to the wait time, I was thinking I clicked the wrong place, and
clicked again and It dropped and hide due to 2 clicks. Imagine the
normal user, operating one application with a customer in front of him
waiting for services...

Good luck with SmartGWT

Geraldo

On 24 nov, 16:56, ckendrick <[EMAIL PROTECTED]> wrote:
> Lest anyone get the wrong idea from francesco, when using SmartGWT you
> can debug your GWT *application* code normally within hosted mode.
>
> If you had a need to debug the core SmartClient libraries (normal
> users will not have a need to do this), you'd use debugging tools like
> Firebug and SmartClient's Developer Console.  Calling this being "out
> in the cold" is bit of hyperbole given that SmartClient's very long
> track record of success has always been based on this approach, which
> works well, and will work even better with the next crop of browsers,
> *all* of which have Firebug clones.
>
> Finally, on performance - the real world performance of enterprise
> RIAs is dominated by the number of trips to the server and the
> intensity of database load.  In this extremely key aspect - again the
> primary determinant of real-world performance - SmartClient/SmartGWT
> has a very dominant lead, which is due to it's sophisticated data
> binding architecture (particularly adaptive client-side operations and
> intelligent data caching).  By comparison, possible code size
> differences caused by a different mix of JSNI vs Java code is at best
> a 3rd or 4th tier performance concern, and is frequently has literally
> zero impact on actual performance of delivered applications.
>
> Using JSNI has distinct advantages - as Sanjiv touched on, we are able
> to optimize things at a very low level within the SmartClient runtime,
> and we can more easily profile and tune core framework code because
> it's not going through a Java->JavaScript translator.  This is very
> much like the mix of native C++ and higher level languages like C#
> within a .NET CLR - different languages for different tasks.
> Personally, for the kinds of applications that SmartGWT is designed
> for, I see it as a tremendous architectural advantage.
>
> On Nov 24, 12:32 am, francescoNemesi <[EMAIL PROTECTED]> wrote:
>
> > Hi Sanjiv,
>
> > thanks for your reply, agree with your comments. Re-reading my post I
> > agree it might look like I was, in a way, attachingsmartGWT. It was
> > not meant to come through that way, nor was my intention to praise
> > GXT.
>
> > It was only meant to be a comparison between approaches, JSNI vs Pure
> > GWT, and I definetely think that using JSNI as the foundation of any
> > GWT framework is not the right thing to do. Smart Client is an amazing
> > framework, but it is a JavScript framework. Using JSNI leaves you in
> > the cold when you need to debug, as an example, but I am sure you know
> > all that.
>
> > I think you have done a great job withsmartGWT, it looks really great
> > and I am sure it will have the success it deserves.
>
> > Regards,
> > Francesco
>
> > On Nov 23, 8:34 pm, "Sanjiv Jivan" <[EMAIL PROTECTED]> wrote:
>
> > > Hi Fransceso,
> > > If you found a library that meets your needs, then good for you.
> > > Compile output size and runtime performance are two separate issues. A 
> > > third
> > > party widget written in GWT Java, regardless of how small it compiles down
> > > to, doesn't magically make it run fast. Nor does it make it magically 
> > > render
> > > perfectly on all browsers. As an example a TableGrid written in GWT Java
> > > could still perform really poorly, and not display consistently on all
> > > browsers.  There are obviously several aspects to GWT that helps avoid 
> > > leaks
> > > and such but this does not mean that any third party code written in GWT 
> > > is
> > > 100% leak free. The GWT 1.6 event API is really neat andSmartGWTusers
> > > it. Well written code is what will perform well and display consistently
> > > across various browser.
>
> > > On the issue of performance, there are numerous posts made by paying GXT
> > > users that the performance of GWT-Ext is still better than GXT. You can
> > > search their forums. This is not to suggest that performance improvements
> > > cannot be made inSmartGWT. If you can give specifics, it would certainly
> > > help in resolving them. But without specifics like whether it was the
> > > initial load time, performance of specific widgets etc it will be 
> > > difficult
> > > to act on. Feel free to post on theSmartGWTforums or create an issue on
> > > thesmartgwtgoogle code project.
>
> > > On the issue of compile output size :  The SmartClien

Re: GWT + MySQL Best Practices?

2008-11-27 Thread olivier nouguier

IMHO you should look at maven for doing this "hellish job"

On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> We're also evaluating the possibility of using an architecture
> composed by GWT + Servlets + MySQL. I thought it was going to exist
> another option to communicate GWT more directly with MySQL, but seems
> like a combination of GWT-RPC and servlets is one of the best ways to
> achieve this interaction with DB.
>
> In our test project, instead of Tomcat, we're using JBoss to deploy
> all the application, both client side code and server-side code,
> packaged into a unique .war file. At the moment must admit we're also
> copying files and generating the .war package each time manually, but
> I've also decided, based on other comments in the group, to use an ANT
> script to automatize this hellish task, sure it saves me very much
> time and problems.
>
> By the way, do you see any advantages/disadvantages of using JBoss AS
> to host the whole application? Why did you choose for example Tomcat?
>
> Thanks and regards.
>
> Miguel
> Blog: http://lonifasiko.blogspot.com
>
> On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>> For automating the deployment (instead of manually copying) ant is the
>> only way to go.  I've heard stories that Maven is even easier, but we
>> haven't jumped onto that band wagon (yet).  When we build with no
>> server, we have an ant build file that does all that, and then deploys
>> to our external server.  We do it old school and jump out to the file
>> system and run via command line, but I've done from inside Eclipse as
>> well.
>>
>> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>>
>> > Hi guys,
>>
>> > I'm developing a project with GWT + Servlets + MySQL. At this point,
>> > I've got the project setup using the "-noserver" flag and I have
>> > Connector/J configured on an external Tomcat 6 server so that my
>> > servlets can access the DB. Communication to/from server is through
>> > GWT-RPC .
>>
>> > My Problem: This is a bit of a pain b/c anytime I make a change to the
>> > servlet code (which resides in the same Eclipse project as my GWT
>> > code...and I'd prefer to keep it this way), I have to copy the *.class
>> > file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB-
>> > INF/classes/blahblahblah folder.
>>
>> > This seems extremely manual and I'm hopeful that there's a better way
>> > to do it. What is the recommended way of doing this type of
>> > development? Ideally, I'd it would just pickup the changes to both the
>> > client and server code as it used to when I was working in hosted
>> > mode. Unfortunately, I couldn't figure out how to get MySQL and
>> > Connector/J setup in the integrated Tomcat, so I went with the "-
>> > noserver" option and configured it with an external instance of Tomcat
>> > instead. This manual copying crap is starting to get super annoying,
>> > so I'm reaching out for help.
>>
>> > What's the best practices for this?
> >
>



-- 
Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.

--~--~-~--~~~---~--~~
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: GWT + MySQL Best Practices?

2008-11-27 Thread Lonifasiko

What does Maven better than Ant? I've heard Maven is quite large and
complex...

On 27 nov, 11:39, "olivier nouguier" <[EMAIL PROTECTED]>
wrote:
> IMHO you should look at maven for doing this "hellish job"
>
>
>
> On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > We're also evaluating the possibility of using an architecture
> > composed by GWT + Servlets + MySQL. I thought it was going to exist
> > another option to communicate GWT more directly with MySQL, but seems
> > like a combination of GWT-RPC and servlets is one of the best ways to
> > achieve this interaction with DB.
>
> > In our test project, instead of Tomcat, we're using JBoss to deploy
> > all the application, both client side code and server-side code,
> > packaged into a unique .war file. At the moment must admit we're also
> > copying files and generating the .war package each time manually, but
> > I've also decided, based on other comments in the group, to use an ANT
> > script to automatize this hellish task, sure it saves me very much
> > time and problems.
>
> > By the way, do you see any advantages/disadvantages of using JBoss AS
> > to host the whole application? Why did you choose for example Tomcat?
>
> > Thanks and regards.
>
> > Miguel
> > Blog:http://lonifasiko.blogspot.com
>
> > On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
> >> For automating the deployment (instead of manually copying) ant is the
> >> only way to go.  I've heard stories that Maven is even easier, but we
> >> haven't jumped onto that band wagon (yet).  When we build with no
> >> server, we have an ant build file that does all that, and then deploys
> >> to our external server.  We do it old school and jump out to the file
> >> system and run via command line, but I've done from inside Eclipse as
> >> well.
>
> >> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>
> >> > Hi guys,
>
> >> > I'm developing a project with GWT + Servlets + MySQL. At this point,
> >> > I've got the project setup using the "-noserver" flag and I have
> >> > Connector/J configured on an external Tomcat 6 server so that my
> >> > servlets can access the DB. Communication to/from server is through
> >> > GWT-RPC .
>
> >> > My Problem: This is a bit of a pain b/c anytime I make a change to the
> >> > servlet code (which resides in the same Eclipse project as my GWT
> >> > code...and I'd prefer to keep it this way), I have to copy the *.class
> >> > file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB-
> >> > INF/classes/blahblahblah folder.
>
> >> > This seems extremely manual and I'm hopeful that there's a better way
> >> > to do it. What is the recommended way of doing this type of
> >> > development? Ideally, I'd it would just pickup the changes to both the
> >> > client and server code as it used to when I was working in hosted
> >> > mode. Unfortunately, I couldn't figure out how to get MySQL and
> >> > Connector/J setup in the integrated Tomcat, so I went with the "-
> >> > noserver" option and configured it with an external instance of Tomcat
> >> > instead. This manual copying crap is starting to get super annoying,
> >> > so I'm reaching out for help.
>
> >> > What's the best practices for this?
>
> --
> Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.

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



Maven build problem

2008-11-27 Thread Cristina Sisu
Hi,

I am new to GWT and am really struggling to mavenize my project in eclipse.
When I run the hosted mode in my mavenized project, the screen pops up but
says "Cannot find resource 'X.html' in the public path of module ".

I was just wondering what I need to add to my pom.xml or gwt.xml so that it
can find the .html file.

Thanks,

Cristina

--~--~-~--~~~---~--~~
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: disable hyperlink

2008-11-27 Thread Litty Preeth
But even if you remove the clickListener, it will cause an onHistroryChange
event right?

On Thu, Nov 27, 2008 at 1:08 PM, Danny Schimke <[EMAIL PROTECTED]>wrote:

> Should'nt setVisible() do this for HyperLinks too?
>
> setVisible needs an element and boolean:
>
> myHyperLink.setVisible(myHyperLink.getElement(), false);
>
> otherwise do what alex.d says:
>
> add and remove a style name which do this.
> CSS: visibility: hidden;
>
> 2008/11/27 alex.d <[EMAIL PROTECTED]>
>
>
>> If you wanna it look disabled - change CSS style. If you wanna your
>> clickListener not being executed - just remove it(use a single
>> listener method - not an anonymous inner class).
>>
>> On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> wrote:
>> > It's a little hacky, but we just substitute a label in it's place.
>> >
>> > On Nov 26, 7:55 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote:
>> >
>> > > Hi,
>> >
>> > > Anybody knows how we can disable a HyperLink in GWT?
>> >
>> > > Regards,
>> > > Litty Preeth
>> >
>> >
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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: Need to richer widget set in GWT

2008-11-27 Thread TedM

There are a couple of problems with the GWT-EXT set

1. The original team that made GWT-EXT has moved to EXT-GWT which is
not a free product.  Which means the support for GWT-EXT may be in
question.
2. GWT-EXT is just JS code wrapped with GWT classes.  This is
different from the GWT core.  You loss all the performance pluses and
all the deferred binding that comes with GWT.
3. I've experienced weird issues with the GWT-EXT widgets in different
browsers.
4. I've experienced odd issues when using GWT and GWT-EXT widgets
together.

Now don't get me wrong.  We (my team at work) are using GWT-EXT,
because it does offer so much in terms of widget richness but I wish
GWT core could offer the same level of richness.


On Nov 27, 6:44 am, Lonifasiko <[EMAIL PROTECTED]> wrote:
> I've spent a couple of hours taking a look at the numerous widgets
> extensions for GWT, both opensource and commercial, and all I can say
> is that I'm really impressed with the user interfaces shown in all
> examples.
>
> Which is the problem with GWT-EXT package? I do see GNU license in the
> project's page...
>
> Thanks and regards.
>
> On 27 nov, 08:38, "alex.d" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Libraries close to your wish list are GXT and GWT Mosaic.
>
> > > > > > The widgets that matter most to me are:
> > > > > > 1. Sortable table/grid
> > > > > > 2. Grouping table/grid
> > > > > > 3. Paging table/grid
> > > > > > 4. Dragable pop dialog (Having action buttons at the top right of 
> > > > > > the
> > > > > > dialog)
> > > > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > > > 6. Calendar date field (With date picker)
> > > > > > 7. ComboBox (Image support, z-indexable)
>
> > > > > > In addition, I think it would be very helpful if GWT had some basic
> > > > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > > > Please let me know if the GWT team is planning on building these
> > > > > > features.
>
> > > > > > If not, let me know if anyone is interested.  Because I'll build 
> > > > > > them
> > > > > > and post them somewhere.
>
> --
> Miguel
> Blog:http://lonifasiko.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT + MySQL Best Practices?

2008-11-27 Thread olivier nouguier

It does all ;)
>From GWT compilation, junit coverage, packaging  ... very easily once
you've made the effort .
But I agree that it's quite complex.

As an example, you can look at http://code.google.com/p/net-orcades-spring/
It's maven driven, and quite functional, but It's my very personal
opinion (about my work :)

On Thu, Nov 27, 2008 at 12:11 PM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> What does Maven better than Ant? I've heard Maven is quite large and
> complex...
>
> On 27 nov, 11:39, "olivier nouguier" <[EMAIL PROTECTED]>
> wrote:
>> IMHO you should look at maven for doing this "hellish job"
>>
>>
>>
>> On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>>
>> > Hi,
>>
>> > We're also evaluating the possibility of using an architecture
>> > composed by GWT + Servlets + MySQL. I thought it was going to exist
>> > another option to communicate GWT more directly with MySQL, but seems
>> > like a combination of GWT-RPC and servlets is one of the best ways to
>> > achieve this interaction with DB.
>>
>> > In our test project, instead of Tomcat, we're using JBoss to deploy
>> > all the application, both client side code and server-side code,
>> > packaged into a unique .war file. At the moment must admit we're also
>> > copying files and generating the .war package each time manually, but
>> > I've also decided, based on other comments in the group, to use an ANT
>> > script to automatize this hellish task, sure it saves me very much
>> > time and problems.
>>
>> > By the way, do you see any advantages/disadvantages of using JBoss AS
>> > to host the whole application? Why did you choose for example Tomcat?
>>
>> > Thanks and regards.
>>
>> > Miguel
>> > Blog:http://lonifasiko.blogspot.com
>>
>> > On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> > wrote:
>> >> For automating the deployment (instead of manually copying) ant is the
>> >> only way to go.  I've heard stories that Maven is even easier, but we
>> >> haven't jumped onto that band wagon (yet).  When we build with no
>> >> server, we have an ant build file that does all that, and then deploys
>> >> to our external server.  We do it old school and jump out to the file
>> >> system and run via command line, but I've done from inside Eclipse as
>> >> well.
>>
>> >> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>>
>> >> > Hi guys,
>>
>> >> > I'm developing a project with GWT + Servlets + MySQL. At this point,
>> >> > I've got the project setup using the "-noserver" flag and I have
>> >> > Connector/J configured on an external Tomcat 6 server so that my
>> >> > servlets can access the DB. Communication to/from server is through
>> >> > GWT-RPC .
>>
>> >> > My Problem: This is a bit of a pain b/c anytime I make a change to the
>> >> > servlet code (which resides in the same Eclipse project as my GWT
>> >> > code...and I'd prefer to keep it this way), I have to copy the *.class
>> >> > file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB-
>> >> > INF/classes/blahblahblah folder.
>>
>> >> > This seems extremely manual and I'm hopeful that there's a better way
>> >> > to do it. What is the recommended way of doing this type of
>> >> > development? Ideally, I'd it would just pickup the changes to both the
>> >> > client and server code as it used to when I was working in hosted
>> >> > mode. Unfortunately, I couldn't figure out how to get MySQL and
>> >> > Connector/J setup in the integrated Tomcat, so I went with the "-
>> >> > noserver" option and configured it with an external instance of Tomcat
>> >> > instead. This manual copying crap is starting to get super annoying,
>> >> > so I'm reaching out for help.
>>
>> >> > What's the best practices for this?
>>
>> --
>> Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.
>
> --
> Miguel
> Blog: http://lonifasiko.blogspot.com
> >
>



-- 
Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.

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



GWT Exceptions

2008-11-27 Thread [EMAIL PROTECTED]

Hi, I am having some problems with my GWT. I am new to GWT so may be
making some very obvious mistakes. Basically, I have written 2
classes, one which deals with the GUI (which is the Entry Point class)
and one which connects to an SQL database, called ItemConnector. It
compiles fine in eclipse but when I run in the development shell I get
the following errors:

[ERROR] Line 73: No source code is available for type
com.project.mysql.ItemsConnector; did you forget to inherit a required
module?

[ERROR] Line 76: No source code is available for type
java.sql.SQLException; did you forget to inherit a required module?

Here is my code from line 73:

private ItemsConnector itemConnector;

//Constructor
public MyApplication() throws SQLException{
itemConnector = new ItemsConnector();
}

Can someone see where I am going wrong? Im guessing its something to
do with the SQL I am trying to run, but have no idea how to solve
this. Please can someone point me in the right direction?

Cheers,
Jack

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



@EJB annotation during junit testing doesn't work

2008-11-27 Thread jolero

Hello everybody.

While developing junit tests in GWT app I have stucked on a problem
that I cannot solve for couple of days now.
In normal runtime I can normally call RPC services that use JPA
(Toplink and Glassfish Appserver) for data access purposes, but during
Junit tests (My tests extends GWTTestCase and use delayTestFinish and
finishTest for asynchronous calls as described in GWT documentation)
RPC methods that use injected objects are failing with
NullPointerException. In other words @EJB annotatnion doesn't work,
Beans are not injected and references to them are nulls.

Have anybody had that issue? Does anybody know a solution? Thx in
advance.

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



Today' Topic: Learn Services Marketing Basics in 5 minutes. & Many More

2008-11-27 Thread [EMAIL PROTECTED]

Delhi Institute of Management & Services

Dear friends,
We are extremely happy to welcome you to the world of Management... We
are in the process of preparing some 5 minutes revision Q & A type
lessons for management students. They are in no way, a replacement for
the classroom lectures, textbooks or any other study guides. If you
wish to go through these lessons.

Please visit today's BLOGS:
Learn Services Marketing Basics in 5 minutes.
http://1005dmmsem2marman22.blogspot.com/

Business Application of Information Technology
http://bmmisall1507.blogspot.com/

Employee Welfare in Human Resource Management
http://bmmanhum1115.blogspot.com/

What is Conflict
http://bmmanfun1008.blogspot.com/
We want you to suggest improvements or corrections if any, by Email to
Ms Sheetal varma, (Senior HR Executive).
Email: [EMAIL PROTECTED]
If you are looking for a job or you want to change a job, please send
your resume to Ms Sheetal (Senior HR Executive). She will try to help
you to find a suitable job.
Email: [EMAIL PROTECTED]


CAREER TRAINING

Join University Recognized Courses MBA {BM} MBA {HR}, MBA {MKT}, and
MBA {Fin}, MCA, BCA, MMC, BMC, B.com M.com M.Insurance, B.Fashion

For Career Development and Job Promotions.

CONTACT:

Delhi Institute of Management &Services,
Study Centre of NMiMS UNIVERSITY, GURU JAMBHESHWAR UNIVERSITY, JAMIA
HAMDARD UNIVERSITY, ALL INDIA MANAGEMENT ASSOCIATION, PUNJAB TECHNICAL
UNIVERSITY, MUMBAI EDUCATION TRUST .
1108 Akashdeep Building, New Delhi 110001
TEL FAX: 23312187,
TEL: 23316475.
If you do not want to receive such mail in future. Please send mail
Email: [EMAIL PROTECTED]
Reference: Mailer 2

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



Remote site call from button click

2008-11-27 Thread mskart

Hello everyone!

Today i begun working with GWT.

I am building an application that i want it to do this:

When i click to a button i want my application to do a call to a
remote site. Lets say Google Home page.

Can anyone tell me how to do the remote site call???

Thanks!!!


--~--~-~--~~~---~--~~
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: Need to richer widget set in GWT

2008-11-27 Thread Lonifasiko

Hi Ted,

Thanks very much for sharing your experience with GWT-Ext controls,
I'll take it into account when evaluating the possibility of using
richer UI controls for GWT applications.

Thanks and regards.

On 27 nov, 13:57, TedM <[EMAIL PROTECTED]> wrote:
> Question.  I just looked at GWT Mosaic.  I'm trying to figure out
> where it fits in?  It looks like it uses the core GWT widgets along
> with widget from the GWT incubator.
>
> But still I think if you compare the functionality of GWT-EXT or
> smartGWT, you will find that GWT Mosaic is still lacking in terms of
> richness.
>
> On Nov 27, 2:38 am, "alex.d" <[EMAIL PROTECTED]> wrote:
>
> > Libraries close to your wish list are GXT and GWT Mosaic.
>
> > > > > > The widgets that matter most to me are:
> > > > > > 1. Sortable table/grid
> > > > > > 2. Grouping table/grid
> > > > > > 3. Paging table/grid
> > > > > > 4. Dragable pop dialog (Having action buttons at the top right of 
> > > > > > the
> > > > > > dialog)
> > > > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > > > 6. Calendar date field (With date picker)
> > > > > > 7. ComboBox (Image support, z-indexable)
>
> > > > > > In addition, I think it would be very helpful if GWT had some basic
> > > > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > > > Please let me know if the GWT team is planning on building these
> > > > > > features.
>
> > > > > > If not, let me know if anyone is interested.  Because I'll build 
> > > > > > them
> > > > > > and post them somewhere.

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



Re: Need to richer widget set in GWT

2008-11-27 Thread TedM

Question.  I just looked at GWT Mosaic.  I'm trying to figure out
where it fits in?  It looks like it uses the core GWT widgets along
with widget from the GWT incubator.

But still I think if you compare the functionality of GWT-EXT or
smartGWT, you will find that GWT Mosaic is still lacking in terms of
richness.



On Nov 27, 2:38 am, "alex.d" <[EMAIL PROTECTED]> wrote:
> Libraries close to your wish list are GXT and GWT Mosaic.
>
> > > > > The widgets that matter most to me are:
> > > > > 1. Sortable table/grid
> > > > > 2. Grouping table/grid
> > > > > 3. Paging table/grid
> > > > > 4. Dragable pop dialog (Having action buttons at the top right of the
> > > > > dialog)
> > > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > > 6. Calendar date field (With date picker)
> > > > > 7. ComboBox (Image support, z-indexable)
>
> > > > > In addition, I think it would be very helpful if GWT had some basic
> > > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > > Please let me know if the GWT team is planning on building these
> > > > > features.
>
> > > > > If not, let me know if anyone is interested.  Because I'll build them
> > > > > and post them somewhere.
--~--~-~--~~~---~--~~
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: Need to richer widget set in GWT

2008-11-27 Thread TedM

I do what to help.

I went to the incubator site and I submitted an e-mail in request for
a sponsor.

I requested my first widget to be a tab panel.  I know GWT has two tab
panels already but I would like to build one that matches the
functionality found in the dynamic tab panel found in EXT.

Let me know if I'm going about this the right way.

On Nov 26, 7:22 pm, gregor <[EMAIL PROTECTED]> wrote:
> > I want to the incubator to see what was in the works and to be honest
> > I was a little disappointed.
>
> > I'm thinking about asking if I can help.
>
> Patches always welcome, I guess:
>
> http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScro...
>
>  On Nov 26, 3:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>
> > wrote:
>
> > > Not native to the GWT library, but check 
> > > outhttp://www.jroller.com/sjivan/entry/smartgwt_1_0_released
>
> > > Smart GWT has a lot of nice things, similar to GWT-EXT.
>
> > > Is your main issue with GWT-EXT that it is not open source/free?  Just
> > > wondering
>
> > > Later,
>
> > > Shaffer
>
> > > On Nov 26, 12:47 pm, TedM <[EMAIL PROTECTED]> wrote:
>
> > > > I've been working with GWT for over a year now and working with GWT-
> > > > EXT for about 6 months and I went to the Google I/O conference.
>
> > > > I was wondering if there was an effort to build up GWT widget set to
> > > > the level of polish of GWT-EXT?
>
> > > > The widgets that matter most to me are:
> > > > 1. Sortable table/grid
> > > > 2. Grouping table/grid
> > > > 3. Paging table/grid
> > > > 4. Dragable pop dialog (Having action buttons at the top right of the
> > > > dialog)
> > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > 6. Calendar date field (With date picker)
> > > > 7. ComboBox (Image support, z-indexable)
>
> > > > In addition, I think it would be very helpful if GWT had some basic
> > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > Please let me know if the GWT team is planning on building these
> > > > features.
>
> > > > If not, let me know if anyone is interested.  Because I'll build them
> > > > and post them somewhere.
--~--~-~--~~~---~--~~
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: redirect problem

2008-11-27 Thread tin

Hi,

I am also facing the same issue. In my case, I have also used Acegi
Security to implement authorization. If session times out then in this
case, Authorization filters of the acegi will not work & control will
not be able to reach the GWT Handler. In this case, however, exception
would still be thrown. So what alternatives do I have in this case?
One that comes to mind is that I can leave authorization rules on the
GWT services as these services shall be accessed by someone who has
got access to the web page in first case. So no authorization for RPC
based services. If there is any authentication error, then the control
would reach GWT handler and the aspects can catch them, marshall them
and send them back to GWT client.

Comments?

Regards,
Nitin

On Oct 2, 12:25 pm, falafala <[EMAIL PROTECTED]> wrote:
> The gwt client cannot interpret the redirect or invalid response
> (hence invocation exception).  I do it this way...
> I use GWT server library so I can implement the service as POJO in
> Spring container and published as gwt service.  I cannot use servlet
> filter  bcoz it cannot handle the marshaling of the response.  It
> should be behind the GWT rpc servlet. So I intercept the call to POJO
> service using Spring aop and check the session there, and throw
> session expired exception. The "SessionExpiredException" can also
> include the URL to be redirected. This can be marshaled and sent back
> to the gwt client.
>
> On the client side, you can catch the SessionExpiredException in the
> AsyncCallback handler and call the Javascript to do the redirect.
--~--~-~--~~~---~--~~
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: Need to richer widget set in GWT

2008-11-27 Thread Lonifasiko

I've spent a couple of hours taking a look at the numerous widgets
extensions for GWT, both opensource and commercial, and all I can say
is that I'm really impressed with the user interfaces shown in all
examples.

Which is the problem with GWT-EXT package? I do see GNU license in the
project's page...

Thanks and regards.

On 27 nov, 08:38, "alex.d" <[EMAIL PROTECTED]> wrote:
> Libraries close to your wish list are GXT and GWT Mosaic.
>
> > > > > The widgets that matter most to me are:
> > > > > 1. Sortable table/grid
> > > > > 2. Grouping table/grid
> > > > > 3. Paging table/grid
> > > > > 4. Dragable pop dialog (Having action buttons at the top right of the
> > > > > dialog)
> > > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > > 6. Calendar date field (With date picker)
> > > > > 7. ComboBox (Image support, z-indexable)
>
> > > > > In addition, I think it would be very helpful if GWT had some basic
> > > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > > Please let me know if the GWT team is planning on building these
> > > > > features.
>
> > > > > If not, let me know if anyone is interested.  Because I'll build them
> > > > > and post them somewhere.

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



Re: Need to richer widget set in GWT

2008-11-27 Thread puthre

You can find a list of external GWT widgets at
http://gwtpedia.com/wiki/index.php/Third_party_extensions_list#Widgets


On Nov 26, 7:47 pm, TedM <[EMAIL PROTECTED]> wrote:
> I've been working with GWT for over a year now and working with GWT-
> EXT for about 6 months and I went to the Google I/O conference.
>
> I was wondering if there was an effort to build up GWT widget set to
> the level of polish of GWT-EXT?
>
> The widgets that matter most to me are:
> 1. Sortable table/grid
> 2. Grouping table/grid
> 3. Paging table/grid
> 4. Dragable pop dialog (Having action buttons at the top right of the
> dialog)
> 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> 6. Calendar date field (With date picker)
> 7. ComboBox (Image support, z-indexable)
>
> In addition, I think it would be very helpful if GWT had some basic
> CSS templates like EXT's default, gray, and vista templates.
>
> Please let me know if the GWT team is planning on building these
> features.
>
> If not, let me know if anyone is interested.  Because I'll build them
> and post them somewhere.

--~--~-~--~~~---~--~~
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: GWT-ext or ext-GWT?

2008-11-27 Thread Arthur Kalmenson

> In my own experience, I see that these projects are good and not only
> shiny :-p I agree that they are more complex to use than "vanilla"
> GWT. But actually, I think this is the drawback of a high-level, Swing/
> SWT-like API. I think you have more flexibility with GWT but it is
> easier to write robust and structured code with Ext GWT.

Actually it's the complete lack of flexibility. You have to work with
Ext GWT's constraints, and work around it's buggy code and crappy
event model.

> Well, actually I don't think price is a problem. Both products (GWT
> Designer and Ext GWT) are cheaper than weekly wage for a developer
> (and even cheaper than a DAILY wage for some engineers). On the other
> hand, spending days to write CSS themes, integrating incubator or
> custom widgets are not really cheap.

What about if you spend WEEKS trying to figure out why Ext GWT is
formatting your widgets in this way, and not another. Or trying to
figure out why it's so deathly slow that hosted mode barely works. I
understand that in smaller shops the programmer ends up doing the CSS
(I do it myself), but GWT already comes with themes in 1.5, what's
wrong with those? Creating custom widgets isn't really very hard, and
at least you can be sure that what you write will be tested (not sure
about Ext GWT). Furthermore, a lot of the incubator stuff is pretty
high quality and is written by the GWT staff, so you know it's tested
well and of a much higher quality standard then Ext GWT will ever
achieve.

> I think it depends on your needs. If you have "exotic" graphical needs
> or if you want a hardly customized design or if you don't want to hear
> about GPL or LGPL product, "vanilla" GWT is sufficient for you. If
> not, you should hardly think about the choice.

I disagree, you don't need any exotic graphic needs to use GWT. If you
want a good, functional and quick web application, you use GWT. If you
want a hard to maintain, buggy and poorly (if at all) tested, slow as
a snail but a nice shiny turd of a web application, you use Ext GWT.

--
Arthur Kalmenson



On Tue, Nov 25, 2008 at 11:50 AM, Miles T. <[EMAIL PROTECTED]> wrote:
>
> On 22 nov, 16:29, "Arthur Kalmenson" <[EMAIL PROTECTED]> wrote:
>> I disagree with Nicolas. We experimented with gwt-ext on one of our
>> projects and had to backtrack because it was so slow, had far too many
>> bugs, and was just a pain to work with. It even prevented you from
>> using hosted mode because it was so slow!!
>
> Try last versions. Both libraries (Ext GWT and GWT-Ext) evolve very
> quickly.
>
>>
>> If you watch this mailing list at all, you'll find that most of the
>> problems that people are having are related to some Ext product. You
>> get forced into their retarded even model, they're overly complex
>> widgets and sample code that doesn't work as shown in the showcase.
>> Just because a turd is made shiny, does not mean it's good.
>
> In my own experience, I see that these projects are good and not only
> shiny :-p I agree that they are more complex to use than "vanilla"
> GWT. But actually, I think this is the drawback of a high-level, Swing/
> SWT-like API. I think you have more flexibility with GWT but it is
> easier to write robust and structured code with Ext GWT.
>
>> You can use the incubator and regular GWT to get anything you need
>> done. GWT 1.5 already comes with default CSS themes, and that should
>> be enough to get you off the ground. If you want better themes, get a
>> graphics designer. They're very cheap and will probably run you less
>> then buying a couple ExtGWT licenses.
>
> Well, actually I don't think price is a problem. Both products (GWT
> Designer and Ext GWT) are cheaper than weekly wage for a developer
> (and even cheaper than a DAILY wage for some engineers). On the other
> hand, spending days to write CSS themes, integrating incubator or
> custom widgets are not really cheap.
> I think it depends on your needs. If you have "exotic" graphical needs
> or if you want a hardly customized design or if you don't want to hear
> about GPL or LGPL product, "vanilla" GWT is sufficient for you. If
> not, you should hardly think about the choice.
>
> IMHO
>
>>
>> --
>> Arthur Kalmenson
>>
>> On Thu, Nov 20, 2008 at 8:30 AM, Nicolas <[EMAIL PROTECTED]> wrote:
>>
>> > Hi all,
>>
>> > I don't agree with Arthur. You save a lot of time using one of these
>> > libraries. In both cases you don't have to care about CSS and you have
>> > much more widgets than "vanilla" GWT. On the other side, both
>> > libraries are not as mature as GWT, so you will find isolated issues.
>> > Obviously, if you want a fully customized design, maybe "vanilla" GWT
>> > is better.
>>
>> > I have tested both libraries and choose to use Ext GWT. I use it since
>> > April and it makes me saving a lot of time. Here is the result of my
>> > comparison :
>> > Ext GWT  (the ExtJS GWT library) :
>> > ++ this is a fully native GWT library (it is not wrapping JS code and
>> > therefore fully benefit

Slow compiler - can I generate minimal set of files for hosted mode only (esp. serialization policy files)?

2008-11-27 Thread Christian Mallwitz

In order to improve my development efficiency I was thinking if I can
get away from having to generate the JavaScript files when running the
GWT compiler at all at development time.

My build scripts build both the server and client just fine and
everything works nicely. Because my app is fairly complex I run the
GWT shell with -noserver (after deploying all the necessary things on
the server).

Now most of the time I don't actually every need the client-side
JavaScript because after redeploying my app I go straight to hosted
mode. Is there a way to make the GWT compiler only generate the files
needed to support hosted mode?

I messed around a bit and I get away with copying my public folder
into the right place and adding (from a previous build) the saved
module JavaScript file, hosted.html and history.html. The problem
though are the serialization policy files on the server. They are just
a list of class names but I would have to know exactly what the
compiler is putting into them in order to generate the right MD5
checksum for the file name. The files may actually change all the time
if I do changes to the server side so I wouldn't get away with using
old ones.

If I ever really need the JavaScript files at dev time I can always
press the Compile button in GWTShell.

Any ideas?

My ideas:

1) Use custom field serializers so I don't need the policy files?

2) Maybe a dummy generator to prevent the compiler from generating any
JavaScript. How would I go about this?

What do you think?

Thanks
Christian

--~--~-~--~~~---~--~~
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: 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: GWT build

2008-11-27 Thread Arthur Kalmenson

Perhaps the latest version of GWT adds some more optimization that
requires more time for compilation. I'm not sure why the compile
process would be a problem. You only need to compile when you're
deploying your application or testing how it looks in the browser.

--
Arthur Kalmenson



On Wed, Nov 26, 2008 at 9:11 AM, m007 <[EMAIL PROTECTED]> wrote:
>
> hi, I have a question. I download the source of GWT from SVN and build
> it.
> I did this because i thought that a bug that made the compilation of
> java code slower was solved.
>
> but when i use it in my eclipse project the compilation is slower even
> that the one i had.
> is there a compilation option o something else i have to configure???
>
> the compiler from the download site is faster than the one I built
> today. has anyone done this
>
> thanks
> >
>

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



GWT under JBoss Portal or Liferay Portal

2008-11-27 Thread Lonifasiko

Would be possible to somehow combine GWT approach under JBoss Portal
or Liferay Portal solution?

Sorry if I'm asking a stupid question that makes not very much sense,
but any point of view would be greatly appreciated.

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



Re: GWT-ext or ext-GWT?

2008-11-27 Thread Niklas Derouche
On Thu, Nov 27, 2008 at 2:52 PM, Arthur Kalmenson <[EMAIL PROTECTED]>wrote:

>
> I disagree, you don't need any exotic graphic needs to use GWT. If you
> want a good, functional and quick web application, you use GWT. If you
> want a hard to maintain, buggy and poorly (if at all) tested, slow as
> a snail but a nice shiny turd of a web application, you use Ext GWT.
>

So let me see if I understod you correctly; you don't like Ext GWT?
Seriously,
not liking stuff is fine. It's more than fine as far as I am concerned. I
wish you
all the best in your future endeavours and sometime down the line when you
have
spent more than a year or two in the workplace post your degree you may find
that you start making choices based on pragmatic weighing of pros and cons
and where your design ideals may take the backseat to cost and
time-to-market
factors. Your mileage will vary.

n.
-- 

I've had a wonderful time but
this wasn't it.
   Groucho Marx

--~--~-~--~~~---~--~~
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: Why it's so slow?

2008-11-27 Thread Andrey

Hello,

Thanx for the suggestions.

But these are my current achieved results:

1) "Debug" mode does not work in NetBeans since: [ERROR] Out of
memory; to increase the amount of memory, use the -Xmx flag at startup
(java -Xmx128M ...)
2) This hack 
http://lemnik.wordpress.com/2008/07/27/fixing-compilation-in-gwt4nb/
does not help.
I inserted the ant code into build.xml but I do not see any result.
May be to switch off "build on save"?

So, for now I do not know acceptably development circle for client-
side development :(.


Regards,

 -Andrey
--~--~-~--~~~---~--~~
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: GWT-ext or ext-GWT?

2008-11-27 Thread TedM

I agree with you Arthur on the point that I wish we could use 100% GWT
but the GWT Widget set is lacking in richness.

I really wish this will be addresses.

Examples
Tab panel functionality
Sortable Grid/Table
Grouping Grid/Table
Calendar data fields
Popup dialogs with configurable top right buttons

I agree all these widgets can be done with some work and using the
core GWT code.  But what makes me sad is no one has done it and
published it.  Plus, in my work and I believe most people's work place
there is no time to reinvent the wheel.  I'm not going to get my
supervisor to approve time to develop a sortable table.

Also I've studied the incubator widgets and found them also do be
lacking to GWT-EXT and EXT-GWT.

I've recently requested a sponsor in the incubator project to see if I
can help GWT move toward a richer widget set goal.  I hope I'll be
able to help.








On Nov 27, 8:52 am, "Arthur Kalmenson" <[EMAIL PROTECTED]> wrote:
> > In my own experience, I see that these projects are good and not only
> > shiny :-p I agree that they are more complex to use than "vanilla"
> > GWT. But actually, I think this is the drawback of a high-level, Swing/
> > SWT-like API. I think you have more flexibility with GWT but it is
> > easier to write robust and structured code with Ext GWT.
>
> Actually it's the complete lack of flexibility. You have to work with
> Ext GWT's constraints, and work around it's buggy code and crappy
> event model.
>
> > Well, actually I don't think price is a problem. Both products (GWT
> > Designer and Ext GWT) are cheaper than weekly wage for a developer
> > (and even cheaper than a DAILY wage for some engineers). On the other
> > hand, spending days to write CSS themes, integrating incubator or
> > custom widgets are not really cheap.
>
> What about if you spend WEEKS trying to figure out why Ext GWT is
> formatting your widgets in this way, and not another. Or trying to
> figure out why it's so deathly slow that hosted mode barely works. I
> understand that in smaller shops the programmer ends up doing the CSS
> (I do it myself), but GWT already comes with themes in 1.5, what's
> wrong with those? Creating custom widgets isn't really very hard, and
> at least you can be sure that what you write will be tested (not sure
> about Ext GWT). Furthermore, a lot of the incubator stuff is pretty
> high quality and is written by the GWT staff, so you know it's tested
> well and of a much higher quality standard then Ext GWT will ever
> achieve.
>
> > I think it depends on your needs. If you have "exotic" graphical needs
> > or if you want a hardly customized design or if you don't want to hear
> > about GPL or LGPL product, "vanilla" GWT is sufficient for you. If
> > not, you should hardly think about the choice.
>
> I disagree, you don't need any exotic graphic needs to use GWT. If you
> want a good, functional and quick web application, you use GWT. If you
> want a hard to maintain, buggy and poorly (if at all) tested, slow as
> a snail but a nice shiny turd of a web application, you use Ext GWT.
>
> --
> Arthur Kalmenson
>
> On Tue, Nov 25, 2008 at 11:50 AM, Miles T. <[EMAIL PROTECTED]> wrote:
>
> > On 22 nov, 16:29, "Arthur Kalmenson" <[EMAIL PROTECTED]> wrote:
> >> I disagree with Nicolas. We experimented with gwt-ext on one of our
> >> projects and had to backtrack because it was so slow, had far too many
> >> bugs, and was just a pain to work with. It even prevented you from
> >> using hosted mode because it was so slow!!
>
> > Try last versions. Both libraries (Ext GWT and GWT-Ext) evolve very
> > quickly.
>
> >> If you watch this mailing list at all, you'll find that most of the
> >> problems that people are having are related to some Ext product. You
> >> get forced into their retarded even model, they're overly complex
> >> widgets and sample code that doesn't work as shown in the showcase.
> >> Just because a turd is made shiny, does not mean it's good.
>
> > In my own experience, I see that these projects are good and not only
> > shiny :-p I agree that they are more complex to use than "vanilla"
> > GWT. But actually, I think this is the drawback of a high-level, Swing/
> > SWT-like API. I think you have more flexibility with GWT but it is
> > easier to write robust and structured code with Ext GWT.
>
> >> You can use the incubator and regular GWT to get anything you need
> >> done. GWT 1.5 already comes with default CSS themes, and that should
> >> be enough to get you off the ground. If you want better themes, get a
> >> graphics designer. They're very cheap and will probably run you less
> >> then buying a couple ExtGWT licenses.
>
> > Well, actually I don't think price is a problem. Both products (GWT
> > Designer and Ext GWT) are cheaper than weekly wage for a developer
> > (and even cheaper than a DAILY wage for some engineers). On the other
> > hand, spending days to write CSS themes, integrating incubator or
> > custom widgets are not really cheap.
> > I think it d

Re: disable hyperlink

2008-11-27 Thread Danny Schimke
You are right: it calls the onHistoryChanged- Event. Thats why we created a
new button-Widger which extends from Button with only one difference: it has
a different link style by default (looks like a link). Then you don't call
onHistoryChanged- method. On Button- Click you can add or remove an style
name which changes the color of your link-button to gray (look disabled).

CSS for your link-button should look something like this:
.button-link {
  cursor: pointer;
  cursor: hand;
  border: none;
  /* Disable the button-style */
  background-color: transparent;
  padding: 0px;
  color: #4784C3;
  text-decoration: underline;
}

2008/11/27 Litty Preeth <[EMAIL PROTECTED]>

> But even if you remove the clickListener, it will cause an onHistroryChange
> event right?
>
>
> On Thu, Nov 27, 2008 at 1:08 PM, Danny Schimke <[EMAIL PROTECTED]>wrote:
>
>> Should'nt setVisible() do this for HyperLinks too?
>>
>> setVisible needs an element and boolean:
>>
>> myHyperLink.setVisible(myHyperLink.getElement(), false);
>>
>> otherwise do what alex.d says:
>>
>> add and remove a style name which do this.
>> CSS: visibility: hidden;
>>
>> 2008/11/27 alex.d <[EMAIL PROTECTED]>
>>
>>
>>> If you wanna it look disabled - change CSS style. If you wanna your
>>> clickListener not being executed - just remove it(use a single
>>> listener method - not an anonymous inner class).
>>>
>>> On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>>> wrote:
>>> > It's a little hacky, but we just substitute a label in it's place.
>>> >
>>> > On Nov 26, 7:55 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote:
>>> >
>>> > > Hi,
>>> >
>>> > > Anybody knows how we can disable a HyperLink in GWT?
>>> >
>>> > > Regards,
>>> > > Litty Preeth
>>> >
>>> >
>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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: disable hyperlink

2008-11-27 Thread alex.d

Nice button style, Danny. However if you don't want to handle the
onHistoryChanged-Event - well just don't: set the hyperlink's token to
something like "dont_handle_this_token" and don't handle it ;-) But
the button-hyperlink idea is somehow cleaner.

On 27 Nov., 16:10, "Danny Schimke" <[EMAIL PROTECTED]> wrote:
> You are right: it calls the onHistoryChanged- Event. Thats why we created a
> new button-Widger which extends from Button with only one difference: it has
> a different link style by default (looks like a link). Then you don't call
> onHistoryChanged- method. On Button- Click you can add or remove an style
> name which changes the color of your link-button to gray (look disabled).
>
> CSS for your link-button should look something like this:
> .button-link {
>   cursor: pointer;
>   cursor: hand;
>   border: none;
>   /* Disable the button-style */
>   background-color: transparent;
>   padding: 0px;
>   color: #4784C3;
>   text-decoration: underline;
>
> }
>
> 2008/11/27 Litty Preeth <[EMAIL PROTECTED]>
>
> > But even if you remove the clickListener, it will cause an onHistroryChange
> > event right?
>
> > On Thu, Nov 27, 2008 at 1:08 PM, Danny Schimke <[EMAIL PROTECTED]>wrote:
>
> >> Should'nt setVisible() do this for HyperLinks too?
>
> >> setVisible needs an element and boolean:
>
> >> myHyperLink.setVisible(myHyperLink.getElement(), false);
>
> >> otherwise do what alex.d says:
>
> >> add and remove a style name which do this.
> >> CSS: visibility: hidden;
>
> >> 2008/11/27 alex.d <[EMAIL PROTECTED]>
>
> >>> If you wanna it look disabled - change CSS style. If you wanna your
> >>> clickListener not being executed - just remove it(use a single
> >>> listener method - not an anonymous inner class).
>
> >>> On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> >>> wrote:
> >>> > It's a little hacky, but we just substitute a label in it's place.
>
> >>> > On Nov 26, 7:55 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote:
>
> >>> > > Hi,
>
> >>> > > Anybody knows how we can disable a HyperLink in GWT?
>
> >>> > > Regards,
> >>> > > Litty Preeth
>
>
--~--~-~--~~~---~--~~
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: GWT + MySQL Best Practices?

2008-11-27 Thread alex.d

Imho, maven is overdesigned if you don't have junit tests and other
stuff. Ant is more than enough for just creating a war file(i do it
with one button-click in eclipse). The only manual step is to copy it
to your webapps-folder on the server ;-)

On 27 Nov., 14:02, "olivier nouguier" <[EMAIL PROTECTED]>
wrote:
> It does all ;)
> From GWT compilation, junit coverage, packaging  ... very easily once
> you've made the effort .
> But I agree that it's quite complex.
>
> As an example, you can look athttp://code.google.com/p/net-orcades-spring/
> It's maven driven, and quite functional, but It's my very personal
> opinion (about my work :)
>
>
>
> On Thu, Nov 27, 2008 at 12:11 PM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> > What does Maven better than Ant? I've heard Maven is quite large and
> > complex...
>
> > On 27 nov, 11:39, "olivier nouguier" <[EMAIL PROTECTED]>
> > wrote:
> >> IMHO you should look at maven for doing this "hellish job"
>
> >> On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> >> > Hi,
>
> >> > We're also evaluating the possibility of using an architecture
> >> > composed by GWT + Servlets + MySQL. I thought it was going to exist
> >> > another option to communicate GWT more directly with MySQL, but seems
> >> > like a combination of GWT-RPC and servlets is one of the best ways to
> >> > achieve this interaction with DB.
>
> >> > In our test project, instead of Tomcat, we're using JBoss to deploy
> >> > all the application, both client side code and server-side code,
> >> > packaged into a unique .war file. At the moment must admit we're also
> >> > copying files and generating the .war package each time manually, but
> >> > I've also decided, based on other comments in the group, to use an ANT
> >> > script to automatize this hellish task, sure it saves me very much
> >> > time and problems.
>
> >> > By the way, do you see any advantages/disadvantages of using JBoss AS
> >> > to host the whole application? Why did you choose for example Tomcat?
>
> >> > Thanks and regards.
>
> >> > Miguel
> >> > Blog:http://lonifasiko.blogspot.com
>
> >> > On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> >> > wrote:
> >> >> For automating the deployment (instead of manually copying) ant is the
> >> >> only way to go.  I've heard stories that Maven is even easier, but we
> >> >> haven't jumped onto that band wagon (yet).  When we build with no
> >> >> server, we have an ant build file that does all that, and then deploys
> >> >> to our external server.  We do it old school and jump out to the file
> >> >> system and run via command line, but I've done from inside Eclipse as
> >> >> well.
>
> >> >> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>
> >> >> > Hi guys,
>
> >> >> > I'm developing a project with GWT + Servlets + MySQL. At this point,
> >> >> > I've got the project setup using the "-noserver" flag and I have
> >> >> > Connector/J configured on an external Tomcat 6 server so that my
> >> >> > servlets can access the DB. Communication to/from server is through
> >> >> > GWT-RPC .
>
> >> >> > My Problem: This is a bit of a pain b/c anytime I make a change to the
> >> >> > servlet code (which resides in the same Eclipse project as my GWT
> >> >> > code...and I'd prefer to keep it this way), I have to copy the *.class
> >> >> > file (for the servlet) over to the 
> >> >> > CATALINA_HOME/webapps/myproject/WEB-
> >> >> > INF/classes/blahblahblah folder.
>
> >> >> > This seems extremely manual and I'm hopeful that there's a better way
> >> >> > to do it. What is the recommended way of doing this type of
> >> >> > development? Ideally, I'd it would just pickup the changes to both the
> >> >> > client and server code as it used to when I was working in hosted
> >> >> > mode. Unfortunately, I couldn't figure out how to get MySQL and
> >> >> > Connector/J setup in the integrated Tomcat, so I went with the "-
> >> >> > noserver" option and configured it with an external instance of Tomcat
> >> >> > instead. This manual copying crap is starting to get super annoying,
> >> >> > so I'm reaching out for help.
>
> >> >> > What's the best practices for this?
>
> >> --
> >> Si l'ignorance peut servir de consolation, elle n'en est pas moins 
> >> illusoire.
>
> > --
> > Miguel
> > Blog:http://lonifasiko.blogspot.com
>
> --
> Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.
--~--~-~--~~~---~--~~
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: Strange problem with gwt, tomcat and memcached

2008-11-27 Thread Jeremiah Elliott
Well, the problem was due to the tomcat classloader. Not sure why, but when
i packaged the memcached jar in the war file (It had been in tomcat's top
level lib directory) it worked! Not a GWT issue. ;-)

-Jeremiah

On Mon, Nov 24, 2008 at 3:11 PM, Jeremiah Elliott <[EMAIL PROTECTED]>wrote:

> Ok, still having issues with this... Has anyone here used memcached with
> gwt? I am starting to thing the problem is because the Report object is both
> IsSerializable and  java.io.Serializable?  Any kind of pointer would be
> good. Thanks
> -Jeremiah
>
>
> On Sat, Nov 22, 2008 at 1:10 PM, Jeremiah Elliott <[EMAIL PROTECTED]>wrote:
>
>> ok, I am not even 100% sure this is a GWT issue. The more I mess with it
>> the more I am convinced that it is somehow gwt related. Anyway I am in the
>> process of adding memcache to the application I am working on. In hosted
>> mode it worked exactly as expected. Huge speed improvement, and the
>> memcached log shows my objects going in and out as expected. The problem is
>> that when i publish the application to tomcat the cache doesn't work. I can
>> still add items to the cache, but when i pull items out of the cache I get a
>> class not found exception.
>> Initially I thought that the problem may be because the object being
>> cached lives in the client package. (com.sagus.client.Report) I createdd a
>> shared package as discribed here
>>
>> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/51a8a9bb3f141ab4/c43fcc7dad3f7fde?lnk=gst&q=foo.bar.shared#c43fcc7dad3f7fde
>> however this didnt' solve the problem. I could still set and get the
>> Report object in Hosted Mode but in production on tomcat I got the same
>> message. Here is the stacktrace:
>> java.lang.ClassNotFoundException: com.sagus.Shared.Report
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:247)
>> ..
>>
>>
>>
>> Well, clearly it can find com.sagus.Shared.Report because is putting it
>> into memcache just fine. In a last act of desperation, i exported the
>> contents of src into a jar file using eclipse export feature, and dumped
>> that into Tomcat's lib directory. Now I am getting a ClassCastException:
>>
>> 2008-11-22 12:33:57,425 : ERROR :
>> com.sagus.server.DataCache.getWidget(DataCache.java:27) : get widget 18:
>> java.lang.ClassCastException: com.sagus.Shared.Report cannot be cast to
>> com.sagus.Shared.Report
>> at com.sagus.server.DataCache.getWidget(DataCache.java:25)
>> at
>> com.sagus.server.SagusDashImpl.getReportById(SagusDashImpl.java:244)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
>> at
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
>> at
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
>> ..
>>
>>
>>
>>
>> This is the class I am using to do the memcache sets and gets:
>>
>> package com.sagus.server;
>>
>> import java.io.IOException;
>> import java.net.InetSocketAddress;
>> import net.spy.memcached.MemcachedClient;
>> import org.apache.log4j.Logger;
>> import com.sagus.Shared.Report;
>>
>> public class DataCache {
>> private static final Loggerlogger=
>> SagusDashImpl.getLogger();
>> private static StringWIDGET_PREFIX= "PROD_WIDGET_";
>> private static MemcachedClientc= null;
>>
>> public DataCache() {
>> try {
>> c = new MemcachedClient(new InetSocketAddress("localhost",
>> 11211));
>> } catch (IOException ioe) {
>> logger.error("init DataCache ", ioe);
>> }
>> }
>>
>> public Report getWidget(int id) {
>> Report r = null;
>> try {
>> r = (Report) c.get(WIDGET_PREFIX + id);
>> } catch (Exception e) {
>> logger.error("get widget " + id + ": ", e);
>> }
>> return r;
>> }
>>
>> public void cacheWidget(Report report) {
>> try {
>> c.set(WIDGET_PREFIX + report.getWidgetId(), 36, report);
>> } catch (Exception e) {
>> logger.error("cacheWidget ", e);
>> }
>> }
>>
>>
>> Here is the object being cached, its just a poj

Re: Need to richer widget set in GWT

2008-11-27 Thread TedM

I tried to contact the gwt incubator group and this is what I got

We're writing to let you know that the group that you tried to contact
(Google-Web-Toolkit-Contributors) either doesn't exist, or you don't
have
permission to post to it. There are a few possible reasons why this
happened:

Is there someone that can help me?  I used this e-mail address google-
[EMAIL PROTECTED]

On Nov 26, 5:41 pm, TedM <[EMAIL PROTECTED]> wrote:
> Yeah being free is very important.
>
> Also I would like it to be pure GWT, not GWT wrapping JS.
>
> Also I've found GWT-EXT to have weird errors every once in a while.
>
> This smartGWT looks to be the same thing as GWT-EXT just with a little
> more widgets.
>
> Way can't GWT make the next step and have it's whole rich tool set.
>
> I want to the incubator to see what was in the works and to be honest
> I was a little disappointed.
>
> I'm thinking about asking if I can help.
>
> On Nov 26, 3:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Not native to the GWT library, but check 
> > outhttp://www.jroller.com/sjivan/entry/smartgwt_1_0_released
>
> > Smart GWT has a lot of nice things, similar to GWT-EXT.
>
> > Is your main issue with GWT-EXT that it is not open source/free?  Just
> > wondering
>
> > Later,
>
> > Shaffer
>
> > On Nov 26, 12:47 pm, TedM <[EMAIL PROTECTED]> wrote:
>
> > > I've been working with GWT for over a year now and working with GWT-
> > > EXT for about 6 months and I went to the Google I/O conference.
>
> > > I was wondering if there was an effort to build up GWT widget set to
> > > the level of polish of GWT-EXT?
>
> > > The widgets that matter most to me are:
> > > 1. Sortable table/grid
> > > 2. Grouping table/grid
> > > 3. Paging table/grid
> > > 4. Dragable pop dialog (Having action buttons at the top right of the
> > > dialog)
> > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > 6. Calendar date field (With date picker)
> > > 7. ComboBox (Image support, z-indexable)
>
> > > In addition, I think it would be very helpful if GWT had some basic
> > > CSS templates like EXT's default, gray, and vista templates.
>
> > > Please let me know if the GWT team is planning on building these
> > > features.
>
> > > If not, let me know if anyone is interested.  Because I'll build them
> > > and post them somewhere.
--~--~-~--~~~---~--~~
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: Need to richer widget set in GWT

2008-11-27 Thread TedM

How do I got started?  I would like to help.

I tried e-mailing [EMAIL PROTECTED] to
look for a sponsor but the e-mail didn't work.

How do I find a sponsor?


On Nov 26, 7:22 pm, gregor <[EMAIL PROTECTED]> wrote:
> > I want to the incubator to see what was in the works and to be honest
> > I was a little disappointed.
>
> > I'm thinking about asking if I can help.
>
> Patches always welcome, I guess:
>
> http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScro...
>
>  On Nov 26, 3:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>
> > wrote:
>
> > > Not native to the GWT library, but check 
> > > outhttp://www.jroller.com/sjivan/entry/smartgwt_1_0_released
>
> > > Smart GWT has a lot of nice things, similar to GWT-EXT.
>
> > > Is your main issue with GWT-EXT that it is not open source/free?  Just
> > > wondering
>
> > > Later,
>
> > > Shaffer
>
> > > On Nov 26, 12:47 pm, TedM <[EMAIL PROTECTED]> wrote:
>
> > > > I've been working with GWT for over a year now and working with GWT-
> > > > EXT for about 6 months and I went to the Google I/O conference.
>
> > > > I was wondering if there was an effort to build up GWT widget set to
> > > > the level of polish of GWT-EXT?
>
> > > > The widgets that matter most to me are:
> > > > 1. Sortable table/grid
> > > > 2. Grouping table/grid
> > > > 3. Paging table/grid
> > > > 4. Dragable pop dialog (Having action buttons at the top right of the
> > > > dialog)
> > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > 6. Calendar date field (With date picker)
> > > > 7. ComboBox (Image support, z-indexable)
>
> > > > In addition, I think it would be very helpful if GWT had some basic
> > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > Please let me know if the GWT team is planning on building these
> > > > features.
>
> > > > If not, let me know if anyone is interested.  Because I'll build them
> > > > and post them somewhere.
--~--~-~--~~~---~--~~
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: disable hyperlink

2008-11-27 Thread Danny Schimke
Yeah, thanks alex ^^

I thought about what you said: I had the same idea to put something like
"dont_handled_token". But with something like firebug it's no problem to
change the link (even it is absurd) and then JS- errors occurs... I haveno
idea to use Hyperlinks without calling onHistoryChanged.

2008/11/27 alex.d <[EMAIL PROTECTED]>

>
> Nice button style, Danny. However if you don't want to handle the
> onHistoryChanged-Event - well just don't: set the hyperlink's token to
> something like "dont_handle_this_token" and don't handle it ;-) But
> the button-hyperlink idea is somehow cleaner.
>
> On 27 Nov., 16:10, "Danny Schimke" <[EMAIL PROTECTED]> wrote:
> > You are right: it calls the onHistoryChanged- Event. Thats why we created
> a
> > new button-Widger which extends from Button with only one difference: it
> has
> > a different link style by default (looks like a link). Then you don't
> call
> > onHistoryChanged- method. On Button- Click you can add or remove an style
> > name which changes the color of your link-button to gray (look disabled).
> >
> > CSS for your link-button should look something like this:
> > .button-link {
> >   cursor: pointer;
> >   cursor: hand;
> >   border: none;
> >   /* Disable the button-style */
> >   background-color: transparent;
> >   padding: 0px;
> >   color: #4784C3;
> >   text-decoration: underline;
> >
> > }
> >
> > 2008/11/27 Litty Preeth <[EMAIL PROTECTED]>
> >
> > > But even if you remove the clickListener, it will cause an
> onHistroryChange
> > > event right?
> >
> > > On Thu, Nov 27, 2008 at 1:08 PM, Danny Schimke <
> [EMAIL PROTECTED]>wrote:
> >
> > >> Should'nt setVisible() do this for HyperLinks too?
> >
> > >> setVisible needs an element and boolean:
> >
> > >> myHyperLink.setVisible(myHyperLink.getElement(), false);
> >
> > >> otherwise do what alex.d says:
> >
> > >> add and remove a style name which do this.
> > >> CSS: visibility: hidden;
> >
> > >> 2008/11/27 alex.d <[EMAIL PROTECTED]>
> >
> > >>> If you wanna it look disabled - change CSS style. If you wanna your
> > >>> clickListener not being executed - just remove it(use a single
> > >>> listener method - not an anonymous inner class).
> >
> > >>> On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > >>> wrote:
> > >>> > It's a little hacky, but we just substitute a label in it's place.
> >
> > >>> > On Nov 26, 7:55 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote:
> >
> > >>> > > Hi,
> >
> > >>> > > Anybody knows how we can disable a HyperLink in GWT?
> >
> > >>> > > Regards,
> > >>> > > Litty Preeth
> >
> >
> >
>

--~--~-~--~~~---~--~~
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: GWT + MySQL Best Practices?

2008-11-27 Thread olivier nouguier

Quickly:

For a simple project why not, but as soon as you have multiple project
(store / business / dao / webapp ) or if you have some dependencies
maven dependencies management is a real plus.

WTP integration

As it also provide versioning / deployment for your artifact.

But this can be quite hard to make all work together ... (eclipse plugins ...).

On Thu, Nov 27, 2008 at 4:25 PM, alex.d <[EMAIL PROTECTED]> wrote:
>
> Imho, maven is overdesigned if you don't have junit tests and other
> stuff. Ant is more than enough for just creating a war file(i do it
> with one button-click in eclipse). The only manual step is to copy it
> to your webapps-folder on the server ;-)
>
> On 27 Nov., 14:02, "olivier nouguier" <[EMAIL PROTECTED]>
> wrote:
>> It does all ;)
>> From GWT compilation, junit coverage, packaging  ... very easily once
>> you've made the effort .
>> But I agree that it's quite complex.
>>
>> As an example, you can look athttp://code.google.com/p/net-orcades-spring/
>> It's maven driven, and quite functional, but It's my very personal
>> opinion (about my work :)
>>
>>
>>
>> On Thu, Nov 27, 2008 at 12:11 PM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>>
>> > What does Maven better than Ant? I've heard Maven is quite large and
>> > complex...
>>
>> > On 27 nov, 11:39, "olivier nouguier" <[EMAIL PROTECTED]>
>> > wrote:
>> >> IMHO you should look at maven for doing this "hellish job"
>>
>> >> On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>>
>> >> > Hi,
>>
>> >> > We're also evaluating the possibility of using an architecture
>> >> > composed by GWT + Servlets + MySQL. I thought it was going to exist
>> >> > another option to communicate GWT more directly with MySQL, but seems
>> >> > like a combination of GWT-RPC and servlets is one of the best ways to
>> >> > achieve this interaction with DB.
>>
>> >> > In our test project, instead of Tomcat, we're using JBoss to deploy
>> >> > all the application, both client side code and server-side code,
>> >> > packaged into a unique .war file. At the moment must admit we're also
>> >> > copying files and generating the .war package each time manually, but
>> >> > I've also decided, based on other comments in the group, to use an ANT
>> >> > script to automatize this hellish task, sure it saves me very much
>> >> > time and problems.
>>
>> >> > By the way, do you see any advantages/disadvantages of using JBoss AS
>> >> > to host the whole application? Why did you choose for example Tomcat?
>>
>> >> > Thanks and regards.
>>
>> >> > Miguel
>> >> > Blog:http://lonifasiko.blogspot.com
>>
>> >> > On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> >> > wrote:
>> >> >> For automating the deployment (instead of manually copying) ant is the
>> >> >> only way to go.  I've heard stories that Maven is even easier, but we
>> >> >> haven't jumped onto that band wagon (yet).  When we build with no
>> >> >> server, we have an ant build file that does all that, and then deploys
>> >> >> to our external server.  We do it old school and jump out to the file
>> >> >> system and run via command line, but I've done from inside Eclipse as
>> >> >> well.
>>
>> >> >> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>>
>> >> >> > Hi guys,
>>
>> >> >> > I'm developing a project with GWT + Servlets + MySQL. At this point,
>> >> >> > I've got the project setup using the "-noserver" flag and I have
>> >> >> > Connector/J configured on an external Tomcat 6 server so that my
>> >> >> > servlets can access the DB. Communication to/from server is through
>> >> >> > GWT-RPC .
>>
>> >> >> > My Problem: This is a bit of a pain b/c anytime I make a change to 
>> >> >> > the
>> >> >> > servlet code (which resides in the same Eclipse project as my GWT
>> >> >> > code...and I'd prefer to keep it this way), I have to copy the 
>> >> >> > *.class
>> >> >> > file (for the servlet) over to the 
>> >> >> > CATALINA_HOME/webapps/myproject/WEB-
>> >> >> > INF/classes/blahblahblah folder.
>>
>> >> >> > This seems extremely manual and I'm hopeful that there's a better way
>> >> >> > to do it. What is the recommended way of doing this type of
>> >> >> > development? Ideally, I'd it would just pickup the changes to both 
>> >> >> > the
>> >> >> > client and server code as it used to when I was working in hosted
>> >> >> > mode. Unfortunately, I couldn't figure out how to get MySQL and
>> >> >> > Connector/J setup in the integrated Tomcat, so I went with the "-
>> >> >> > noserver" option and configured it with an external instance of 
>> >> >> > Tomcat
>> >> >> > instead. This manual copying crap is starting to get super annoying,
>> >> >> > so I'm reaching out for help.
>>
>> >> >> > What's the best practices for this?
>>
>> >> --
>> >> Si l'ignorance peut servir de consolation, elle n'en est pas moins 
>> >> illusoire.
>>
>> > --
>> > Miguel
>> > Blog:http://lonifasiko.blogspot.com
>>
>> --
>> Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.

PagingScrollTable: JavaScriptException

2008-11-27 Thread hezjing
Hi
I encounter the following exception in hosted mode while trying to create a
PagingScrollTable,

[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument.
 number: -2147024809
 description: Invalid argument.
at com.google.gwt.dom.client.Style$.setProperty$(Native Method)
at com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1201)
at
com.google.gwt.widgetideas.table.client.ScrollTable.resizeTablesVerticallyNow(ScrollTable.java:1311)
at
com.google.gwt.widgetideas.table.client.ScrollTable$1.execute(ScrollTable.java:602)
at
com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java:311)
at
com.google.gwt.user.client.CommandExecutor$2.run(CommandExecutor.java:206)
at com.google.gwt.user.client.Timer.fireImpl(Timer.java:164)
at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:150)
at com.google.gwt.user.client.Timer.fire(Timer.java:142)


Do you have any idea of what could be the problem?
I'm using gwt-incubator_1-5_Sept_04.zip.


Thank you!


-- 

Hez

--~--~-~--~~~---~--~~
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: New to the GWT

2008-11-27 Thread Pavel Byles
I gather that most ppl here (including myself) use Eclipse, but there are
other very good IDE's for using with GWT for example Netbeans via the GWT4NB
plugin.  Netbeans is excellent for Java programming.

On Tue, Nov 25, 2008 at 7:24 PM, Jorge Muralles <[EMAIL PROTECTED]>wrote:

> Thank you.
>
> I jalso just dowload eclipse. I was loooking at it, I like it. Do you think
> that that is a good development tool?
>
> Thanks
>
> Sincerely yours;
>
> Jorge Muralles
> 401-849-5323
> 401-855-1335
>
> www.locopro.com
>
> 
>  
>
>
> --- On *Tue, 11/25/08, Reinier Zwitserloot <[EMAIL PROTECTED]>* wrote:
>
> From: Reinier Zwitserloot <[EMAIL PROTECTED]>
> Subject: Re: New to the GWT
> To: "Google Web Toolkit" 
> Date: Tuesday, November 25, 2008, 7:14 PM
>
>
> It has no user interface other than the command line.
>
> If you're on windows, run 'cmd', that'll get you a command
> line. In
> order to learn how to use it - google for some tutorials, it's not too
> difficult. Most programming tools work off of the command line, so its
> time well spent.
>
> On Nov 25, 10:44 pm, Jorge Muralles <[EMAIL PROTECTED]> wrote:
> > Hi there, how are you, is this the only way to run the createproject
> application.
> >
> > Once is running, does it have a user interface?
> >
> > I really do not know how to run it from the coomand promtp. how would I gt
> to it?
> >
> > Sincerely yours;
> >
> > Jorge Muralles
> > 401-849-5323
> > 401-855-1335
> >
> > www.locopro.com
> >
> > --- On Tue, 11/25/08, Isaac Truett <[EMAIL PROTECTED]> wrote:
> >
> > From: Isaac Truett <[EMAIL PROTECTED]>
> > Subject: Re: New to the GWT
> > To: Google-Web-Toolkit@googlegroups.com
> > Date: Tuesday, November 25, 2008, 2:32 PM
> >
> > Open a command prompt and run it from there.
> >
> > On Tue, Nov 25, 2008 at 1:31 PM, [EMAIL PROTECTED]
> >
> > <[EMAIL PROTECTED]> wrote:
> >
> > > I just downloaded the GWT, I understand that there is no installation
> > > file, but I click on the application creator and it starts up a
> > > command screen that goes away.
> >
> > > How do i start up the application creator? What am I doin wrong?
> >
> > > Thanks
> >
> > > Jorge
>
>
> >
>


-- 
-Pav

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



Pass an applicationSessionId in each rpc request

2008-11-27 Thread seb2nim

Hi everyone.

I was playing with cookie and session and i found i cant open two
different tabs on firefox with twice the same app... so i think i'm
doing something wrong : I was thinking there would be two different
httpSessions but apparently not.

the problem is i actually keep some user information in httpsession...
So two apps shares the same information wich is, really bad.

I decided to generate a unique 'application level session id' at login
so that i can manage multiple in one httpsession.

Drawback is that once passed to client-side code, i need to pass it on
every rpc call... and i'm a lazy guy... I dont want to refactor each
method signature...


As RPC mecanism is now improved in GWT1.5 :
"The first is that asynchronous interface methods can now return the
underlying HTTP request object (http.client.Request) so you can access
and tweak it as necessary for your application needs before sending it
off through RPC. Asynchronous interface methods can now also return
void or http.client.RequestBuilder objects."

I think i can tweak my calls to append the appSessId in header or
something like that. Did anyone already do this?

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



How do I separate static files?

2008-11-27 Thread thitoh

Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
I generate a .war file and deploy on JBoss.
But now I configured my machine with 2 servers: IIS and JBoss.
I want to put static files on IIS and the others in JBoss.
How do I do it?
--~--~-~--~~~---~--~~
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: Login application

2008-11-27 Thread salma khazi
Hi,

I have attached the login model and it includes the database connection.
please let me know if you need any further clarifications.



On Thu, Nov 27, 2008 at 2:27 AM, Bhupen <[EMAIL PROTECTED]> wrote:

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



loginModel.rar
Description: Binary data


Re: setting Label widgets in each cell of 1000row x 17col grid is too slow..

2008-11-27 Thread jchimene

Another option may be to populate some immediate visual count (say 25)
and do the rest as a deferred command

On Nov 26, 11:41 am, "Jim Colton" <[EMAIL PROTECTED]> wrote:
> ..taking about 25 seconds on a 1.7ghz laptop with firefox.
>
> It that length of time expected or may there be something wrong with two
> nested loops for row, col and setWidget on the grid?
>
> thanks
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Determine which Tab I should be show

2008-11-27 Thread gmary

I have a TreePanel and a Tab Panel... both I call from file Entry-
point.

I want to that when I do click on TreeNode a Tab corresponding be
activate. How to do it?. I have create the TreeNode in a file, I add
its nodes though a for-cicle... Now, how I can pass the text
(node.getText()) to entry-point file?.

I'll wait a response soon, thanks

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



Deploying servlets

2008-11-27 Thread jonbutler88

Hi all,

Been using GWT for a few weeks, very impressed with the ease of
development, but have run into some small troubles deploying the app.
I have tomcat 6 set up with JRE 6 on a box, here are the steps I have
made so far:

Compiled using the script with GWT, got the www directory, and added a
WEB-INF folder, with a web.xml file, /lib and /classes. here is my
web.xml:



  Cloud Online

  
RPCService
com.cloud.server.RPCServiceImpl
  

  
DBService
com.cloud.server.DBServiceImpl
  

  
RPCService
/RPCService
  

  
DBService
/DBService
  

  
Cloud.html
  


In /lib I have Cloud.jar (exported using eclipse from the src
directory) and gwt-servlets.jar (not sure whats in here). In /classes
I have my 2 remote servlet classes, exported from eclipse
individually.

I make a zip file from the compiled contents + the WEB-INF folder, and
rename it to Cloud.war

I then upload and deploy into tomcat environment using the tomcat
manager.

I can get the static content of the site (compiled js), but I cant
seem to get the RPCService or DBService to work. Can anyone see that
im missing some steps, or doing something wrong?

Thanks, sorry for the long post.

Jon
--~--~-~--~~~---~--~~
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: GWT under JBoss Portal or Liferay Portal

2008-11-27 Thread gregor

If you search group for "GWT portlets on Liferay" you'll find posts
about this including this one:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/5217200aa052743/7d38d70af216696b?lnk=gst&q=GWT+portlets+on+Liferay#7d38d70af216696b

which has a number of links in it providing examples of how to do
this. I haven't actually done this myself, so I can' be of much
further help really but but I hope the links are useful. I think the
answer is yes, you can do it, but a certain amount of jiggery pokery
will be required.

regards
gregor

On Nov 27, 2:49 pm, Lonifasiko <[EMAIL PROTECTED]> wrote:
> Would be possible to somehow combine GWT approach under JBoss Portal
> or Liferay Portal solution?
>
> Sorry if I'm asking a stupid question that makes not very much sense,
> but any point of view would be greatly appreciated.
>
> --
> Miguel
> Blog:http://lonifasiko.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 [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 gregor
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.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()
> >                         {
> 

Re: Deploying servlets

2008-11-27 Thread gregor

Hi Jon,

If you are using:

GWT.getModuleBaseURL() + "DBService"

to make the URL for the call to com.cloud.server.DBServiceImpl it
might not work deployed (as it does in Hosted mode).

Try changing your url-pattern to:


DBService
/com.foo.bar.MyModule/DBService
  

where my module is whatever your gwt.xml module file is (minus
the .gwt.xml).


On Nov 27, 8:56 pm, jonbutler88 <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Been using GWT for a few weeks, very impressed with the ease of
> development, but have run into some small troubles deploying the app.
> I have tomcat 6 set up with JRE 6 on a box, here are the steps I have
> made so far:
>
> Compiled using the script with GWT, got the www directory, and added a
> WEB-INF folder, with a web.xml file, /lib and /classes. here is my
> web.xml:
>
> 
> 
>   Cloud Online
>
>   
>     RPCService
>     com.cloud.server.RPCServiceImpl
>   
>
>   
>     DBService
>     com.cloud.server.DBServiceImpl
>   
>
>   
>     RPCService
>     /RPCService
>   
>
>   
>     DBService
>     /DBService
>   
>
>   
>     Cloud.html
>   
> 
>
> In /lib I have Cloud.jar (exported using eclipse from the src
> directory) and gwt-servlets.jar (not sure whats in here). In /classes
> I have my 2 remote servlet classes, exported from eclipse
> individually.
>
> I make a zip file from the compiled contents + the WEB-INF folder, and
> rename it to Cloud.war
>
> I then upload and deploy into tomcat environment using the tomcat
> manager.
>
> I can get the static content of the site (compiled js), but I cant
> seem to get the RPCService or DBService to work. Can anyone see that
> im missing some steps, or doing something wrong?
>
> Thanks, sorry for the long post.
>
> Jon
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



ClickListener and Image

2008-11-27 Thread jamer

I have an image that ClickListener I have a partner, and I would like
to know how I can implement a method similar to the method click (),
who have the Widget Button?

Thank you!
--~--~-~--~~~---~--~~
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: Determine which Tab I should be show

2008-11-27 Thread gregor

Hi Mary,

You want to use the GWT Events system and the Observer pattern.
Basically you want to make you tree broadcast a change event when an
item is selected and have your TabPanel listen for these change events
by implementing, say, ChangeListener. Then it would have a method like
so:

public void onChange(Widget sender) {
if (sender instanceof MyTreePanel) {
String requiredText = ((MyTreePanel)
sender).getSelectedItemtext();
// do what you ned to select the right tab from this
}
}

Your tree panel needs to implement, say,  SourcesChangeEvents and you
can use ChangeListenerCollection to store listeners and fire change
events to them. Your entry point class does not need to become
involved, it just handles registering the TabPanel as a listener with
the TreePanel when it creates them..

This thread goes into it a bit:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/84d94cbfcd662ad0/8fda0fcf8052beaf?lnk=gst&q=gregor+observer+pattern#8fda0fcf8052beaf

and I would take a look at Ian Banbury's site for information about
listeners:

http://examples.roughian.com/#Listeners~Summary

regards
gregor

On Nov 27, 8:48 pm, gmary <[EMAIL PROTECTED]> wrote:
> I have a TreePanel and a Tab Panel... both I call from file Entry-
> point.
>
> I want to that when I do click on TreeNode a Tab corresponding be
> activate. How to do it?. I have create the TreeNode in a file, I add
> its nodes though a for-cicle... Now, how I can pass the text
> (node.getText()) to entry-point file?.
>
> I'll wait a response soon, thanks
>
> Mary
--~--~-~--~~~---~--~~
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: Is Run Time Annotation Possible?

2008-11-27 Thread [EMAIL PROTECTED]

Sorry, what do you mean? My English is not so good, but If you got any
question, please welcome to ask me :D
James

On Nov 27, 1:26 pm, "Au Lai Seong" <[EMAIL PROTECTED]> wrote:
> How do you make the com.gwtent.client.test.annotations.Id to be
> understandable by GWT?
>
> On Thu, Nov 27, 2008 at 6:57 AM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > Hi, zujee,
>
> >  I have a reflection implement for GWT client code, and it support
> > get Annotation's value at runtime.
>
> >  http://code.google.com/p/gwt-ent/
> >  The test case:
> >http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/...
>
> >  Hope that helps :)
> > James
>
> > On Nov 26, 5:46 pm, zujee <[EMAIL PROTECTED]> wrote:
> >> Hi experts,
> >> I have an interface which extends ImmutableResourceBundle
>
> >> and inside that
> >> @Resource("com/MyPath/MyConstants.properties")
> >>     public abstract TextResource properties();
>
> >> and its working fine.
> >> but I need to change the filename after reading the XML file .
> >> eg:
> >> 
> >> MyConstants_C1.properties
> >> 
>
> >> from that I need to set the reosuece path as
> >> @Resource("com/MyPath/MyConstants_C1.properties") in run time.. is
> >> that possible?
>
> >> thanks and regards
> >> Zujee
--~--~-~--~~~---~--~~
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: How do I separate static files?

2008-11-27 Thread gregor

Hi thitoh,

this is off topic for this group, but it possible to do. Google
"deploy JBoss IIS" for information, e.g.

http://www.itshastra.com/know_bank/IIS_Jboss.pdf

Also check the JBoss forums. This link might be useful:

http://www.jboss.org/community/docs/DOC-12526

regards
gregor




On Nov 27, 6:01 pm, thitoh <[EMAIL PROTECTED]> wrote:
> Hi... I have a Dinamic Web Project using GWT with Cypal Studio.
> I generate a .war file and deploy on JBoss.
> But now I configured my machine with 2 servers: IIS and JBoss.
> I want to put static files on IIS and the others in JBoss.
> How do I do it?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



make my site visible to others

2008-11-27 Thread mskart

Hello everyone!

Can anyone answer my question:

How can i make the web page that i created with GWT visible to
others???

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



Compilation Problem

2008-11-27 Thread Sandile

I get an error every time that I try to compile my code:

[ERROR] Errors in 'jar:file:/C:/dev/gwt-windows-1.5.3/gwt-
windows-1.5.3/gwt-dev-windows.jar!/com/google/gwt/dev/jjs/intrinsic/
com/google/gwt/lang/Stats.java'

[ERROR]  Missing message: compilation_internalError in:
org.eclipse.jdt.internal.compiler.messages
java.lang.NullPointerException

at com.google.gwt.dev.javac.JdtCompiler
$CompilationUnitAdapter.getContents(JdtCompiler.java:65)

at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:
9236)

at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:
9208)

at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse
(Parser.java:7864)

at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile
(Compiler.java:587)

at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile
(Compiler.java:357)

at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
371)

at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile
(AbstractCompiler.java:84)

at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile
(AbstractCompiler.java:180)

at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$400
(AbstractCompiler.java:70)

at com.google.gwt.dev.jdt.AbstractCompiler.compile
(AbstractCompiler.java:493)

at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations
(WebModeCompilerFrontEnd.java:73)

at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.
(JavaToJavaScriptCompiler.java:277)

at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:353)

at com.google.gwt.dev.GWTShell.compile(GWTShell.java:639)

at com.google.gwt.dev.GWTShell$BrowserWidgetHostImpl.compile
(GWTShell.java:220)

[ERROR] java.lang.NullPointerException
java.lang.NullPointerException: null
at com.google.gwt.dev.javac.JdtCompiler
$CompilationUnitAdapter.getContents(JdtCompiler.java:65)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:
9236)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:
9208)
at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse
(Parser.java:7864)
at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile
(Compiler.java:587)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile
(Compiler.java:357)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
371)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile
(AbstractCompiler.java:84)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile
(AbstractCompiler.java:180)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$400
(AbstractCompiler.java:70)
at com.google.gwt.dev.jdt.AbstractCompiler.compile
(AbstractCompiler.java:493)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations
(WebModeCompilerFrontEnd.java:73)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.
(JavaToJavaScriptCompiler.java:277)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:353)
at com.google.gwt.dev.GWTShell.compile(GWTShell.java:639)
at com.google.gwt.dev.GWTShell$BrowserWidgetHostImpl.compile
(GWTShell.java:220)
at com.google.gwt.dev.GWTShell$BrowserWidgetHostImpl.compile
(GWTShell.java:227)
at com.google.gwt.dev.shell.BrowserWidget$Toolbar.widgetSelected
(BrowserWidget.java:132)
at org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
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)

Somebody please explain and/or help!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



StatusCodeException.getStatusCode() == 0

2008-11-27 Thread Edwin Nathaniel

I'm currently getting statusCode == 0 if I kill hosted-mode but run
the client on a browser. Any reason why? I thought the RPC should
failed and return statusCode 5xx cause the server is unreachable?

My browser is Firefox 3 (which coincides with some of the statusCode
== 0 problem I'm seeing somewhere else around FF3)
--~--~-~--~~~---~--~~
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: disable hyperlink

2008-11-27 Thread Litty Preeth
Thank you Danny and Alex for all those valuable tips. [?]

On Thu, Nov 27, 2008 at 9:06 PM, Danny Schimke <[EMAIL PROTECTED]>wrote:

> Yeah, thanks alex ^^
>
> I thought about what you said: I had the same idea to put something like
> "dont_handled_token". But with something like firebug it's no problem to
> change the link (even it is absurd) and then JS- errors occurs... I haveno
> idea to use Hyperlinks without calling onHistoryChanged.
>
> 2008/11/27 alex.d <[EMAIL PROTECTED]>
>
>
>> Nice button style, Danny. However if you don't want to handle the
>> onHistoryChanged-Event - well just don't: set the hyperlink's token to
>> something like "dont_handle_this_token" and don't handle it ;-) But
>> the button-hyperlink idea is somehow cleaner.
>>
>> On 27 Nov., 16:10, "Danny Schimke" <[EMAIL PROTECTED]> wrote:
>> > You are right: it calls the onHistoryChanged- Event. Thats why we
>> created a
>> > new button-Widger which extends from Button with only one difference: it
>> has
>> > a different link style by default (looks like a link). Then you don't
>> call
>> > onHistoryChanged- method. On Button- Click you can add or remove an
>> style
>> > name which changes the color of your link-button to gray (look
>> disabled).
>> >
>> > CSS for your link-button should look something like this:
>> > .button-link {
>> >   cursor: pointer;
>> >   cursor: hand;
>> >   border: none;
>> >   /* Disable the button-style */
>> >   background-color: transparent;
>> >   padding: 0px;
>> >   color: #4784C3;
>> >   text-decoration: underline;
>> >
>> > }
>> >
>> > 2008/11/27 Litty Preeth <[EMAIL PROTECTED]>
>> >
>> > > But even if you remove the clickListener, it will cause an
>> onHistroryChange
>> > > event right?
>> >
>> > > On Thu, Nov 27, 2008 at 1:08 PM, Danny Schimke <
>> [EMAIL PROTECTED]>wrote:
>> >
>> > >> Should'nt setVisible() do this for HyperLinks too?
>> >
>> > >> setVisible needs an element and boolean:
>> >
>> > >> myHyperLink.setVisible(myHyperLink.getElement(), false);
>> >
>> > >> otherwise do what alex.d says:
>> >
>> > >> add and remove a style name which do this.
>> > >> CSS: visibility: hidden;
>> >
>> > >> 2008/11/27 alex.d <[EMAIL PROTECTED]>
>> >
>> > >>> If you wanna it look disabled - change CSS style. If you wanna your
>> > >>> clickListener not being executed - just remove it(use a single
>> > >>> listener method - not an anonymous inner class).
>> >
>> > >>> On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]
>> >
>> > >>> wrote:
>> > >>> > It's a little hacky, but we just substitute a label in it's place.
>> >
>> > >>> > On Nov 26, 7:55 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote:
>> >
>> > >>> > > Hi,
>> >
>> > >>> > > Anybody knows how we can disable a HyperLink in GWT?
>> >
>> > >>> > > Regards,
>> > >>> > > Litty Preeth
>> >
>> >
>>
>>
>
> >
>

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

<>

Who can read chinese?

2008-11-27 Thread [EMAIL PROTECTED]

I need help ,  i hava some API of YI language  , but all words is
china words ,  who can help me?ASAP , thanks.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Load images and css from different folder according to locale and company change

2008-11-27 Thread zujee

Hi,
Is it possible to load different images and css according to locale
and company change?
For eg: i have a company named XYZ and I want to show the customized
images which contains XYZ for there customization.
Now Im replaceing all the default images with this particular company
images. Can i Store these images in a directory ,say XYZimages folder
and load from that location, So that default images will be there and
the customized images can show only for that customized company.
Im currently using ImmutableResourceBundle.
thanks
zujee
--~--~-~--~~~---~--~~
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: ClickListener and Image

2008-11-27 Thread 闫风
button.addClickListener(new CLickListener() {
 publicl void onClick(Widget w) {
 //methods
 }
}) ;

Like this?
2008/11/28 jamer <[EMAIL PROTECTED]>

>
> I have an image that ClickListener I have a partner, and I would like
> to know how I can implement a method similar to the method click (),
> who have the Widget Button?
>
> Thank you!
> >
>

--~--~-~--~~~---~--~~
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: Load images and css from different folder according to locale and company change

2008-11-27 Thread mon3y

Take a look at the ImageBundle class, that has some helper methods to
change images.

On Nov 28, 8:05 am, zujee <[EMAIL PROTECTED]> wrote:
> Hi,
> Is it possible to load different images and css according to locale
> and company change?
> For eg: i have a company named XYZ and I want to show the customized
> images which contains XYZ for there customization.
> Now Im replaceing all the default images with this particular company
> images. Can i Store these images in a directory ,say XYZimages folder
> and load from that location, So that default images will be there and
> the customized images can show only for that customized company.
> Im currently using ImmutableResourceBundle.
> thanks
> zujee
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Possible to get GWT's version by command line?

2008-11-27 Thread Danny Schimke
Hello!

Is it possible to print GWT's version number in command line. If I write
applicationCreator someInvalidParameter I get the Version: but is there a
clean way to get only the version?

Thanks!!!

--~--~-~--~~~---~--~~
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: Who can read chinese?

2008-11-27 Thread yunhui song
Hi I can help you. what do you need?

On Thu, Nov 27, 2008 at 8:16 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> I need help ,  i hava some API of YI language  , but all words is
> china words ,  who can help me?ASAP , thanks.
> >
>

--~--~-~--~~~---~--~~
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: Load images and css from different folder according to locale and company change

2008-11-27 Thread zujee

Thanks mon3y for this quick reply and it really helped. But the
problem is I want to give the image path dynamically, I mean without
compiling the code.
For eg: if a compny came,say XYZ, I want to add an image folder and
want to specify that path in XML or any other location.
Is that possible?
thanks in advance


On Nov 28, 11:45 am, mon3y <[EMAIL PROTECTED]> wrote:
> Take a look at the ImageBundle class, that has some helper methods to
> change images.
>
> On Nov 28, 8:05 am, zujee <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
> > Is it possible to load different images and css according to locale
> > and company change?
> > For eg: i have a company named XYZ and I want to show the customized
> > images which contains XYZ for there customization.
> > Now Im replaceing all the default images with this particular company
> > images. Can i Store these images in a directory ,say XYZimages folder
> > and load from that location, So that default images will be there and
> > the customized images can show only for that customized company.
> > Im currently using ImmutableResourceBundle.
> > thanks
> > zujee- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---