Re: Automatic compiling in Hosted Mode

2012-01-27 Thread Janko Ulaga
Adolfo Panizo Touzon  writes:

> 
> 
> Hi everybody,
> 
> I succeeded the step deploy my GWT app to an external server (in my case 
WebSphere). This step is "easy" (here).
> 
> Now, I'm trying to "compile" automatically the app (on fly)  to avoid the 
> slow 
process of compilation (because now when I made a change in my app, my 
WebSphere 
Server restart it automatically).
> 
> The basic idea, is that I want to start the GWT Development Mode (like this) 
and work from here, but I don't how can I do.
> 
> Any ideas or comments would be appreciated.
> 
> Regards.
> 
> Adolfo.-- El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet
> 
> 
> 
> 

Guys, i'm having trouble setting up my environment to work in GWT DEV MODE.
My server side is a Websphere 7 on my local computer, and i have tried to 
follow 
instructions from the same page you did, but no success.
My GWT project is installed in a Websphere container inside a web project and 
with a context root. index.html is accessible through 
localhost:9081/GwtApp

So, when i run my fully deployed app, everything works. DEV mode does not work.
This is my debug config. arguments line:

-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -
codeServerPort 9997 -war E:\webBundle-workspc\GwtApp\war -noserver "C:\Program 
Files\IBM\SDP\runtimes\base_v7\profiles\was70profile\installedApps\razvojCell\We
bBundle.ear\GwtApp.war" dev.entry.GwtApp



Can you help me out here?

-- 
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: Showing and hiding a ButtonCell in a CellTable

2011-03-27 Thread Janko
Hi John!

This idea sounds very good. However, I have problems implementing it. Would 
you please help me with further comments? Where to add the override? the 
original render has different parameters...

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



BlobInfo using the BlobKey

2011-01-06 Thread Janko
Does anybody know how to fetch the BlobInfo by BlobKey?

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-tool...@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.



CellTable - redrawing only one column (not all)

2010-12-29 Thread Janko
Hi!

I am using the CellTable and I would like to redraw only a particular
column (or exclude one from redrawing)

Is this possible?

Please help:)
janko
---
Thank you google guys for GWT!

-- 
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-tool...@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: Evaluating string: "(A+sin(B))" where A=1, B=2

2010-09-21 Thread Janko
I found the solution:

http://sourceforge.net/projects/smplmathparse/files/

it is simple math parser and it is free.



On Sep 21, 10:22 am, Janko  wrote:
> However,.. both are commercial... are there any non-commercial
> packages??
>
> On Sep 21, 2:40 am, lineman78  wrote:
>
>
>
>
>
>
>
> > There are plenty of Java implementations that do the same thing if you
> > would prefer sticking with Java.  Popular Java projects include
> > "Jep"(http://sourceforge.net/projects/jep/) and 
> > "JFormula"(http://www.japisoft.com/formula/).
>
> > On Sep 20, 4:04 pm, Janko  wrote:
>
> > > The best way I found is using something like it is described 
> > > here:http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html
>
> > > Where the server would host a mathparser.py...
>
> > > I would like to evaluate the string at the server side, so the server
> > > implementation would call the py script...
>
> > > what do you think about this solution?
>
> > > thanks
>
> > > On Sep 20, 10:04 pm, Janko  wrote:
>
> > > > Hello everybody!
>
> > > > What is the simplest way to evaluate an string expression with know
> > > > parameters on the server side???
>
> > > > Please 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-tool...@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: Evaluating string: "(A+sin(B))" where A=1, B=2

2010-09-21 Thread Janko
However,.. both are commercial... are there any non-commercial
packages??

On Sep 21, 2:40 am, lineman78  wrote:
> There are plenty of Java implementations that do the same thing if you
> would prefer sticking with Java.  Popular Java projects include
> "Jep"(http://sourceforge.net/projects/jep/) and 
> "JFormula"(http://www.japisoft.com/formula/).
>
> On Sep 20, 4:04 pm, Janko  wrote:
>
>
>
>
>
>
>
> > The best way I found is using something like it is described 
> > here:http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html
>
> > Where the server would host a mathparser.py...
>
> > I would like to evaluate the string at the server side, so the server
> > implementation would call the py script...
>
> > what do you think about this solution?
>
> > thanks
>
> > On Sep 20, 10:04 pm, Janko  wrote:
>
> > > Hello everybody!
>
> > > What is the simplest way to evaluate an string expression with know
> > > parameters on the server side???
>
> > > Please 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-tool...@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: Evaluating string: "(A+sin(B))" where A=1, B=2

2010-09-21 Thread Janko
Thank you!

I was looking for java code like this.
http://www.japisoft.com/formula/ looks simple enough and will do the
job I need!

thanks,
js

On Sep 21, 2:40 am, lineman78  wrote:
> There are plenty of Java implementations that do the same thing if you
> would prefer sticking with Java.  Popular Java projects include
> "Jep"(http://sourceforge.net/projects/jep/) and 
> "JFormula"(http://www.japisoft.com/formula/).
>
> On Sep 20, 4:04 pm, Janko  wrote:
>
>
>
>
>
>
>
> > The best way I found is using something like it is described 
> > here:http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html
>
> > Where the server would host a mathparser.py...
>
> > I would like to evaluate the string at the server side, so the server
> > implementation would call the py script...
>
> > what do you think about this solution?
>
> > thanks
>
> > On Sep 20, 10:04 pm, Janko  wrote:
>
> > > Hello everybody!
>
> > > What is the simplest way to evaluate an string expression with know
> > > parameters on the server side???
>
> > > Please 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-tool...@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: Evaluating string: "(A+sin(B))" where A=1, B=2

2010-09-20 Thread Janko
The best way I found is using something like it is described here:
http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html

Where the server would host a mathparser.py...

I would like to evaluate the string at the server side, so the server
implementation would call the py script...

what do you think about this solution?

thanks

On Sep 20, 10:04 pm, Janko  wrote:
> Hello everybody!
>
> What is the simplest way to evaluate an string expression with know
> parameters on the server side???
>
> Please 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-tool...@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.



Evaluating string: "(A+sin(B))" where A=1, B=2

2010-09-20 Thread Janko
Hello everybody!

What is the simplest way to evaluate an string expression with know
parameters on the server side???

Please 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-tool...@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: Using the same object at the server and client

2010-09-17 Thread Janko
Hi Alex and Thomas.

This is really fast:D
I guess the Stock.java is persisted:
---
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Stock {

  @PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
  private Long id;
  @Persistent
  private User user;
  @Persistent
  private String symbol;
  @Persistent
  private Date createDate;
---

Alex if I get you right I cannot use this object on the client side?
Is there another way I could move the data to client? Creating a
similar class on the client side is an option, but it is a relatively
bad option, because I would need to code both classes... Any ideas?

Thank you,
janko

On Sep 17, 1:30 pm, Janko  wrote:
> Thank you for the quick response.
>
> I now get the 13:25:23.531 [ERROR] [homework] Line 9: The import
> com.google.appengine cannot be resolved
> Line 9 is: import com.google.appengine.api.users.User;
>
> I found I need probably inherit it... in what way? what do I need to
> do?
>
> On Sep 17, 1:13 pm, Brett Thomas  wrote:
>
>
>
>
>
>
>
> > I think you need to move the stock class from the .server. package to
> > .shared. so the client knows about it
>
> > On Fri, Sep 17, 2010 at 7:09 AM, Janko  wrote:
> > > PS: I get the "did you forget to inherit a required module" error..
>
> > > --
> > > 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-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com > >  cr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@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: Using the same object at the server and client

2010-09-17 Thread Janko
Thank you for the quick response.

I now get the 13:25:23.531 [ERROR] [homework] Line 9: The import
com.google.appengine cannot be resolved
Line 9 is: import com.google.appengine.api.users.User;

I found I need probably inherit it... in what way? what do I need to
do?


On Sep 17, 1:13 pm, Brett Thomas  wrote:
> I think you need to move the stock class from the .server. package to
> .shared. so the client knows about it
>
>
>
>
>
>
>
> On Fri, Sep 17, 2010 at 7:09 AM, Janko  wrote:
> > PS: I get the "did you forget to inherit a required module" error..
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@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: Using the same object at the server and client

2010-09-17 Thread Janko
PS: I get the "did you forget to inherit a required module" error..

-- 
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-tool...@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.



Using the same object at the server and client

2010-09-17 Thread Janko
Hi!

I am trying to modify the stockwatcher example (http://code.google.com/
webtoolkit/doc/latest/tutorial/appengine.html#data) that the
getStocks() in StockServiceImpl.java would return a list of Stocks
object defined in com.google.gwt.sample.stockwatcher.server.

I am having problems with using the data object at the client side.

Can you please help me??

What do I need to do?

-- 
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-tool...@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: Receiving "Plugin failed to connect to hosted mode server 127.0.0.1:9997" Error

2010-03-25 Thread Janko
Hi!
This helped me!!! I was also very frustrated... The eclipse was
working fine until I got the "plugin failed to connect to hosted mode
server at 127.0.0.1:9997" error... Nothing helped... not
uninstalling,.. reverting to old installation date...
-bindAddress helped.

Thanks!

On Mar 22, 3:10 pm, Jason Parekh  wrote:
> Hi Julian,
>
> What operating system are you running?
>
> You can try a couple things that have worked for others in the past:
> - Instead of 127.0.0.1:9997, try localhost:9997
> - Add "-bindAddress *0.0.0.0" to your program arguments in the launch
> configuration.  This lives at Debug > Debug configurations... > Select your
> launch config on the left > Arguments tab.  Just add "-bindAddress 0.0.0.0"
> in the beginning before all the other arguments.  This makes it listen on
> all network adapters, so another machine on your network could connect to
> you.*
> *
> *
> *jason*
>
>
>
> On Sat, Mar 20, 2010 at 3:44 AM, JulianK <0711resp...@gmx.de> wrote:
> > Hi all,
>
> > i'm frustrated.
> > I'm using Eclipse and the GWT Plugin for Eclipse. I created a new GWT
> > Project with the GWT example files in it.
> > after successfully creating it i start it via "Run as  Web
> > Application" and get an Error:
>
> > "Plugin failed to connect to hosted mode server 127.0.0.1:9997"
>
> > i also tried it with another port and localhost instead of 127.0.0.1
> > but without any success.
>
> > Hope you can help me.
> > kind regards,
> > Julian
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@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.