On Jun 18, 7:46 pm, André Moraes wrote:
> History.getToken() isn't deprecated?!
This is the javadoc for History.getToken() in 2.1:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/History.html#getToken()
Gets the current history token. The handler will not recei
Assuming the element is or
HTML html = HTML.wrap(DOM.getElementById("GWTIDSOFELEMENT"));
html.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
System.out.println("CLICK");
}
});
On Jun 17, 9:35 pm, Umesh Gohil wrote:
Hi, from the command line:
start http://somesite.com/MyPage.html
If you want to pass some parameters, you can use the address.
start http://somesite.com/MyPage.html?param1=blah¶m2=boo
Somewhere in the onLoadModule() you will need to check
History.getToken()
and parse it.
Regards
Fran
On Jun 18,
I have some questions related to GWT.create(...);
1. In case there are some generators that can generate a binding which
one is used?
I made some experimets myself to try to understand the precedence,
and so far I think is kind of the last generator defined in the
gwt.xml file the one that ent
Supongo que el problema viene que estarás guardando los documento en
un charset distinto al especificado en la página html.
Puedes probar ese encoding a lo que estes usando, o si estas usando
eclipse prueba de ir a preferencias / general / workspace y cambiar el
encoding
a UTF-8.
On Jun 15, 5:41
Yes, GWT comes with an embedded server, for testing your apps. If you
open the Run Configurations dialog from eclipse it will uncover part
of this magic.
About that error, what are you trying to do? Maybe reloading the web
services (there is a refresh button in the dev mode view), or re-run
the app
er.com/sjivan/entry/ajax_based_login_using_aceci
> > > >http://java.dzone.com/articles/integrating-gwt-spring
>
> > > > I advise you to use a classic HTML form for login, not a GWT based
> > > > login dialog.
>
> > > > On Jun 17, 7:19 am, fmod
Hi, I need to re-implement the classic login page. And I'm a bit lost
with all the alternatives. The communication with the server is with
RPC. Until now the flow I was using was:
- User enters login and pass [client sends them in plain text to the
server]
- Server validates and generate a session
Using the event bus may help there.
http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html
and the two articles
http://code.google.com/webtoolkit/articles/mvp-architecture.html
On Jun 15, 9:14 am, ping2ravi wrote:
> Hi Guys,
> I have just implemented a multipage(basic
I did not try myself, but I think you need conditional css.
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Conditional_CSS
On Jun 15, 11:27 am, Stefan Bachert wrote:
> Hi,
>
> I would like to use ClientBundle and ImageResource.
> But I would like to supply different images
I did not thought on having a feature like that. Can be great if you
can provide some case study for it.
IMHO doing something similar to gin, should not be that difficult. At
least when it comes to provide a "factory" for the intercepted
classes.
What it struggles me a bit more, is how the method
After reading a few posts about AOP and GWT. I decided to give a try
and implement my own AOP framework.
http://code.google.com/p/gwt-tiny-aop
Is still in his early days. But I think is functional enough
(Interception of classes is 90% functional, missing interception of
interfaces).
The code lo
The idea is that you need to teach Tomcat how to instantiate your
Servlets.
You need: guice-2.0.jar, guice-servlet-2.0.jar, aopalliance.jar.
In war/WEB-INF/web.xml:
http://java.sun.com/dtd/web-app_2_3.dtd";>
guiceFilter
com.google.inject.servlet.Guic
> Hey guys, I just found out that the Java Calendar class isn't
> compatible with GWT (Assumed it was since Date was). I'm a Java newb
> and spent a few hours figuring out how to do what I wanted to do with
> the Calendar class, and I'm clueless how to do this with GWT, so any
> help would be appre
Check this project. Is on my list of things to try someday.
http://code.google.com/p/gwt-ent/wiki/AOP
On Jun 8, 8:16 pm, Kevin Qiu wrote:
> I'm thinking about using annotation to mark a method that has certain
> aspects, and then be processed by the deferred binding, adding necessary
> pieces a
Hi, I think that question has been posted before but don't find any
answer for it. I want to have a behavior like this forum, Whenever the
user press back or forward buttons being able to alert the user that
he is going to loose the changes.
The problem come while navigating inside my page. If I h
It may help to try to deploy in a fresh install of Tomcat (downloaded
from apache, the bin distribution) executed with root.
Most Tomcat distributions (specially the one from Debian) are
configured for production mode. It may be really secure, but it's a
nightmare for programmers.
Once you have i
I mainly using GWT 2.0 with UiBinder. Here is how I center a widget
inside a LayoutPanel.
Hope it helps you.
On Jun 6, 4:33 pm, Magnus wrote:
> The link:http://h1403230.stratoserver.net/apache2-default/tmp/gwt-layout.png
--
You received this message becaus
t will take all the space of the container. So you
need to restrict it and center it using CSS. { float: left; align:
center }
Regards
/Fran
>
> Thanks
> Magnus
>
> On Jun 5, 8:22 pm, fmod wrote:
>
>
>
> > If you want to have nested Layout Panels, they need to be
If you want to have nested Layout Panels, they need to be inside the
"Layout" family. Otherwise they will not render well.
So instead of using a SimplePanel, if u expect to attach another
Layout use LayoutPanel.
Note the LayoutPanel middle...
public class TestLayout implements EntryPoint {
Hi, I find your post quite interesting. I'm being stuck with similar
questions for a while. Is amazing how an app can become a big mess in
no time.
There are a few questions / thoughts I've about your design.
> In my opinion, a presenter should NOT attach the corresponding view to
> DOM or a cont
Hi
Use the selection with the mouse? Selection of an image means its getting
> a blue background and being draggable to other windows.
> Can you think of an HTML or GWT solution?
>
> I read that one option was to add an mouseMove event handler and let
> it "return false;". This was a pure JavaScr
You should not use RootPanel in the UiBinder. You need to use any of
the types extending SimplePanel or LayoutPanel.
RootPanel and his equivalent RootLayoutPanel represents the in
the HTML page. At some point in the onModuleLoad() you need to have
RootPanel.get().add(new MyWidget());
Take a look
I'm trying to figure out how to make this parallel composite views /
presenter hierarchies.
And in my opinion it just break the MVP pattern.
One of the goals you pursuit with MVP is to decouple the View object
from the logic
it contains (the presenter). Making the Presenter unaware of how the
view
Seems google is using flash to generate it. Unless you want to
experiment with
Canvas in HTML5 is going to be hard to simulate the same behavior in
javascript.
You can try to play with divs, background image and absolute positions
to place the labels.
But no idea how to make the nice animations. M
Hi, is there a way to change a CSS Property inside a Rule definition
on the fly.
I have defined a rule
.myRule {
height: 22px;
width: 100px;
overflow: hidden
}
I have hundreds of DIV elements with that rule.
I will like to change the width property directly on the rule. Without
iterating a
26 matches
Mail list logo