Are there any sample maven projects for gwt-google-apis gadget ?

2011-03-26 Thread Saeed Zarinfam
Hi guys

I have a question. Are there any sample maven projects for gwt-google-
apis gadget ?
If anybody know anything about it , please guide me. I want to setup a
maven project for developing gadget with gadget library for GWT.

thanks in advanced.

-- 
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: Mac OSX Java Upgrade warning: Don't upgrade your Java yet!

2011-03-26 Thread Jim Douglas
That Java update was released on March 8th; it's a good bet that
everyone installed it weeks ago.

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

http://developer.apple.com/library/mac/releasenotes/Java/JavaSnowLeopardUpdate4LeopardUpdate9RN/Introduction/Introduction.html#//apple_ref/doc/uid/TP40010737

On Mar 26, 4:29 pm, Brandon Donnelson  wrote:
> Java upgrade will break the eclipse dev hosted mode.
>
> http://code.google.com/p/googleappengine/issues/detail?id=4712
>
> Brandon Donnelsonhttp://gwt-examples.googlecode.comhttp://c.gawkat.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.



Re: Mac OSX Java Upgrade warning: Don't upgrade your Java yet!

2011-03-26 Thread Brandon Donnelson
GAE Group notes that are similar:

http://code.google.com/appengine/forum/java-forum.html?place=topic%2Fgoogle-appengine-java%2FP6bBEiRB_xQ%2Fdiscussion



On Mar 26, 4:29 pm, Brandon Donnelson  wrote:
> Java upgrade will break the eclipse dev hosted mode.
>
> http://code.google.com/p/googleappengine/issues/detail?id=4712
>
> Brandon Donnelsonhttp://gwt-examples.googlecode.comhttp://c.gawkat.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.



Mac OSX Java Upgrade warning: Don't upgrade your Java yet!

2011-03-26 Thread Brandon Donnelson
Java upgrade will break the eclipse dev hosted mode.

http://code.google.com/p/googleappengine/issues/detail?id=4712

Brandon Donnelson
http://gwt-examples.googlecode.com
http://c.gawkat.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.



gwt maven plugin with jsp

2011-03-26 Thread khiem nguyen
hi,
i use (mojo) mvn plugin for gwt with html has hostpage, things work fine
with both from eclipse (run as webapp ) or devmode (mvn gwt:run).
now i want to switch to jsp-hostpage & things don't work anymore.
gwt:run : i get error 404
from eclipse: error 500 , with log console about error while compiling jsp.
refresh browser makes it work again.

i read built-in jetty doesnt support jsp out of the box, so how can i fix
this ? or is it possible/how to run (dev/debug-mode) in an external
container like tomcat ?

thanx

-- 
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: Cookies in gwt

2011-03-26 Thread khiem nguyen
i think the issue comes from the fact that i set cookies from different
(gwt-)module, which leads to different paths.
i'll check it out.
thanx again

On Sat, Mar 26, 2011 at 10:52 PM, Thomas Broyer  wrote:

>
>
> On Saturday, March 26, 2011 9:23:50 PM UTC+1, Jambi wrote:
>>
>> Hey Khiem,
>>
>> I think it´s not possible to have multiple Cookies with the same name.
>> Normally the new Cookie with the same name overrides the old one.
>
>
> Not if they have different paths, or different domains!
>
> See http://tools.ietf.org/html/draft-ietf-httpstate-cookie
>
> I'm not sure it's possible to make sure there's a single cookie by a given
> name, maybe try "unsetting" every cookie with any "ancestor" path and
> "ancestor" domain (and all combinations). But you'd also have to do the
> same, probably, for each servlet/subpath that you'll call from your page
> too!
>
> --
> 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: Cookies in gwt

2011-03-26 Thread Thomas Broyer


On Saturday, March 26, 2011 9:23:50 PM UTC+1, Jambi wrote:
>
> Hey Khiem, 
>
> I think it´s not possible to have multiple Cookies with the same name. 
> Normally the new Cookie with the same name overrides the old one.


Not if they have different paths, or different domains!

See http://tools.ietf.org/html/draft-ietf-httpstate-cookie

I'm not sure it's possible to make sure there's a single cookie by a given 
name, maybe try "unsetting" every cookie with any "ancestor" path and 
"ancestor" domain (and all combinations). But you'd also have to do the 
same, probably, for each servlet/subpath that you'll call from your page 
too!

-- 
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: Logging client exceptions to a file

2011-03-26 Thread Adligo
Yes you can send the log messages to the server and have them direct
the log messages to a file, depending on which log api you use (I am
only sure about the i_log api that I wrote).
http://cvs.adligo.org/viewvc/adi_gwt_rpc_servlet/src/org/adligo/i/adi/server/rpc/ILogServlet.java?view=markup

I believe the older GWT-LOG by allen sauer and the newer impl of
java.util.logging on the client can also do this.

Cheers,
Scott

On Mar 23, 3:45 pm, SVR  wrote:
> Is this possible, I know GWT is client side, but is this possible at all?
> The debug/log window (client side) is pretty lame and doesnt even allow
> copy/paste. I know there is an exception thrown, but can hardly scan the
> window without search facility or copy/paste to notepad and search?
> Any ideas?
> 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.



Re: Cookies in gwt

2011-03-26 Thread khiem nguyen
hi, as i have written, i checked with firebug & see request's cookie-header
has 2 cookie with the same name.
same from firebug-console: document.cookie
 in fact, i set it with expire-option, so for each "set" , there'll be
different expire-date, could it be the reason ?

thanx for the answer

On Sat, Mar 26, 2011 at 9:23 PM, Jambi wrote:

> Hey Khiem,
>
> I think it´s not possible to have multiple Cookies with the same name.
> Normally the new Cookie with the same name overrides the old one. You
> should check this in Firefox. Just check the Cookies for your
> localhost (127.0.0.1) in the Firefox preferences. You should only see
> one Cookie with the specific name. I could be wrong, but you should
> definetly check this.
>
> Cheers, Mike
>
> On 25 Mrz., 17:53, khiem nguyen  wrote:
> > hi,
> > it's possible to have cookies with the same name (with the same gwt-app)
> > so if i call: Cookies.setCookie("name", "value"), with firebug i  can see
> > there are many cookies with name="name" is sent.
> > so it's not consitent if server needs only 1 correct info from cookie. i
> > think about calling Cookies.removeCookie("name") before setting it. but
> > 1. does it remove ALL cookies with this name the client ?
> > 2. will calling Cookies.getCookieNames() return duplicate names or only
> > DISTINC ?
> >
> > i want to be sure there's only 1 cookie with 1 name on the client ? what
> > would be your suggestion ?
> >
> > thanx
>
> --
> 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: Cookies in gwt

2011-03-26 Thread Jambi
Hey Khiem,

I think it´s not possible to have multiple Cookies with the same name.
Normally the new Cookie with the same name overrides the old one. You
should check this in Firefox. Just check the Cookies for your
localhost (127.0.0.1) in the Firefox preferences. You should only see
one Cookie with the specific name. I could be wrong, but you should
definetly check this.

Cheers, Mike

On 25 Mrz., 17:53, khiem nguyen  wrote:
> hi,
> it's possible to have cookies with the same name (with the same gwt-app)
> so if i call: Cookies.setCookie("name", "value"), with firebug i  can see
> there are many cookies with name="name" is sent.
> so it's not consitent if server needs only 1 correct info from cookie. i
> think about calling Cookies.removeCookie("name") before setting it. but
> 1. does it remove ALL cookies with this name the client ?
> 2. will calling Cookies.getCookieNames() return duplicate names or only
> DISTINC ?
>
> i want to be sure there's only 1 cookie with 1 name on the client ? what
> would be your suggestion ?
>
> thanx

-- 
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: Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page

2011-03-26 Thread Thomas Broyer


On Saturday, March 26, 2011 8:29:04 PM UTC+1, Adib wrote:
>
> Hello, 
>
> I am trying to figure out where the gwt.codesvr parameter gets 
> processed?  I can think of the following options and would like to get 
> clarity about which of these options in the correct example. 
>
> a) Is it used by the browser plugin so that the browser plugin can 
> talk to the code server
>

It's the thing that triggers the use of the plugin, so it can't be the 
plugin that processes it (I guess it could, once loaded, process it, but I 
believe that's not the case)
 

> b) is it used by the host page in some bootstrap java script. I 
> find this to be not very likely because there does not seem to be a 
> bootstrap javascript that is not generated from java code.
>

Yes it is. It's in the *.nocache.js, which either loads the hosted.html (or 
hosted.js, depending on the linker) or the appropriate *.cache.html/js.
You can compile in --style PRETTY to have a readable version; and you'll 
find the templates in com/google/gwt/core/linker in the gwt-dev.jar

c) is there supposed to be a servlet on the server side side that 
> should be configured to understand this parameter?
>

No, it's all client-side. GWT is backend-agnostic (with the exceptions of 
GWT-RPC and RequestFactory, of course, but even those can be –and are!– 
implemented in non-Java backends)

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



Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page

2011-03-26 Thread Adib
Hello,

I am trying to figure out where the gwt.codesvr parameter gets
processed?  I can think of the following options and would like to get
clarity about which of these options in the correct example.

a) Is it used by the browser plugin so that the browser plugin can
talk to the code server

b) is it used by the host page in some bootstrap java script. I
find this to be not very likely because there does not seem to be a
bootstrap javascript that is not generated from java code.

c) is there supposed to be a servlet on the server side side that
should be configured to understand this parameter?

Thanks
Adib

-- 
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: complex example GWT Activity and Place

2011-03-26 Thread Kayode Odeyemi
Thanks Dave. That was really helpful as it allows me to do some more
digging. One more thing, I still don't understand why my profile
activity is not responding to it's Place controller. The Place token
is gotten but it doesn't trigger its activity which will call its
corresponding Place. Here's what I mean in code:

public class ListingsEntryPoint implements EntryPoint {

Place home = new HomePlace();
ClientFactory clientFactory = GWT.create(ClientFactory.class);
Place profile = new AgentProfilePlace("profile");

@Override
public void onModuleLoad() {

EventBus eventBus = clientFactory.getEventBus();
final PlaceController placeController = 
clientFactory.getPlaceController();
MainWidget mainwidget = clientFactory.getApp();

AppPlaceHistoryMapper apphistoryMapper= GWT.create(AppPlaceHistoryMapper.class);
PlaceHistoryHandler historyHandler = new
PlaceHistoryHandler(apphistoryMapper);
historyHandler.register(placeController, eventBus, home);


RootPanel.get().add(mainwidget);
// Goes to place represented on URL or default place
historyHandler.handleCurrentHistory();

mainwidget.showAgentProfileView().addClickHandler(new ClickHandler() {

@Override
public void onClick(ClickEvent ce) {
String historyToken =
clientFactory.getHistoryMapper().getToken(profile);
placeController.goTo(profile);
}
});
}
}

/* HomeView */
public interface HomeView extends IsWidget {

HasClickHandlers showAgentProfileView();

interface Presenter {
}

void setPresenter(Presenter p);
}


/* MainWidget */

public class MainWidget extends Composite implements HomeView {

private final VerticalPanel panel;
private Widget content;
private AgentProfileView agentProfileView = new AgentProfileViewImpl();
private Anchor agentProfilelink = new Anchor("View Profile");
private HeaderWidget headerWidget = new HeaderWidget();

private Presenter presenter;

private Place place;

public MainWidget() {

panel = new VerticalPanel();
panel.setStyleName("gwt-innerContainer");
//panel.setStyleName("main");
panel.add(agentProfilelink);
panel.add(headerWidget);
initWidget(panel);
setStyleName("main-wrapper");
}

@Override
public HasClickHandlers showAgentProfileView() {
return agentProfilelink;
}

@Override
public void setPresenter(Presenter p) {
this.presenter = p;
}
}

/* AgentProfileActivity */

public class AgentProfileActivity extends AbstractActivity implements
AgentProfileView.Presenter {

private Logger logger =
Logger.getLogger(AgentProfileActivity.class.getName());

private MainPresenter presenter;
private ClientFactory clientFactory;
private EventBus eventBus;
//Place place = GWT.create(Place.class);

private String agentprofileplace;

@Inject
public AgentProfileActivity(AgentProfilePlace place, ClientFactory
clientFactory) {
this.clientFactory = clientFactory;
this.agentprofileplace = place.getAgentprofileplace();
}

@Override
public void start(AcceptsOneWidget aow, EventBus eb) {
logger.info("starting AgentProfileActivity");
AgentProfileView agentProfileView = clientFactory.getAgentProfileView();
this.eventBus = eb;
agentProfileView.setPresenter(this);
aow.setWidget(agentProfileView.asWidget());
}

@Override
public String mayStop() {
return "Please hold on. This activity is stopping.";
}

@Override
public void goTo(Place place) {
clientFactory.getPlaceController().goTo(place);
}
}

/* AgentProfilePlace */
public class AgentProfilePlace extends Place {

private String agentprofileplace;

public AgentProfilePlace() {
}

public AgentProfilePlace(String token) {
this.agentprofileplace = token;
}

public String getAgentprofileplace() {
return agentprofileplace;
}



public static class AgentProfileTokenizer implements
PlaceTokenizer {

@Override
public AgentProfilePlace getPlace(String place) {
return new AgentProfilePlace(place);
}

@Override
public String getToken(AgentProfilePlace p) {
return p.getAgentprofileplace();
}

}
}

/* AppActivityMapper */
public class AppActivityMapper implements ActivityMapper {

private ClientFactory clientFactory;

public AppActivityMapper(ClientFactory clientFactory) {
super();
this.clientFactory = clientFactory;
}

@Override
public Activity getActivity(Place place) {
if(place instanceof HomePlace)
return new HomeActivity((HomePlace) place, clientFactory);
if (place i

Re: Editor+RequestFactory: how to get the new saved object ?

2011-03-26 Thread Thomas Broyer
The RequestContext returned by flush() is the one you gave to edit(). To 
persist your entity, you've had to call a service method on it before giving 
it to edit() (or after, if you kept a reference on it); and you can simply 
give it a Receiver without fire()ing the request by using the to() method of 
the Request object.

-- 
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: RPC Problem with HashMap containing ArrayList Value

2011-03-26 Thread SergeZ
Based on my own experience of working with collections in GWTs RPC
mechanism, I can suggest you to create a POJO (Plain Old Java Object)
file in the *.shared package of your application, where you have to
declare all possible combinations of types (arrays of them) that you
are going to send to the server ( actually which you are going to
serialize ). For Example:
import java.io.Serializable;
import java.util.HashMap;
import java.util.ArrayList;
import java.utils.LinkedList;

Class DummyRPCData implements Serializable{

HashMap[] foo1;
HashMap>[] foo2;
HashMap>[] foo3;
HashMap>[] foo4;
..
..
..
HashMap[] fooN;
 public Serializable[] fix025;


public DummyPRCData() {
foo1 = null;
foo2 = null;



fooN = null;
}

}

You also will be able to use just Serializable identifier in your
client side-code instead of defining the particular type at any
particular place, for example:
instead of:
HashMap map = new HashMap();
map.put("KEY", "VALUE");
you can write the following:
HashMap map = new HashMap();
map.put("KEY", "VALUE");
But flexibility comes up not in the case of String type, but, when you
want to declare a hashmap of types String, and some triky
LinkedList map = new HashMap();
LinkedList> list = new
LinkedList>();
map.put("KEY", list);
//and then send map to the server.

I home my post is quite clear.

P.S.: The main idea is to declare all the types you are going to send
to the server.

On Mar 25, 6:59 pm, richip  wrote:
> I've an object which contains a HashMap instance. I'm
> finding that when I put a value of type ArrayList, RPC calls fail with
> a SerializationException that starts with:
>
> com.google.gwt.user.client.rpc.SerializationException
>         at
> com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:
> 148)
> ...
>
> Any ideas why and suggestions on what to do to get to my intended
> process?

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



Editor+RequestFactory: how to get the new saved object ?

2011-03-26 Thread Simon M
I am using the editor framework + RequestFactory, and when creating a new 
object I need to get the new saved object (some fields are populated on the 
server).

The problem is, the request context returned by the editorDriver.flush() 
sends a Receiver<*Void*>, and not a Receiver<*EntityProxy*>.

How can I do that / workaround that ?

-- 
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: Looking for some Feedbacks + Advices

2011-03-26 Thread nino ekambi
Ups la i think i provided the wrong  link
The explorer application can be founded here :
http://www.gwt4air.appspot.com/



2011/3/26 nino ekambi 

> No it wont since FLEX only runs on Flash.
>
> But here you  have the advantage of bulding the library on top of GWT, you
> can easely provide different  UI layers based on your  target runtime from
> the same source code.With another libray you would have to write separate
> applications for  every target.
>
> We are currently building a  webclient (FLEX) , 2 desktop clients (AIR +
> Titanium) and a mobile client (GWT) for  one application  from the same
>  code basis.
> Strange  requirement from the client i admit:). But with GWT we are able to
> handle that.
>
>
> 2011/3/26 Aladdin 
>
>> Then your app wont run on iPad :(
>>
>> On Mar 26, 2:24 pm, nino ekambi  wrote:
>> > Hello people,
>> >
>> > I m currently  working on a GWT API for Adobe FLEX.
>> > The goal of  this attempt  is  basically  to provide FLEX as  UI library
>> for
>> > GWT projects. Hopefully this can become an good alternative to  the
>> other
>> > GWT UI ibraries.
>> > The API  is almost done and before  the release i also want to provide
>> an
>> > Explorer application, that shows how to use the API
>> > The application is located here :http://code.google.com/p/gwt4air/.
>> > (Safari is not yet supported).
>> > The application itself  is written in Java with the gwt4air API.
>> >
>> > Please guys  help me make this become a  good thing :)
>> >
>> > I m looking forward for your inputs
>> >
>> > Regards,
>> >
>> > Alain
>> >
>> > --
>> >
>> > GWT API for the Flash Platformhttp://
>> 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.
>>
>>
>
>
> --
>
> GWT API for the Flash Platform
> http://code.google.com/p/gwt4air/
> http://www.gwt4air.appspot.com/
>
>
>


-- 

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.



Re: Looking for some Feedbacks + Advices

2011-03-26 Thread nino ekambi
No it wont since FLEX only runs on Flash.

But here you  have the advantage of bulding the library on top of GWT, you
can easely provide different  UI layers based on your  target runtime from
the same source code.With another libray you would have to write separate
applications for  every target.

We are currently building a  webclient (FLEX) , 2 desktop clients (AIR +
Titanium) and a mobile client (GWT) for  one application  from the same
 code basis.
Strange  requirement from the client i admit:). But with GWT we are able to
handle that.

2011/3/26 Aladdin 

> Then your app wont run on iPad :(
>
> On Mar 26, 2:24 pm, nino ekambi  wrote:
> > Hello people,
> >
> > I m currently  working on a GWT API for Adobe FLEX.
> > The goal of  this attempt  is  basically  to provide FLEX as  UI library
> for
> > GWT projects. Hopefully this can become an good alternative to  the other
> > GWT UI ibraries.
> > The API  is almost done and before  the release i also want to provide an
> > Explorer application, that shows how to use the API
> > The application is located here :http://code.google.com/p/gwt4air/.
> > (Safari is not yet supported).
> > The application itself  is written in Java with the gwt4air API.
> >
> > Please guys  help me make this become a  good thing :)
> >
> > I m looking forward for your inputs
> >
> > Regards,
> >
> > Alain
> >
> > --
> >
> > GWT API for the Flash Platformhttp://
> 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.
>
>


-- 

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.



GWT RequestFactory populate tree structure

2011-03-26 Thread wicher
Hello,

I have a problem using RequestFactory form GWT 2.2
Is there a way to populate a whole tree structure from the data model
on one single request?
My model looks like this:

Hierarchy {
Set getChildren();
}

When I use request.with("children") method all I get is one extra
level of a tree. Of course I can fetch one tree level at a time or get
all Hierarchy objects and build a tree on the client, but it doesn't
seem right. Is there a smart way to achieve 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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



clean() (Stop) all the scheduled tasks at once

2011-03-26 Thread Fabiano
Hi,
 I'm looking for a way to stop all the runnin'scheduled tasks.
There is already a rought solution:
 I can simply save all the Timer's references into an array or Set
(and put it inside a Singleton, or static class member) , and then
call .clean() an all the instances.

Looking for a better way, I suppose that this Timer's list should
already exist (somewhere). Is there any way to get an active Timer's
list?
This solution is far more elegant than the rought's one  and this may
save me from changing the code mantained by other guys.
is it possible?

Thanks in advance
Regards

Fabiano

-- 
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: Looking for some Feedbacks + Advices

2011-03-26 Thread Aladdin
Then your app wont run on iPad :(

On Mar 26, 2:24 pm, nino ekambi  wrote:
> Hello people,
>
> I m currently  working on a GWT API for Adobe FLEX.
> The goal of  this attempt  is  basically  to provide FLEX as  UI library for
> GWT projects. Hopefully this can become an good alternative to  the other
> GWT UI ibraries.
> The API  is almost done and before  the release i also want to provide an
> Explorer application, that shows how to use the API
> The application is located here :http://code.google.com/p/gwt4air/.
> (Safari is not yet supported).
> The application itself  is written in Java with the gwt4air API.
>
> Please guys  help me make this become a  good thing :)
>
> I m looking forward for your inputs
>
> Regards,
>
> Alain
>
> --
>
> GWT API for the Flash 
> Platformhttp://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.



Looking for some Feedbacks + Advices

2011-03-26 Thread nino ekambi
Hello people,

I m currently  working on a GWT API for Adobe FLEX.
The goal of  this attempt  is  basically  to provide FLEX as  UI library for
GWT projects. Hopefully this can become an good alternative to  the other
GWT UI ibraries.
The API  is almost done and before  the release i also want to provide an
Explorer application, that shows how to use the API
The application is located here : http://code.google.com/p/gwt4air/ .
(Safari is not yet supported).
The application itself  is written in Java with the gwt4air API.

Please guys  help me make this become a  good thing :)

I m looking forward for your inputs

Regards,

Alain



-- 

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.



Re: Adapting GWT to Adobe air

2011-03-26 Thread nino ekambi
Oh  yeah, diggitally signing the application wont help much here, if you are
using forbidden  functions.

If  you are using  Smart GWT, then you ll have to  make your application run
from an IFrame ouside the security sandbox, and acees the AIR API through a
bridge. If you are using EXT-GWT  i implemented an adapter to make it work
inside the security sandbox of AIR. If you are using native GWT widgets ,the
 problem must be  the use of Reqestbuilder. I also provide a solution for
that.

Hope this could help you.
If you  have any question, feel free.

Alain

2011/3/26 lalit 

> We are looking to package our application so that it can be run
> locally using Adobe air. At the moment if we try to run with the adt
> tool of adobe air, it throws security restriction. There are post
> around how to circumvent it but none of them is successful(May be I am
> still missing some things.) some questions I have got:
> - Is anyone able to successfully do that and if there is a tutorial to
> follow.
> - If we digitally sign the application, will the security restrictions
> go away.
>
> 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.
>
>


-- 

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.



Re: Adapting GWT to Adobe air

2011-03-26 Thread nino ekambi
Hi there,
What  is is the error message you are getting ?

I guess you are trying to use  a non allowed function inside  the security
sandbox of AIR. (Are you making any RPC call ? )
Please check  http://code.google.com/p/gwt4air/
I implemented a work around there.

Regards,

Alain ?

2011/3/26 lalit 

> We are looking to package our application so that it can be run
> locally using Adobe air. At the moment if we try to run with the adt
> tool of adobe air, it throws security restriction. There are post
> around how to circumvent it but none of them is successful(May be I am
> still missing some things.) some questions I have got:
> - Is anyone able to successfully do that and if there is a tutorial to
> follow.
> - If we digitally sign the application, will the security restrictions
> go away.
>
> 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.
>
>


-- 

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.