Hi,
This is a question I've been asking myself several times, here is the use
case:
I've got an action happening in a ChildPresenter, such as a
DeleteElementEvent.
The ParentPresenter would like to register to this type of events so that a
correct
reaction can be triggered.
Now, a possible way t
Hi Trung,
So you do agree that writing a dispatcher can be done.
Whether you use Guice, Spring or reflection to accomplish this
hasn't been done yet.
My real question, is ... is this useful?
As for performance ... well, my gut feel is that it can be
written just as efficiently as all the other dis
Hi, any thoughts about the following would be appreciated. The
following code:
PersistenceManager pm = PMF.get ().getPersistenceManager ();
try
{
Transaction transaction = pm.currentTransaction ();
tra
I have the following code snippets:
VerticalPanel verticalPanel = new VerticalPanel();
Element fieldset = DOM.createFieldSet();
DOM.appendChild(verticalPanel.getElement(), fieldset);
Label label = new Label("Messages");
hi
i've tried to create a sample application which reads a file from the
server, sends it to the client and the client will open a save dialog
modeled after this example that i've found:
http://senin-seblog.blogspot.com/2008/01/serving-files-from-your-gwt-app.html
it works fine in my eclipse env
For future reference
At the time of writing the following are available:
GWT v2.0
and.
SmartGWT v2.0 (http://code.google.com/p/smartgwt/ under Apache
License)
Ext GWT v2.1.0 (http://www.extjs.com/products/gxt/ under weird LGPL
License)
I don't want to discuss Ext GWT's weird license. It's
Downloading a file is just a matter of shipping the bytes to a
servlet's ServletOutputStream. But there are things to watch for:
1) Send the file to an IFRAME or blank window or your application will
be stomped on.
2) IE will insist on opening files it knows how to open, even when you
want to do
Thank you
On Jan 27, 1:34 pm, Thomas Broyer wrote:
> On Jan 27, 2:22 am, dmen wrote:
>
> > How future proof are GWT compilations? For example, if I compile my
> > app today with 2.0:
>
> > 1. How it will react in a couple of years to lets say IE 9, Firefox 4,
> > etc.?
>
> > 2. How it will react
Funny thing, someone just responded to one of my threads on the Ext
GWT forum and reminded me why I gave up on it: the crappy attitude of
the authors (summarized: "it's not a bug, it's supposed to act
broken"), even after I gave them code to fix their product.
http://www.extjs.com/forum/showthread
Hello All,
I have been looking at developing a Windows Sidebar Gadget with GWT
using essentially the same codebase that has been used to develop an
iGoogle gadget, OSX widget, etc.
The problem is that when the gadget is installed in the sidebar, no
real content is displayed -- only a small white
Hello Meletis,
There is a report [1] that tells pretty much the same story, but this
time FF loses the session and Safari works ok.
Couple of things to check:
- Do you have any particular extensions installed in Safari?
- Are the requests launched simultaneously or in sequence?
- Are the request
Hello Christian,
I looked at the code of ArrayList, but couldn't find anything
suspicious. Are you sure your object is at 0? Maybe a null squeezed in
at 0, and your object is somewhere later in the list? On which
browsers does this happen?
On Jan 28, 6:16 pm, Christian Goudreau
wrote:
> Does any
You can use gwt-comet to streaming messages to the browser over long
lived HTTP requests.
http://code.google.com/p/gwt-comet/
On Jan 28, 10:33 am, SergeZ wrote:
> Hi, everybody! Can any body help me with advice about the following
> problem.
>
> I have to write an application which must update
Well, I wasn't 100% sure I needed it, but it was the only part of the
request not being emulated.
Anyway, I used your suggestion of doing it just in HTML, and it seems
to work.
I was logged in anyway.
Still have to work on processing the returned data, and making the
button styled like GWT, but ap
When I try to compile such a class, I get the following error:
Implicit super constructor DevMode() is not visible for default
constructor. Must define an explicit constructor
Basically, DevMode is defined as a singleton (i.e., with a private
constructor) and I'm unable to extend it. How were
Thanks, Miguel.
Any idea when that might become available?
On Dec 21 2009, 11:07 am, Miguel Méndez wrote:
> Placing it higher in the classpath should do the trick. FWIW, we are going
> to make the war directory name configurable and we are also looking at
> updating the launch configurations to
Thanks a lot. it worked in both ways.. one more doubt.. which 1 do you
prefer using JSNI or dom and y?.
--
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 unsubscri
Hi Stevko,
maybe you can help me!
How I can load a menu made with javascript in a ui binder xml file?
In this post you can find my problem:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/10646c40a2bb96fb
Thanks
Best regards
On 27 Gen, 19:31, "kelvin.huang" wrote:
> Than
On Jan 28, 4:05 pm, googelybear wrote:
> Hi,
>
> My problem is very simple (I think):I have a string and would like to
> encode it in utf-8 (so I can send it to a server). Example: "ü"
> becomes "ü"
This is not "utf-8", that's "HTML character reference" or "XML
character reference"
> Someone po
On Jan 28, 4:20 pm, erha wrote:
> I am trying out the UiBinder on GWT 2.0.0.
>
> Has been playing around for one week. And I could say, well done...
> The UI design is now much simpler...
>
> But I have one issue which I cannot resolve so far.
[...]
> public class StackLayoutPanelEx extends Stac
Does anyone had that same problem ? Everything works fine when it comes to
other indexes, but when I do ArrayList.remove(0), the object is still in
here ! But When I try : ArrayList.remove(object), it work again.
Everything was working well prior to GWT 2.0.
--
You received this message because
Hi together,
working on a little Web Project with GWT on the Google App Engine with
JPA and i wondering about the wildcard restriction:
select k from Entity k where k.name like '%O%'
Error: Wildcard must appear at the end of the expression string
is it correct that theres i no way to use a wild
Bump. Any ideas?
On Jan 26, 12:41 pm, Jamie wrote:
> Hi. I have a GWT tree of folders. When a folder i do an RPC call to
> load a list of files on the right side of the screen. If the user
> were to rapidly change folders it queues up the RPC calls and takes a
> very long time to load whateve
You cannot access that directly !
You have to do it server side and then access it from a RPC class !
I don't have any simple exemple for you since I'm using Guice and
Gwt-Dispatch to intercept my server calls, but you can read the doc for any
exemple.
http://code.google.com/intl/fr/webtoolkit/d
I noticed a slightly different problem a couple of days ago when I
upgraded to FF3.6:
I can drag fine a dialog (a specific dialog in my application, haven't
tried the specific code above), but the dialog now appears below (in
the Z direction) an applet on my page. Even with the "shimmer"
solution
Thanks a lot ... If there is always such a solution for a problem :-)
On 28 Jan., 16:19, mariyan nenchev wrote:
> popup.setModal(true);
>
>
>
> On Thu, Jan 28, 2010 at 5:17 PM, ojay wrote:
> > Hi,
>
> > I request a few strings from the user and if the values are not
> > correct format will a pop
Hello!
I have the following problem:
I have created SuggestBox element and filled it`s
MultiWordSuggestOracle. But when I use showSuggestionList(), my
suggestions are displaying in alphabetic order instead of original
order. I want to show suggestions depends on their rating, not in
alphabetic orde
Hi,
If you want to pick up changes to your server code while the development
server is running, you need to deploy your application in exploded-war
format to JBoss.
When you run GWT in -noserver mode, you should point your -war directory
over to your JBoss server's deployment directory - that way
We definitely want to improve the experience of importing sample projects
into Eclipse in an automated fashion - the current process is cumbersome.
On Mon, Jan 25, 2010 at 2:39 AM, Ewald Pankratz wrote:
> Again a strange problem occurred. I copied a functional project in
> eclipse. One had an err
You can easily do this.
You can do the following:
1. Create LogonPage.java class (here you create the Logon Page UI, you
can extends one of the GWT Panel Widget)
2. Create ControlPage.java class (here you again create the UI but for
Control Page, again extends one of the GWT Panel Widget)
3. Crea
All right - I've further narrowed the problem down:
A .jar file can refer to other jars in it's manifest using the Class-
Path setting, gf-client.jar does just this.
I've now created a simple test case:
http://satansoft.de/jnditest/echo.zip (~5kb)
if you run ant in builds two jars: echo.jar cont
On Jan 27, 4:15 pm, Jaswanth wrote:
> hi guys. I'm a newbie so please bear with me. i'm using gwt2.0.0 and
> eclipse .. I want to add a new div in my html page . i tried JSNI
>
> public static native void testing() /*-{
> var newDiv = document.createElement("div");
> newDiv.i
I am trying out the UiBinder on GWT 2.0.0.
Has been playing around for one week. And I could say, well done...
The UI design is now much simpler...
But I have one issue which I cannot resolve so far.
Well, as I so far cannot get notification when the User change the
stack on StackLayoutPanel wid
popup.setModal(true);
On Thu, Jan 28, 2010 at 5:17 PM, ojay wrote:
> Hi,
>
> I request a few strings from the user and if the values are not
> correct format will a popup occur and show what is wrong. But as I
> recognized now it is possible to press other buttons on the page
> although the popu
I've been playing around with code splitting and everything is setup
fairly well (or at least I think so), but as far as I can tell it
appears to be very subtlety misbehaving. My first test was to
implement an advanced control panel with several large icons and lots
of html, css and special new wid
Reply to myself :
> What the good way here ? rename addCloseHandler(TreeItem) to some
> other name and forget about HasCloseEvent ?
That can't be done, as it is used with a class that expects a
HasCloseHandlers.
Now, that gets messy.
--
You received this message because you are subscribed to th
Hi,
I request a few strings from the user and if the values are not
correct format will a popup occur and show what is wrong. But as I
recognized now it is possible to press other buttons on the page
although the popup ist still open.
How can I deactive everything except the popup???
Thanks
--
I have the Google Eclipse plugin installed to assist in writing the
Async versions of my RPC services, but I tend to hand-write the
interfaces most often. I rely on the plugin really just to validate
that I've written the right thing and alert me of errors otherwise.
If you're using gwt-maven-plug
On Jan 28, 12:32 pm, darkflame wrote:
> I'm trying to emulate a forms exact behavour in GWT.
> According to firebug, the form gives of the following parameters and
> values;
>
> action = verify
> openid_submit = Login
> openid_url =https://www.google.com/accounts/o8/id (that one
Hi,
My problem is very simple (I think):I have a string and would like to
encode it in utf-8 (so I can send it to a server). Example: "ü"
becomes "ü"
Someone pointed out to use com.google.gwt.http.client.URL.encode
(myString) but this will not yield the correct result (e.g. "ü"
becomes %C3%BC whic
Thank you for your reply, Marcus.
It is only tested on Apache Tomcat 6. Are there any other servlet
containers to test with?
On 28 Ιαν, 03:24, Marcus Vinícius Bastos de Andrade
wrote:
> Which application server/servlet container have you tested your application
> ?
> Try test your application w
Hi,
I'm migrating a library from gwt 1.5.2 to 2.0.
I had a class extending PopupPanel that implemented SourcesTreeEvents
(well, don't care about the reasons).
Now that I must convert that to the new interfaces, I try to od it in
the most straightforward way.
But that would be replacing SourcesTre
Just checked this out.. it still has I guess the one "sort-of" problem.
If you have a complex client side object.. that you have to marshall into
JSON.. it is a pain point.
But hey, that is what coding is about :)
The reason I use a JavaScriptObject (btw, for me, it is a very large tree
struct
This class doesn't support define locale.
You can make a RPC call to server and use java.text.SimpleDateFormat :/
best regards
On Wed, Jan 27, 2010 at 11:05 AM, mariyan nenchev wrote:
> Hi,
> How to specify locale when formating date?
>
> --
> You received this message because you are subscrib
Which application server/servlet container have you tested your application
?
Try test your application with Safari browser in another application server
nor servlet container.
There's any bug registered for this case ?
On Wed, Jan 27, 2010 at 11:45 AM, Meletis wrote:
> Hello there!
>
> I have
Dear Abdallah,
if your server side is java, for sure will be Servlet. why you don't try to
used Asynchronous HTTP Requests technique instead of JSON or XML. I guess
the below link helpful for you :)
http://www.gwtapps.com/doc/html/com.google.gwt.http.client.html
I hope that helpful for you .
B
Have the same problem here...
But it happen suddenly, I believe there is a problem with the eclipse
plug in.
What I did to solve this problem is to copy the old ".metadata" folder
in the eclipse workspace folder.
And viola..., everything is working again...
Hope this info help.
--
You received
Check your project settings for exactly java compiler and target version.
Keep your JAVA_HOME environment variable updated too.
Clean and build your project after these modifications.
best regards
On Wed, Jan 27, 2010 at 1:42 PM, skippy wrote:
> I am trying to run the contacts example found in
I'm new to GWT app and I need help with file download
My file upload is so
clint
//---upload--
final FormPanel form = new FormPanel();
form.setAction(UPLOAD_ACTION_URL);
// Because we're going to add a FileUpload widget, we'll need to set
the
// form to use
Hi 2 anyone!
I have just started with GWT, bought and read the GWT Java AJAX
Programming book and tried to create my first application. However I'm
experiencing a tremendous issue:
trying to execute the "Hello" example using the hosted browser I get
an empty window and nothing is happening.
I'm
Hey all new here. I'm just getting to know the framework after a long
relationship with Dojo. I have some background and Java, but not much.
For my first mini project I've made a google calendar clone. Very fun!
Currently I am playing around code splitting. I had a looksy at the
proforma implement
Did you have any luck with this?
Thanks
Guido
On Jan 19, 1:29 pm, rmmcgr wrote:
> Hi,
>
> What's the correct method of codinglistboxitemswith UIbinder in the
> xml file? That is, what goes between the and
> tags?
>
> Thanks for any help,
> Richard
--
You received this message because you a
Hello,
I am new to GWT. I have done sample exmaple in GWT fro a single page.
But, i would like to implement one sample application/example with two
pages.
one is first.jsp and second is second.jsp.
In first.jsp:
:: onModuleLoad() this method is loading when i run first.jsp
but,
in second.jsp
::
Try to move the JAR to war/WEB-INF/lib folder, then update your classpath
reference.
On Wed, Jan 27, 2010 at 9:27 PM, ddyer wrote:
>
> Can someone explain why this occurs? I"m trying to connect a JDBC
> driver
> to the server end of a test application. The JDBC driver is in the
> classpath.
>
Hi all, from the current version IMHO there are 2 issues.
1- layout issue (as you mention) src/main/webapp or equivalent must be input
only.
2- classloader issues when using spring namespace handlers with DevMode.
A working workaround is to work with WTP (without jetty server) and let WTP
deploy
Ooo.. will definitely check this out.
I'd gone to using semi-generic JavaScriptObjects on the client side, and
"closely" matching server side objects.. and then had Spring 3.0 w/ Jackson
handle the server side marshalling in 2 directions.
Thanks Johan
Roger
On Jan 28, 2010, at 4:53 AM, Johan
you i need something like:
- loginpage >> control page > open a showupRoom (tab or new window for
the fullscreen monitor or beamer)
- crontrol page: set what have to be shown on the showupPage.
- showupRoom: show whatever is have been set in the control page.
And that should be possible for ever
you should look at this
http://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html
you'll have to addto you html pages
or if u don't like that ... you could "build" you formater by hand ...
for example DateTimeFormat.getFormat("dd/MM/ HH:mm:ss")
an have the stored in a util class
hop
Thank you again Thomas, that makes sense now :-) Peter
On 27 led, 12:18, Thomas Broyer wrote:
> On Jan 27, 9:12 am, Peter Ondruska wrote:
>
> > Thanks Thomas, for me it was not
> > obvious:http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...()
>
> > "Returns: the result html
On 28 Gen, 12:30, "tim.lebed...@googlemail.com"
wrote:
> just a small note:
>
> nbproject/build-gwt.xml is recreated each time you open the project.
> Fortunately support for additional GWT compiler arguments was added
> recently. You can download a newer version
> here:https://gwt4nb.dev.java.
Hi Henry,
You can implement it using child injector:
Below code is from http://stuffthathappens.com/blog/2009/09/14/guice-with-gwt/
with modifications
@Singleton
public class GuiceRemoteServiceServlet extends RemoteServiceServlet {
...
@SuppressWarnings({"unchecked"})
private RemoteService
Do you really need multiple webpages though?
Can't you have it all on the same webpage, but using a deck panel;
http://examples.roughian.com/index.htm#Panels~DeckPanel
Each page of the deckpanel can have your different screens on it, then
you can flick between them fairly easily.
On Jan 27, 5:59
I've put up a new version which allows one to use the mouse to draw as
many boxes as desired:
http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/
http://edgeofvision.com/tag/gwt-phys2d/
http://gwt-phys2d.appspot.com/
It definitely slows down quite a bit wh
I dont think theres any neat way, but I -think- the two options you
have are;
a) Place some code in the loading page that will communicate back to
the parent when done. (I had to use this recently)
b) Work out some element in the child that will load last, or will
have a certain property after the
No, I dont think it is.
Unless the 2.0 release added that ability, as I havnt looked fully
into the new resource handling.
Previously it definitely was only a compile-time operation though.
On Jan 27, 7:21 am, Rafael wrote:
> Hi, I have a question about the ImageBundle class. From what Ive read,
I'm trying to emulate a forms exact behavour in GWT.
According to firebug, the form gives of the following parameters and
values;
action =verify
openid_submit= Login
openid_url = https://www.google.com/accounts/o8/id (that one varies,
obviously)
openid_username =
submit = 1
Ho
just a small note:
nbproject/build-gwt.xml is recreated each time you open the project.
Fortunately support for additional GWT compiler arguments was added
recently. You can download a newer version here:
https://gwt4nb.dev.java.net/servlets/ProjectDocumentList?folderID=7081&expandFolder=7081&fold
The driver (jar file) should be in the webservers lib directory.
On 28 jan, 01:27, ddyer wrote:
> Can someone explain why this occurs? I"m trying to connect a JDBC
> driver
> to the server end of a test application. The JDBC driver is in the
> classpath.
>
> The server is running athttp://loc
Ehehehe... that's exactly what I'm trying to achieve :) Thanks for the
pointer, I'll do my best to get something out of it
-- Mirco
On Thu, Jan 28, 2010 at 12:03 PM, Joe Cole wrote:
> I've never tried to do anything with the window object, so it might
> not work... but I use this to detect if po
Hi Abdullah, thanks for your opinion, really appreciate it!
Your suggestions are good but for what I'm doing I really need to open a new
page and I would like to avoid to have the History manager handling it...
mostly because I don't want the user to save the page and come back at a
later time.
T
I've never tried to do anything with the window object, so it might
not work... but I use this to detect if popups aren't working:
public static native boolean open(String url, String name, String
features) /*-{
var newWindow = $wnd.open(url, name, features);
if( ne
I don't know if you really need to open a new window, but if not then you
can easily use a PopupPanel or DialogBox.
If you want new window then I think you need to pass url which should just
display the widget you want based on the parameter passed in the url.
For eg. http://yoursite/yourapp/#wid
I am using Grails and GWT and after switchting to OOPHM with GWT 2.0,
I realized that I cannot get rid of the "SerializationPolicy file not
found" problem when modifying a DTO or adding a method to my RPC-
interfaces.
DTO before:
class Customer{
String id;
}
DTO after:
class Customer {
Hey Johan, thanks for the link, I will check it out.
On Thu, Jan 28, 2010 at 3:23 PM, Johan Rydberg wrote:
> Have you guys checked the http://github.com/chirino/resty-gwt project? It
> has a generator
> that does pretty much all the "awful" things Roger talks about.
>
>
> On 1/28/10 9:14 AM, Abd
Hi folks,
I'm wondering if there exist a way to stick a widget into a new page.
What I'd like to do would be some sort of Window.open(myWidget, "_blank",
"width=650,height=700")
But this can't be done because the interface of the Window.open method
expects an URL and not a widget.
Is there any
Problem:
The native DialogBox component in GWT 1.4.60 is broken in Firefox 3.6.
It works in FF 3.5.x and all other major browsers.
Behavior:
You will not be able to drag the dialogbox in Firefox 3.6
Test Code:
public class MyApplication implements EntryPoint {
public MyApplication() {
Have you guys checked the http://github.com/chirino/resty-gwt project?
It has a generator
that does pretty much all the "awful" things Roger talks about.
On 1/28/10 9:14 AM, Abdullah Shaikh wrote:
Hi Roger,
Then the only option left is xml, of course if we are not going
GWT-RPC way.
So wha
Actually I asked jarrod.
2010/1/28 Henry
> I use the Eclipse-plugin to help me write the async,
> but that's got nothing to with my proposed dispatcher ... unless
> there's something you forgot to mention
>
> Cheers,
> Henry
>
> On Jan 27, 6:31 am, Alexander wrote:
> > You write async version o
To solve the problem, we have to cange the config for the maven-war-
plugin and now works fine.
On 18 Jan., 10:52, olivier nouguier
wrote:
> How to you run your server ? WTP Launch ?
>
>
>
> On Mon, Jan 18, 2010 at 10:45 AM, Alexander wrote:
> > I meant there is no need to use them in production
Hi Roger,
Then the only option left is xml, of course if we are not going GWT-RPC way.
So what do you think will be better JSON or XML ?
I have created a GWT application, the communication with server part is
pending, the server side is java but its an already existing application, so
I need to
Hi All,
Did someone manage to correctly run EclEmma code coverage with GWT
2.0?
I tried it many times with Eclipse 3.5, with both EclEmma 1.3.2 and
1.4.3, both updated (with emma.jar published on the GWT site) and not,
the results are always the same:
The console says something like
[WARN]
com.c
81 matches
Mail list logo