:
Do you have javax.persistence.Id in your gwtc classpath?
--Sri
On 9 May 2010 11:37, Dalla dalla_man...@hotmail.com wrote:
But I can´t get this to work.
If I put an @Id annotation in my GWT-class, the compiler tells me
[INFO] [ERROR] Line 6: The import javax.persistence
Hi all
I´m trying to understand how to use Objectify with GWT.
In the features list you can read
Objectify entities can be used in GWT without the need for Data
Transfer Objects.
Sounds really good, problem is I don´t understand how.
It seems like Objectify needs the @Id annotation to persist
Thanks, works like a charm :-)
On 27 Feb, 17:57, kozura koz...@gmail.com wrote:
Throw a float:left style on all the labels and they'll flow left to
right, this lets you sortof replace Horizontal and Vertical panels
with this div-based approach.
Hi all
I´m having an issue using FlowPanel inside the center element of a
DockLayoutPanel when using UiBinder.
I expected the widgets to flow from left to right, but instead they
flow from top to bottom.
That is, given the following UiBinder code:
g:center
g:FlowPanel
Hi all
I´m currently testing EasyMock for my GWT non widget unit tests.
Was wondering if there are any good approaches to testing async
methods?
Found
http://googletesting.blogspot.com/2009/08/tott-testing-gwt-without-gwttest.html,
but that´s about 6 months old. Is this still the best way to go?
Would it be good practice to handle an event in both the controller
aswell as in a presenter?
For example, let´s say that I want to respond to an event when a row
in a table is clicked.
I want to add a history token, aswell as update a second table based
on what row was clicked in the first
Mmm yeah I guess you´re right. I´m probably trying a little to hard to
mimic the Contacts example...
On 31 Jan, 04:04, Thomas Broyer t.bro...@gmail.com wrote:
On Jan 30, 11:22 pm, Dalla dalla_man...@hotmail.com wrote:
Would it be good practice to handle an event in both the controller
and Gamestats are child widgets here, they are injected into
their presenters as usual.
MainPresenter is the presenter responsible for the parent view,
MainPanel.
Beside this, I pretty much used code similar to the one suggested by
jarrod above.
On 26 Jan, 16:46, Dalla dalla_man...@hotmail.com
To clarify what I´m looking for, let´s assume that I´m working with
Googles MVP Contacts example.
Instead of having EditContactView and ContactsView as completly
separate views, I want to add them to a DockLayoutPanel,
showing both views at the same time.
Let´s assume that I want to put the
And what would you do, if the AppController does not contain both the
presenter and the view (which should be the case IMHO).
How would that code look?
On 25 Jan, 18:35, jarrod jarrod.carl...@gmail.com wrote:
The constructors in the last post should have been as follows:
public
active?
Regards
Dalla
--
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
+1
On 29 Dec, 23:42, fvisticot fvisti...@gmail.com wrote:
+1
On 29 déc, 20:51, Yaakov yaakov.chai...@gmail.com wrote:
Yes, +1 here! Great article, but please post the source code.
Thanks,
Yaakov.
On Dec 29, 1:00 pm, jpnet jprichard...@gmail.com wrote:
I really like this
-web-tool...@googlegroups.com] På vegne av Dalla
Envoyé le: 29. desember 2009 12:32
Til: Google Web Toolkit
Emne: XML à la bibliothèque de POJO, des idées?
Salut tous!
Ce n'est pas vraiment un pur GWT question ... mais ...
J'ai utilisé la bibliothèque Xstream avant de convertir XML à
Don´t know if it´s been there for some time now, but I noticed that a
section named MVP Architecture has been added to the GWT Tutorial
section.
It looks a lot like the best practice example that Ray Ryan used in
hos GWT Best practice session on Google I/O 2009.
It there any chance of the
One what line do you get this error?
On 6 Dec, 14:34, lemaiol lema...@gmail.com wrote:
Hi guys,
I have started trying the new features in GWT 2.0 (awesome ones,
congrats! :) but I found some behavior that I cannot completely
understand. I want to extend the DockLayoutPanel API in a class of
Hi all
I´m just now getting started with using GWT and GAE.
Curious about best practices when it comes to JDOs, and how to handle
them client side.
Let´s say I want to store a String and a User object that would be
picked up from the UserService.
Since the GWT compiler doesn´t emulate
This error message usually means that you have imported a non emulated
class in your client package.
Make sure that you are only using RemoteServiceServlet (and extentions
thereof) in the server sub package.
Client side you should use RemoteService.
On 6 Dec, 23:29, Joseph
-web-toolkit-incubator/wiki/PathsHandlingFAQ
And what parts of the JRE the GWT compilier emulates here:
http://code.google.com/intl/sv-SE/webtoolkit/doc/1.6/RefJreEmulation.html
On 7 Dec, 07:00, Dalla dalla_man...@hotmail.com wrote:
This error message usually means that you have imported a non
Think I´ll probably just go with DTOs then, using a third party lib
for this seems a bit overkill if you ask me :-)
On 6 Dec, 13:51, Jonas Huckestein jonas.huckest...@me.com wrote:
Hi Dalla,
in our team we create an interface for each model object which the JDO
objects and client objects
It´s pretty much a one man team (me), so maybe I won´t benefit very
much from using the UiBinder then...
On 1 Dec, 09:48, mariyan nenchev nenchev.mari...@gmail.com wrote:
Yes, it has nothing to do with MVP. If your team is small and none of them
are designers i don't see a reason to use
Lots of good thoughts. Cleaning up the code inside the view sounds
really nice,
so I guess I´ll be sticking with UiBinder after all :-)
Does anyone know any good resources for testing examples using GWT?
I would be interested in examples using plain JUnit aswell as
GWTTestCase.
On 1 Dec, 17:12,
I´ve been working on some small projects using GWT 1.6.4 and 1.7.1.
I know alot of people tried their best to pick up on Ray Ryans GWT
Best practice from Google IO 2009,
where using MVP was one of the main guidelines.
I recently started looking at GWT RC1 and the new UiBinder.
Using the UiBinder
OK, so if I understand you correctly, you´re not using the @UiHandler
annotation at all?
Sounds like a good approach which won´t affect the MVP pattern as we
know it at all.
On 30 Nov, 23:31, Thomas Broyer t.bro...@gmail.com wrote:
On 30 nov, 22:39, Dalla dalla_man...@hotmail.com wrote:
I´ve
I guess you could do it with maven somehow, but I´m not that good with
maven,
and tbh I have been asking myself this exact same question. Let´s hope
someone can help :-)
On 19 Nov, 17:47, iaio81 stefano.taurie...@gmail.com wrote:
Hi all,
Iìve deployed GWT as WAR in JBOSS and EJBS as jars, I
I´m having issues getting the Plugin version 1.2 RC1 to work correctly
in Eclipse.
I followed the instructions found here:
http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC
I´m using Eclipse Galileo 3.5 and downloaded the following archive:
I´m having issues getting the Plugin version 1.2 RC1 to work correctly
in Eclipse.
I followed the instructions found here:
http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC
I´m using Eclipse Galileo 3.5 and downloaded the following archive:
1. Yep, several times now :)
2. No, no parent Google folder
3. Might explain it, tons of errors refering to invalid menu
extensions and the likes for GWT, see attachment
On 17 Nov, 22:58, Chris Ramsdale cramsd...@google.com wrote:
Dalla,
Couple of investigative questions:
1. Did you
23:11:13.187
!MESSAGE Plug-in 'com.google.gwt.eclipse.core' contributed an invalid
Menu Extension (Path: 'com.google.gdt.eclipse.suite.popupMenu.project'
is invalid):
com.google.gwt.eclipse.core.actions.GWTCompilePojectAction
On 17 Nov, 23:16, Dalla dalla_man...@hotmail.com wrote:
1. Yep, several
PM, Dalla dalla_man...@hotmail.comwrote:
I´m having issues getting the Plugin version 1.2 RC1 to work correctly
in Eclipse.
However only selecting New from the file menu there´s a Google Web
Toolkit directory containing options to create ClientBundle and
UiBinder among other things
So
You cheated ;-)
In the tutorial, you create two separate properties files;
StockWatcherConstants_de.properties and
StockWatcherMessages_de.properties
But you have only created StockWatcherConstants_de.properties,
and in there you put both your static and generalized strings.
Try creating a
I´m not sure you can solve this particular problem the way DaveS
suggested, not without modifying the class anyway.
Even if you created a separate .jar and referenced that from your
client project, the GWT compiler wouldn´t understand the annotations.
My problem was similar to yours, and would
I guess it depends on what your server side object looks like.
I´ve been using a mapping framework called Dozer in a couple of
projects where
I needed to use EJB-classes on the client side. What you do in that
case is basically create a
POJO that is a mirror of your EJB, but without all the
Do like Ian suggested and you should be fine.
The dialog.center(); both centers the dialogbox and shows it, if it´s
not showing already,
On 1 Nov, 20:07, tedpottel tedpot...@gmail.com wrote:
Hi,
I'm trying to have a dialog box that would pop up when a edit button
is press. When my dialog box
Wouldn´t you need to flush/close the stream aswell?
On 24 Okt, 03:52, hou0175 kajita...@gmail.com wrote:
Hello experts,
I'm trying to create a page where I can display images stored in a
database.
I've writen the server code as follows.
public void doGet(HttpServletRequest request,
RichTextArea extends FocusWidget, which has a number of handlers for
keyboard events.
This snippet will let you catch a paste, assuming that the users paste
using CTRL+V
RichTextArea area = new RichTextArea();
area.addKeyDownHandler(new KeyDownHandler() {
I´m not sure I completly understand your question, but this I know:
You cannot use an EJB with annotations on the GWT client side,
since GWT does not emulate javax.persistence.*
To reuse existing EJBs, you´ll have to map them to a POJO DTO and then
transfer it to the client side.
A mapping
- it seems it does not
guarantee writing less config files? is it a security issue that we do not
to put DTOs in client side in dozer project?
Thanks,
Tolga
On Wed, Sep 2, 2009 at 4:54 PM, Dalla dalla_man...@hotmail.com wrote:
Yes, exactly.
This is pretty much it:
DozerBeanMapper
Correct, not on the client side anyway.
GWT does not emulate javax.persistence.*, importing that package on
the client side would cause errors when compiling.
However you COULD use EJB3, if you keep the mappings in a separate
file. But´s that´s not very flexible.
I use EJB3 myself on the server
and by using
dozer.. you automatically translate them and use in client side, right?
On Wed, Sep 2, 2009 at 3:03 PM, Dalla dalla_man...@hotmail.com wrote:
Correct, not on the client side anyway.
GWT does not emulate javax.persistence.*, importing that package on
the client side would cause
Hi all
So we´ve all learnt that MVP is *for the win* when working with GWT,
since we can easily switch our GUI widgets to mock widgets, enabling
us to use
regular jUnit tests for our code.
But how do you handle the async calls made to a server when testing?
Can we use jUnit at all?
Kimmeringer j...@kimmeringer.de wrote:
Dalla schrieb:
So we´ve all learnt that MVP is *for the win* when working with GWT,
since we can easily switch our GUI widgets to mock widgets, enabling
us to use
regular jUnit tests for our code.
But how do you handle the async calls made
course amount.
Any condition evaluates itself in a course context, and you can implement
the apply() method as a Visitor. The EvaluationResult can be a new price or
saving.
Regards.
--
From: Dalla dalla_man...@hotmail.com
Sent: Monday, August
Hi all
This is probably a pretty basic OO question, but here goes:
I have a simple Course class, containing a course ID, course name,
course price etc.
I´m looking for a good way to implement different types of special
offers on these courses,
like buy five courses, get 10% off or from
How do you install it to the IDE ?
Sounds like a nice idea :-)
On 22 Aug, 08:03, George Georgovassilis g.georgovassi...@gmail.com
wrote:
Sure, it's gwt-module.dtd in the root directory when you unzip the
installation archive.
On Aug 21, 10:54 pm, Eric erjab...@gmail.com wrote:
Is there
(right?)
On Aug 21, 2:43 pm, Dalla dalla_man...@hotmail.com wrote:
Google App Engine is Googles cloud platform, which allows you to use
Googles existing infrustructure for your own projects.
You don´t need to use it at all if you don´t want to.
Read more athttp://code.google.com/intl/sv-SE
You have to put this code in the *.server sub-package of your
project.
The GWT complier has got nothing to do with the server side code.
On 23 Aug, 04:39, Robert Lang rmlan...@gmail.com wrote:
Hello,
I need to write a file on server's disk, but FileOutputStream, FileWriter,
etc, but isn't
Google App Engine is Googles cloud platform, which allows you to use
Googles existing infrustructure for your own projects.
You don´t need to use it at all if you don´t want to.
Read more at
http://code.google.com/intl/sv-SE/appengine/
On 21 Aug, 19:14, GTM gigakabuteri...@gmail.com wrote:
I
I think maybe Ian had other ideas than what I suggested above.
Implementering the HasInternationalContactDetails on the
ContactDetails model,
and then returning it from the ContactDetailsInterface would somehow
make the
widget aware of the model... Which I think would break the MVP
pattern...?
I´m still not sure I´m following :-/
Could you please post a short example?
On 20 Aug, 13:15, Ian Bambury ianbamb...@gmail.com wrote:
The widget isn't aware of the model, it's just a widget for user input.
Ian
http://examples.roughian.com
2009/8/20 Dalla dalla_man...@hotmail.com
I
I recall getting this error aswell.
The exception Caused by:
java.lang.ClassNotFoundException:com.google.gwt.core.client.GWTBridge
is thrown if you try to invoke
GWTMockUtilities.disarm();
GWTMockUtilities.restore();
without having gwt-dev.jar in your classpath.
On 19 Aug, 17:52, Davis Ford
I remember testing this approach when playing around with the GWT Maps
API,
(the GWT specific API for Google Maps), and it didn´t work very well.
It seems like you run into trouble when testing complex Widgets that
make calls to other widgets.
I was using Jmock, not EasyMock, but it should be
I think I can see where you´re getting at, but I´m a bit confused here
so I need to ask a couple of more questions :-)
Let´s say we return an interface as in your example, our interface
would then look something like
interface ContactDetailsInterface {
HasInternationalContactDetails
Hi all
A design question for everyone using MVP for their GWT
implementations :-)
I have a simple interface like so:
interface ArrivalWidgetInterface {
HasText getSlotText();
}
Let´s say that I want to set the SlotText in my widget implementing
Hi all
A design question for everyone using MVP for their GWT
implementations :-)
I have a simple interface like so:
interface ArrivalWidgetInterface {
HasText getSlotText();
}
Let´s say that I want to set the SlotText in my widget implementing
wrote:
How about
void setEnabled(boolean enabled);
It's really up to the view how it indicates whether something is disabled or
not. Different views for the same interface might do different things.
Ian
http://examples.roughian.com
2009/8/18 Dalla dalla_man...@hotmail.com
Hi all
Hi all
I have a click handler method like this in my presenter
widget.getTable().addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
FlexTable table = (FlexTable) event.getSource();
Cell cell =
Help pl :-)
On 21 Juli, 19:17, Dalla dalla_man...@hotmail.com wrote:
Hi all
I´m trying my best to implement the MVP pattern to be able to create
fast unit tests,
using JUnit4 only instead of using GWTTestCase.
I´ve trying to create a simple application using the GWTGoogleMaps
API
of writing tests here without using
GWTTestCase?
Are there any better ways of implementing my own interface that doesn
´t involve exposing
the entire MapWidget?
Would Selenium (which I have never used) be a better idea?
--Dalla
http://date-time.appspot.com
);
}
else {
button.setEnabled(false);
}
}
});
--Dalla
http://date-time.appspot.com/
On 20 Juli, 18:48, Sean slough...@gmail.com wrote:
You can put on a keyboard listener, and before you enable the Save
button, make sure
You could do this using a file upload to the server,
do the excel work on the server side and then serialize the data and
send it back
to the client, displaying it in any way you want using GWT.
--Dalla
http://date-time.appspot.com/
On 17 Juli, 03:19, sly sly.wicker...@gmail.com wrote:
So
Hi!
I have trouble getting my root panel centered in the host page.
I´ve looked at the posts here and tried things like
CSS
body {
margin: 0 auto 0 auto;
padding: 0;
width: 792px;
}
But my page is still not centered vertically, only horizontally.
Posting my onModuleLoad() below
public
class inside the client package or a sub package of client?
--Dalla
http://date-time.appspot.com/
On 17 Juli, 09:50, lumo lumo2...@gmail.com wrote:
right click on the project - properties - google - web toolkit
yes, there i selected use google web toolkit with specific sdk gwt 1.7.0
Hi Lumo,
Are you doing this on the server side?
You cannot use any Maps API functions or types on the server side,
they are client side only.
--Dalla
http://date-time.appspot.com/
On 15 Juli, 10:25, lumo lumo2...@gmail.com wrote:
Hi NG!
i wrote a class where i create a new marker and want
Can you please post the entire funcion so we can have a look at it?
--Dalla
http://date-time.appspot.com/
On 16 Juli, 08:18, lumo lumo2...@gmail.com wrote:
no, i do not have any code running on the server.
all i got is a google map and some javascripts in the browser (all written
in google
I haven´t used PagingScrollTable myself, but I used ScrollTable which
is also avalible in incubator.
Have a look at that one
--Dalla
http://date-time.appspot.com/
On 14 Juli, 15:22, DAVID PACHECO dpachec...@gmail.com wrote:
I need sort PagingScrollTable , who can help me?
The version
I really think we would need to see some code to figure out what´s
going on here
--Dalla
http://date-time.appspot.com/
On 14 Juli, 14:36, mugathur mugat...@gmail.com wrote:
I'm experiencing a strange set of behaviors and was wondering if
anyone had any ideas. I'm using the datastore to write
on the server side
--Dalla
http://date-time.appspot.com/
On 13 Juli, 11:12, jlc488 jlc...@gmail.com wrote:
Hi,
I am a newbie here. Please understand if my question is stupid.
Ok, I am thingking about implementing simple test code like GWT + S3.
I use GWT 1.6.4 and to work with S3, I use
someone can help me out :-)
--Dalla
http://date-time.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
someone can help me out :-)
--Dalla
http://date-time.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
folder on compile.
You can read more about the public directory here:
http://code.google.com/intl/sv-SE/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideModules
--Dalla
http://date-time.appspot.com/
On 15 Juli, 09:06, Marko Vuksanovic markovuksano...@gmail.com wrote:
Aren't
based on Ray's presentation. It's here:
http://code.google.com/p/gwt-presenter
Would also love to hear if you have any suggestions for improvements.
David
On Jul 15, 11:29 pm, Dalla dalla_man...@hotmail.com wrote:
Hi all!
Looking at the Google I/O 2009 best practices, we learn
I can also recommend you looking at Chris Musings blog entry on event
handling, very good examples there that got med started:
http://www.itsolut.com/chrismusings/2009/04/28/business-events-with-gwt-16/
--Dalla
http://date-time.appspot.com
it would be a good idea for other reasons.
I would start with GWT if I was you, but like I said, I was a java
developer before,
and also you´re asking your question on a GWT forum, so what´s to
expect? :-)
--Dalla
http://date-time.appspot.com/
On 14 Juli, 13:20, pappfer papp...@gmail.com wrote
Happy to help :-)
--Dalla
http://date-time.appspot.com/
On 13 Juli, 16:19, tedpottel tedpot...@gmail.com wrote:
Thank you, it runs now!
On Jul 12, 9:00 am, tedpottel tedpot...@gmail.com wrote:
I am trying to send a http request to my webserver using GWT. I keep
on getting a error
Can you please post the code you´re using to create the PopUp panel?
--Dalla
http://date-time.appspot.com/
On 12 Juli, 18:48, 任胜韦 slayersxi...@gmail.com wrote:
I create a simple PopupPanel and let it show().But it's awalys under the
element(such as a label ,a html,etc) already on the page.I
something creative here
}
}
});
--Dalla
http://date-time.appspot.com/
On 12 Juli, 14:31, stymie jamesty...@gmail.com wrote:
I am used to 1.5 way of handling events.I am trying to figure out what
button sent the event.
In 1.5 it was something along the lines of widget/sender
I haven´t been working with GWT 1.5 myself, only 1.6.
But it sounds like you should take a look at the HandlerManager
class.
Obviously it managers handler (previously listeners), and it also has
methods like
manager.addHandler(type, handler)
manager.fireEvent(event)
--Dalla
http://date
Hi
I´m wondering if someone has a tip or two to give about SEO when it
comes to GWT apps.
I have a very basic site at http://date-time.appspot.com/ which has
not even been indexed.
Considering it´s a very simple site I wouldn´t expect it to be very
high on the rankings, but I
should be able to
You say that you have a class named HPanel,
yet your error seems to reference a class named VPanel1.
Are you sure you added a HPanel to the Root?
On 7 Juli, 07:15, BhaveshShah dakbhav...@gmail.com wrote:
Hi all,
I have created one class HPanel extends HorizontalPanel
now if I try to add
You would have to do it either like you suggested; create two separate
classes,
one persistence class, and then one DTO class.
Or you could create just a POJO and keep the persistence info in a
separate mapping file.
From what I understand, most tend to go with the first option.
On 28 Juni,
Hi all
This is probably not that difficult, but I´d like to hear how you
would solve this problem.
Let´s say I have a widget that extends composite, using a Decorator
Panel as a base panel.
This is my base panel where I´ll create a controller and some models.
In the decorator panel I put
Thanks alot for all your answers :-)
Will have a good read here when I have the time to check all the links
etc.
I actually watched Ray Ryans presentation from Google IO 2009,
and the MVP pattern looks very similar to the MVC pattern that Struts
2 claims to implement:
A controller between the
Check the gwt incubator, there´s a scrolltable example here.
Don´t be fooled by the name, it includes sorting too!
ScrollTable demo here:
http://collectionofdemos.appspot.com/demo/index.html
Source here:
Hi Ed,
Are you building you´re project from a Google Web Application Project?
If this is the case, check your .css in the \war folder. There is a
setting in there which affects the Dialog Box width if I recall
correctly.
On 15 Juni, 05:30, Ed edgam...@gmail.com wrote:
Hi,
After upgrading to
Hi all!
I´ve been working pretty much with MVC in Struts 2, but it´s a pretty
different story using MVC, so I have a question.
From what I´ve read, It´s pretty much:
On user input, View calls Controller.
Controller updates Model.
Model fires event, which is observed by the View. View updates
I thinkt I´m getting the hang of things now, using your examples and
the ones from the link I posted
On 12 Juni, 09:39, mnenchev nenchev.mari...@gmail.com wrote:
Well what exactly you want to do?
Dalla wrote:
Could you please post some examples will?
Or maybe send me some code
On
http://code.google.com/intl/sv/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html
we can read the following about static content, specifically in the
example an image called logo.gif
An image file available to the application code. You might load this
file programmatically using this URL:
Oh... guess you just create a folder rather than a package for the
resources...
On 11 Juni, 11:23, Dalla dalla_man...@hotmail.com wrote:
So if I get you right, I should have
com/example/app/arrivaljournal/client, Sub-package containing all the
client-side source code.
com/example/app
No clues anyone?
On 10 Juni, 14:40, Dalla dalla_man...@hotmail.com wrote:
Hi
I´m having trouble understanding how to implement an event handler for
my custom objects with the new event handler system. Let´s pretend I
have a very simple model class like this one:
public class ArrivalData
didn't seem overweight but we'll see how it performs once I get
the project into a perf test.
On Jun 10, 8:40 am, Dalla dalla_man...@hotmail.com wrote:
Hi
I´m having trouble understanding how to implement an event handler for
my custom objects with the new event handler system. Let´s
Hi
I´m having trouble understanding how to implement an event handler for
my custom objects with the new event handler system. Let´s pretend I
have a very simple model class like this one:
public class ArrivalData {
private Date date;
private boolean processing = false;
Simply put, you don´t, because the call itself won´t return anything.
The return type is defined inside the AsyncCallback.
If you have an interface like so:
public interface GreetingServiceAsync {
void greetServer(String input, AsyncCallbackString callback);
}
String will be your
Handler implementsClickHandler{
private TextBox textBox = null;
public Handler(TextBox textBox ) {
this.textBox = textBox;
}
}
Jimhttp://www.gwtorm.com- GWT ORMhttp://code.google.com/p/dreamsource-orm/
On May 21, 11:18 am, Dalla dalla_man...@hotmail.com
I guess this question is not really GWT specific, but I haven´t been
working much with handlers at all when developing web applications
earlier.
I´ll make a very simple example:
public class EventManagerTest implements EntryPoint {
public void onModuleLoad() {
final
jim.p...@gmail.com wrote:
Using GwtEvent.getSource() retrieves the source that last fired this
event so you can differentiate event source widgets.
Jimhttp://www.gwtorm.com- GWT ORM
On May 21, 4:44 am, Dalla dalla_man...@hotmail.com wrote:
I guess this question is not really GWT specific
them
}
else {//some other widget that fires the same event
}
}
}
Jimhttp://www.gwtorm.com- GWT ORM
On May 21, 9:43 am, Dalla dalla_man...@hotmail.com wrote:
Yes, this I know. In this example the source would be the sendButton,
right
Oh forgot to mention something important...
I have to be able to add/subtract dates aswell... Back to using
Calendar object I guess?
On 19 Maj, 20:29, Dalla dalla_man...@hotmail.com wrote:
Thanks, that seems like a better solution :-)
On 19 Maj, 17:26, Salvador Diaz diaz.salva
I´m building an application where I need to print the day of the week
and the current date, like so:
Tuesday, 2009-05-19
This would be very easy using the Calender class. But since this isn´t
part of the JRE emulation, I guess I have to solve it another way.
What would be the best way to do
antonio.diaz@gmail.com wrote:
You can (a) call to the server and receive a string formatted date or
(b) build the string using Date.getDay( ), Date.getMonth( ), ... and
an array with Sunday, Monday, ...
On May 19, 4:57 pm, Dalla dalla_man...@hotmail.com wrote:
I´m building
Hi all
Been searching these groups and the web in general to find an answer
to my question, but haven´t been able to wrap my head around what I´ve
found so far.
I´m playing around a bit trying to figure out how to make use of my
existing EJBs.
For example I have an existing EJB like this:
100 matches
Mail list logo