Re: Can Editor/Driver framework be used in place of Colum/EditTextCell in Cell widgets?

2011-04-03 Thread -sowdri-
Joseph,

Integrating Cells and Editors is in progress. Refer the following issue for 
details. 

http://code.google.com/p/google-web-toolkit/issues/detail?id=6206

Once this feature has been released, then what you are expecting to achieve 
would be straight fwd. Meanwhile you could try the workaround suggested. It 
work for EditTextCell in isolation, but i've not tried the same with cell 
table. Do share the results. 

Thanks,
-sowdri-

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



Is com.google.gwt.view.client.Range restricted to client side usage only?

2011-04-03 Thread JosephLi
This is probably a silly question. I tried using Range in one of the
finder method for a domain class that retrieve info via RequestFactory
+RequestContext framework. The finder would compile and work without
problem if the range given is listed as two separate int. However, it
would fail on startup and gives the error below  if I change the two
int(s) to a single Range parameter:

Invalid Request parameterization com.google.gwt.view.client.Range

Am I missing something or is it a restriction on GWT that classes from
the view.client package should not be used in server side code even if
they are plain simple java code?


Joseph

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



authentication question

2011-04-03 Thread Leung
Hi,

I am not sure do my plan for authentication is safe. Pls point out my mistake.

I use RPC to handle the login request. After verifying the user name and 
password from client request, the server replies by sending back the acctId and 
cookie with session id. So the widgets on the client side use the acctId to 
retrieve the acct specific info by RPC.

Server code

int ret = accountdao.validateAccount(_email, _passwd);
if(ret==0)
{
//login success - return a cookie to the client
String sessId = 
this.getThreadLocalRequest().getSession().getId();
final long DURATION = 1000 * 60 * 60 * 24 * 14; 
//duration remembering login. 2 weeks in this example. 
Date expires = new Date(System.currentTimeMillis() + 
DURATION); 
Cookie cookie = new Cookie("sid",sessId);
cookie.setPath("/");
this.getThreadLocalResponse().addCookie(cookie);
Account tmpAcct = accountdao.getAccount(_email, 
_passwd);
return tmpAcct.getOid();
}

Thanks a lot

-- 
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: Execution order of onModuleLoad and body.onload

2011-04-03 Thread Thomas Broyer
body.onload happens after DOMContentReady (can be long after!), and in most 
browsers (everyone except IE6/7/8?), onModuleLoad will be called at 
DOMContentReady.
So no, you cannot be assured onModuleLoad is called after body.onload (quite 
the contrary actually).

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



Execution order of onModuleLoad and body.onload

2011-04-03 Thread christoph.die...@googlemail.com
I am a bit confused by GWT's documentation of its bootstrap order:
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideBootstrap
which says or at least suggests that onModuleLoad is called before
body.onload:
10. externalScriptOne.js completes. The document is ready, so
onModuleLoad() fires.
12. body.onload() fires, in this case showing an alert() box.

It also says:
"Once the GWT selection script has started, its onModuleLoad() can be
called at any point after the outer document has been parsed."

I don't know if it's only me, but I think the documentation could be
clearer on the call order of the two functions.

However, as Thomas Broyer says in this post:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/4df63848f86ce5a2/a7dab35743346d41?lnk=gst&q=body+onload#a7dab35743346d41
and as my tests also show, onModuleLoad is always called after
body.onload.

So, can one rely on onModuleLoad being called after body.onload?

-- 
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: Vertical Tab Bar

2011-04-03 Thread Jan Mostert
As far as I'm aware, there's only a horizontal tab panel, building a
vertical one with a vertical panel and labels can easily be accomplished.

--
Jan Vladimir Mostert
BEngSci

MyCee Technologies


On Sat, Apr 2, 2011 at 2:36 AM, New GWT User
wrote:

> Hi
>
> I am new to GWT, Trying to get hands dirty on it.I am looking for a
> Vertical Tab Bar. I see GWT has Horizontal Tab Bar readily available,
> Is there anything like that for Vertical Tab Bar.
>
> 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
> google-web-toolkit+unsubscr...@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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How can I embed a no-sql graph db into my GWT app(Neo4j)

2011-04-03 Thread jonty
Hi, I've been using neo4j an embed graph db(relationships, properties,
and nodes(very useful)). It's working fine as a stand alone
project(separate to my gwt app). I'm now trying to integrate it into
my gwt project. I'm saving the db in the war folder, war/fyp1.1/
neo4jdb. I'm using it to find shortest paths. When I make a RPC there
seems to be no response from the db(ie not picking up nodes or
actually working). Has anyone ever used neo4j/an embedded db in an
app? Any suggestions/tips would be great!

-- 
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: GWT + MVP + Spring + Hibernate

2011-04-03 Thread Jan Mostert
ROO is "just" a console that generates a scaffold for you containing
Spring-MVC code with a JPA (Hibernate) and then you can slap any UI on top
of it, like GWT using the "gwt setup command"

This page will take you through it step by step:
http://www.springsource.org/roo/start

Once you've done the tutorial, you'll have a scaffold in place on top of
which you can work or which you can modify to your liking.

--
Jan Vladimir Mostert
BEngSci

MyCee Technologies


On Sun, Apr 3, 2011 at 6:00 PM, Zaur Guliyev  wrote:

> Isn't there a step-by-step tutorial at least on GWT + Spring Roo ?!  ...
> I've searched on Google but can'T find any resource..even only Spring Roo
> will suit...Do you have any suggestion? And one more question, do I have to
> start with Spring MVC first? Or are Spring Roo and Spring MVC different
> subjects ... and that would be better to start directly with Roo maybe?
>
>
>
>
> 2011/4/3 Ashton Thomas 
>
>> this repo has gwt mvp spring but uses mybatis so no Hibernate:
>> https://github.com/ashtonthomas/beans
>>
>>
>> On Apr 3, 1:27 am, Jan Mostert  wrote:
>> > Spring Roo will integrate all that stuff for you.
>> >
>> > --
>> > Jan Vladimir Mostert
>> > BEngSci
>> >
>> > MyCee Technologies
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Sat, Apr 2, 2011 at 11:14 AM, Zaur Guliyev 
>> wrote:
>> > > Hello,
>> >
>> > > I'm newbie in GWT and as well as to Spring, Hibernate and MVP
>> > > framework. Is there any tutorial or project example on which I can
>> > > learn all this GWT integration stuff with above mentioned frameworks?
>> >
>> > > Any help is appretiated...
>> >
>> > > --
>> > > 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.
>>
>> --
>> 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.
>>
>>
>
>
> --
> *Zaur Guliyev
> Ankara University
> Computer Engineering**
> Cell: +905072645995*
>
>  --
> 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.
>

-- 
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: GWT + MVP + Spring + Hibernate

2011-04-03 Thread Zaur Guliyev
Isn't there a step-by-step tutorial at least on GWT + Spring Roo ?!  ...
I've searched on Google but can'T find any resource..even only Spring Roo
will suit...Do you have any suggestion? And one more question, do I have to
start with Spring MVC first? Or are Spring Roo and Spring MVC different
subjects ... and that would be better to start directly with Roo maybe?



2011/4/3 Ashton Thomas 

> this repo has gwt mvp spring but uses mybatis so no Hibernate:
> https://github.com/ashtonthomas/beans
>
>
> On Apr 3, 1:27 am, Jan Mostert  wrote:
> > Spring Roo will integrate all that stuff for you.
> >
> > --
> > Jan Vladimir Mostert
> > BEngSci
> >
> > MyCee Technologies
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Apr 2, 2011 at 11:14 AM, Zaur Guliyev 
> wrote:
> > > Hello,
> >
> > > I'm newbie in GWT and as well as to Spring, Hibernate and MVP
> > > framework. Is there any tutorial or project example on which I can
> > > learn all this GWT integration stuff with above mentioned frameworks?
> >
> > > Any help is appretiated...
> >
> > > --
> > > 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.
>
> --
> 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.
>
>


-- 
*Zaur Guliyev
Ankara University
Computer Engineering**
Cell: +905072645995*

-- 
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: GWT + MVP + Spring + Hibernate

2011-04-03 Thread Ashton Thomas
this repo has gwt mvp spring but uses mybatis so no Hibernate:
https://github.com/ashtonthomas/beans


On Apr 3, 1:27 am, Jan Mostert  wrote:
> Spring Roo will integrate all that stuff for you.
>
> --
> Jan Vladimir Mostert
> BEngSci
>
> MyCee Technologies
>
>
>
>
>
>
>
> On Sat, Apr 2, 2011 at 11:14 AM, Zaur Guliyev  wrote:
> > Hello,
>
> > I'm newbie in GWT and as well as to Spring, Hibernate and MVP
> > framework. Is there any tutorial or project example on which I can
> > learn all this GWT integration stuff with above mentioned frameworks?
>
> > Any help is appretiated...
>
> > --
> > 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.

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



Guidelines for RequestFactory Security/Authentication

2011-04-03 Thread Eric
Hi.
I'm trying to implement Spring security over RequstFactory with GWT2.1

After some searching I've found some posts on this list but they're
missing some explanation.
In all the examples I could find I could see people writing the login
page in JSP and I was wondering if the this is the only option for the
login page can't I have a simple GWT module + some server code for
that ?

Since I'm new to both technologies I was wondering if there are any
guides/howto for integration of both. I couldn't find enough
information on that.
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Logging via mvn integration-test or in eclipse test-run

2011-04-03 Thread Andi
hi,

we have logging configured to work well in dev-mode. really nice.

but as i like to develop more complex things in integration-tests, i wonder how 
to get logs working there. 

in eclipse, via "run as gwt junit" i can see all GWT.log outputs. thats ok, but 
not what i want since the output and routing via java.util.logging is much 
better and used in most parts of the sourcecode.

java.util.logging is working neither in eclipse, nor in mvn run via terminal.

can someone give me a hint to see those logs when running tests? my goal is to 
integrate this configuration into a maven dev-profile, but thats easy when i 
know how to get it working.

thx, andi

(vom fon)

-- 
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: shuttle component

2011-04-03 Thread agi
you can use  external drag and drop library and follow example which
you can see here:
http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#DualListExample

hth
agata

On Apr 2, 12:49 pm, El Mentecato Mayor 
wrote:
> No, but it's very easy to create one.
>
> On Mar 30, 4:11 am, Vik  wrote:
>
>
>
>
>
>
>
> > right so is this available in gwt?
>
> > Thankx and Regards
>
> > Vik
> > Founderhttp://www.sakshum.orghttp://blog.sakshum.org
>
> > On Wed, Mar 30, 2011 at 1:12 PM, nino ekambi 
> > wrote:
>
> > > Do you mean something like this ?:
>
> > >http://www.sencha.com/examples/explorer.html#duallistfield
>
> > >  
>
> > > 2011/3/30 Vik 
>
> > >>  anyone on this please?
>
> > >> Thankx and Regards
>
> > >> Vik
> > >> Founder
> > >>http://www.sakshum.org
> > >>http://blog.sakshum.org
>
> > >> On Sun, Mar 27, 2011 at 3:31 PM, Vik  wrote:
>
> > >>> Hie
>
> > >>> Does gwt has any shuttle component in which we can chose options from
> > >>> left and move to right as selected? If no then whatis the alternative?
> > >>> Thankx and Regards
>
> > >>> Vik
> > >>> Founder
> > >>>http://www.sakshum.org
> > >>>http://blog.sakshum.org
>
> > >>  --
> > >> 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.
>
> > > --
>
> > > GWT API for the Flash Platform
> > >http://code.google.com/p/gwt4air/
> > >http://www.gwt4air.appspot.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
> > > google-web-toolkit+unsubscr...@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-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: Testing performance: widgets vs elements+bubble, widgets win?

2011-04-03 Thread Gal Dolber
I made the tests on macos, I will try a micro benchmark.
Thanks!

On Sun, Apr 3, 2011 at 6:12 AM, Thomas Broyer  wrote:

> Have a look at the commit log for
> http://code.google.com/p/google-web-toolkit/source/detail?r=9925
> Also, System.currentTimeMillis() (which uses (new Date).getTime() in
> JavaScript) only gives relevant results on non-Windows platforms:
> http://mivankovic.blogspot.com/2011/03/research-results-can-javascipt-gettime.html
>
> --
> 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.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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: Testing performance: widgets vs elements+bubble, widgets win?

2011-04-03 Thread Thomas Broyer
Have a look at the commit log for 
http://code.google.com/p/google-web-toolkit/source/detail?r=9925
Also, System.currentTimeMillis() (which uses (new Date).getTime() in 
JavaScript) only gives relevant results on non-Windows platforms: 
http://mivankovic.blogspot.com/2011/03/research-results-can-javascipt-gettime.html

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