Re: getInteger problem when trying to run hosted mode.

2009-06-18 Thread Srihari Ch
Can you explain in detail the problem and solution which you found?Waiting
for ur reply


On Wed, Jun 17, 2009 at 11:10 PM, Joel Paulsson mean@gmail.com wrote:


 I was looking for parseInt, it was just that i hadn't get the hang of
 Java.util.Date fully, now i have so now i know what was wrong. =)

 On 17 Juni, 10:11, Jason Morris lem...@gmail.com wrote:
  Possibly you are looking for Integer.decode instead of Integer.parseInt?
 
  Joel Paulsson wrote:
   Thanks for the help, i think i follow. I'll have to look into why
   Integer.parseInt didn't return the value i thought it would return
   then.
 
   On 16 Juni, 07:34, Dean S. Jones deansjo...@gmail.com wrote:
   Integer.getInteger(name) gets an integer from System properties.
 
   it is ( roughly ) equal to:
 
   Integer.parseInt(System.getProperty(name));
 
   So, in the GAE, what is the definition if System.getProperty() ??? You
   have no method or means of setting them, you don't know the properties
   of the Runtime Environment
 
   Thus, it is useless to ask... and the method is not provided.
 
   On Jun 15, 5:00 pm, Joel Paulsson mean@gmail.com wrote:
 
   Hi!
   I run gwt as a plug-in to Eclipse and i have no errors in Eclipse,
 but
   when i run the program to hosted mode i get this error in the
   AppEngine Server:
   [ERROR] Line 53: The method getInteger(String) is undefined for the
   type Integer
   If i comment that line it works great, but using getInteger is pretty
   vital for me in this application so i need it to work. Can anyone
 help
   me understand why i get this error when i don't have any compilation
   errors and maybe find a soloution?
   /Joel
 
 
 


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



Re: getInteger problem when trying to run hosted mode.

2009-06-18 Thread Sumit Chandel
Hi Srihari,
Using Integer.valueOf(3).intValue() should get you along your way.

Hope that helps,
-Sumit Chandel

On Wed, Jun 17, 2009 at 11:46 PM, Srihari Ch sriharich@gmail.comwrote:

 Can you explain in detail the problem and solution which you found?Waiting
 for ur reply


 On Wed, Jun 17, 2009 at 11:10 PM, Joel Paulsson mean@gmail.comwrote:


 I was looking for parseInt, it was just that i hadn't get the hang of
 Java.util.Date fully, now i have so now i know what was wrong. =)

 On 17 Juni, 10:11, Jason Morris lem...@gmail.com wrote:
  Possibly you are looking for Integer.decode instead of Integer.parseInt?
 
  Joel Paulsson wrote:
   Thanks for the help, i think i follow. I'll have to look into why
   Integer.parseInt didn't return the value i thought it would return
   then.
 
   On 16 Juni, 07:34, Dean S. Jones deansjo...@gmail.com wrote:
   Integer.getInteger(name) gets an integer from System properties.
 
   it is ( roughly ) equal to:
 
   Integer.parseInt(System.getProperty(name));
 
   So, in the GAE, what is the definition if System.getProperty() ???
 You
   have no method or means of setting them, you don't know the
 properties
   of the Runtime Environment
 
   Thus, it is useless to ask... and the method is not provided.
 
   On Jun 15, 5:00 pm, Joel Paulsson mean@gmail.com wrote:
 
   Hi!
   I run gwt as a plug-in to Eclipse and i have no errors in Eclipse,
 but
   when i run the program to hosted mode i get this error in the
   AppEngine Server:
   [ERROR] Line 53: The method getInteger(String) is undefined for the
   type Integer
   If i comment that line it works great, but using getInteger is
 pretty
   vital for me in this application so i need it to work. Can anyone
 help
   me understand why i get this error when i don't have any compilation
   errors and maybe find a soloution?
   /Joel
 
 



 


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



Re: getInteger problem when trying to run hosted mode.

2009-06-17 Thread Jason Morris

Possibly you are looking for Integer.decode instead of Integer.parseInt?

Joel Paulsson wrote:
 Thanks for the help, i think i follow. I'll have to look into why
 Integer.parseInt didn't return the value i thought it would return
 then.
 
 On 16 Juni, 07:34, Dean S. Jones deansjo...@gmail.com wrote:
 Integer.getInteger(name) gets an integer from System properties.

 it is ( roughly ) equal to:

 Integer.parseInt(System.getProperty(name));

 So, in the GAE, what is the definition if System.getProperty() ??? You
 have no method or means of setting them, you don't know the properties
 of the Runtime Environment

 Thus, it is useless to ask... and the method is not provided.

 On Jun 15, 5:00 pm, Joel Paulsson mean@gmail.com wrote:

 Hi!
 I run gwt as a plug-in to Eclipse and i have no errors in Eclipse, but
 when i run the program to hosted mode i get this error in the
 AppEngine Server:
 [ERROR] Line 53: The method getInteger(String) is undefined for the
 type Integer
 If i comment that line it works great, but using getInteger is pretty
 vital for me in this application so i need it to work. Can anyone help
 me understand why i get this error when i don't have any compilation
 errors and maybe find a soloution?
 /Joel

  
 

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



Re: getInteger problem when trying to run hosted mode.

2009-06-17 Thread Joel Paulsson

I was looking for parseInt, it was just that i hadn't get the hang of
Java.util.Date fully, now i have so now i know what was wrong. =)

On 17 Juni, 10:11, Jason Morris lem...@gmail.com wrote:
 Possibly you are looking for Integer.decode instead of Integer.parseInt?

 Joel Paulsson wrote:
  Thanks for the help, i think i follow. I'll have to look into why
  Integer.parseInt didn't return the value i thought it would return
  then.

  On 16 Juni, 07:34, Dean S. Jones deansjo...@gmail.com wrote:
  Integer.getInteger(name) gets an integer from System properties.

  it is ( roughly ) equal to:

  Integer.parseInt(System.getProperty(name));

  So, in the GAE, what is the definition if System.getProperty() ??? You
  have no method or means of setting them, you don't know the properties
  of the Runtime Environment

  Thus, it is useless to ask... and the method is not provided.

  On Jun 15, 5:00 pm, Joel Paulsson mean@gmail.com wrote:

  Hi!
  I run gwt as a plug-in to Eclipse and i have no errors in Eclipse, but
  when i run the program to hosted mode i get this error in the
  AppEngine Server:
  [ERROR] Line 53: The method getInteger(String) is undefined for the
  type Integer
  If i comment that line it works great, but using getInteger is pretty
  vital for me in this application so i need it to work. Can anyone help
  me understand why i get this error when i don't have any compilation
  errors and maybe find a soloution?
  /Joel


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



Re: getInteger problem when trying to run hosted mode.

2009-06-17 Thread Joel Paulsson

I was looking for parseInt, it was just that i hadn't get the hang of
Java.util.Date fully, now i have so now i know what was wrong. =)

On 17 Juni, 10:11, Jason Morris lem...@gmail.com wrote:
 Possibly you are looking for Integer.decode instead of Integer.parseInt?

 Joel Paulsson wrote:
  Thanks for the help, i think i follow. I'll have to look into why
  Integer.parseInt didn't return the value i thought it would return
  then.

  On 16 Juni, 07:34, Dean S. Jones deansjo...@gmail.com wrote:
  Integer.getInteger(name) gets an integer from System properties.

  it is ( roughly ) equal to:

  Integer.parseInt(System.getProperty(name));

  So, in the GAE, what is the definition if System.getProperty() ??? You
  have no method or means of setting them, you don't know the properties
  of the Runtime Environment

  Thus, it is useless to ask... and the method is not provided.

  On Jun 15, 5:00 pm, Joel Paulsson mean@gmail.com wrote:

  Hi!
  I run gwt as a plug-in to Eclipse and i have no errors in Eclipse, but
  when i run the program to hosted mode i get this error in the
  AppEngine Server:
  [ERROR] Line 53: The method getInteger(String) is undefined for the
  type Integer
  If i comment that line it works great, but using getInteger is pretty
  vital for me in this application so i need it to work. Can anyone help
  me understand why i get this error when i don't have any compilation
  errors and maybe find a soloution?
  /Joel


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



Re: getInteger problem when trying to run hosted mode.

2009-06-16 Thread Joel Paulsson

Thanks for the help, i think i follow. I'll have to look into why
Integer.parseInt didn't return the value i thought it would return
then.

On 16 Juni, 07:34, Dean S. Jones deansjo...@gmail.com wrote:
 Integer.getInteger(name) gets an integer from System properties.

 it is ( roughly ) equal to:

 Integer.parseInt(System.getProperty(name));

 So, in the GAE, what is the definition if System.getProperty() ??? You
 have no method or means of setting them, you don't know the properties
 of the Runtime Environment

 Thus, it is useless to ask... and the method is not provided.

 On Jun 15, 5:00 pm, Joel Paulsson mean@gmail.com wrote:

  Hi!

  I run gwt as a plug-in to Eclipse and i have no errors in Eclipse, but
  when i run the program to hosted mode i get this error in the
  AppEngine Server:

  [ERROR] Line 53: The method getInteger(String) is undefined for the
  type Integer

  If i comment that line it works great, but using getInteger is pretty
  vital for me in this application so i need it to work. Can anyone help
  me understand why i get this error when i don't have any compilation
  errors and maybe find a soloution?

  /Joel


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



Re: getInteger problem when trying to run hosted mode.

2009-06-15 Thread Dean S. Jones

Integer.getInteger(name) gets an integer from System properties.

it is ( roughly ) equal to:

Integer.parseInt(System.getProperty(name));

So, in the GAE, what is the definition if System.getProperty() ??? You
have no method or means of setting them, you don't know the properties
of the Runtime Environment

Thus, it is useless to ask... and the method is not provided.



On Jun 15, 5:00 pm, Joel Paulsson mean@gmail.com wrote:
 Hi!

 I run gwt as a plug-in to Eclipse and i have no errors in Eclipse, but
 when i run the program to hosted mode i get this error in the
 AppEngine Server:

 [ERROR] Line 53: The method getInteger(String) is undefined for the
 type Integer

 If i comment that line it works great, but using getInteger is pretty
 vital for me in this application so i need it to work. Can anyone help
 me understand why i get this error when i don't have any compilation
 errors and maybe find a soloution?

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