I need to change the system property
gwt.imageResource.maxBundleSize
to 1000. How would I do this?
The property exists as I see it here;
https://code.google.com/p/google-web-toolkit/source/browse/releases/2.5/user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java#471
Yet I cant figure
Does anybody if is possible to use GWT together with hammer.js for handling
touches and recognizing gestures?
I was able to inject that external js library to my GWT project ... but the
only events that get fired are taps and drags.
However the demo site of hammer.js runs fine and reports all ki
Why do you need an EventBus in your validation code?
On Wednesday, October 30, 2013 10:05:36 AM UTC-4, Tom wrote:
> I use "public static EventBus eventBus =
> GWT.create(SimpleEventBus.class);" in client.Utility, so it said liek
> "eventBus can not be used in Server or somethings like that"
>
>
The problem is that you put too much code in one place.
You could for example put a validate method on the PostData object.
Then you just need to call the validate() method on client and server side.
For a more generic/standardised solution I would take a look at the
Validation framework.
http://
Here is my Gwt Problem. Say, I got a form that has email, firstName,
username, password... Textboxes & a submit Button. When users click Submit,
the client will validate all fields, after all fields are ok, then they
will be sent to Server for another *EXACTLY* same validation.
Someone sugges
I use "public static EventBus eventBus = GWT.create(SimpleEventBus.class);"
in client.Utility, so it said liek "eventBus can not be used in Server or
somethings like that"
On Thursday, October 31, 2013 12:44:19 AM UTC+11, stuckagain wrote:
>
> You have to make sure that the validation code is in
You have to make sure that the validation code is in a shared location so
that GWT compilation can find it and that the server code can use the class
file.
What is the error you are seeing ?
On Wed, Oct 30, 2013 at 2:09 PM, Tom wrote:
> How can Server & Client share the same Validation code i
How can Server & Client share the same Validation code in GWT?
I am using GWTP platform & when i am in a Server Class (ex: *
my.com.server.PostDataHandler*) & then try to use *my.com.client.Utility*class
from client, then I got an error.
On Wednesday, October 30, 2013 11:23:00 PM UTC+11, stucka
Hi Shravan,
Can you paste the changes you did. I am also getting the same issue.
On Tuesday, June 3, 2008 5:49:31 PM UTC+5:30, Shravan కుమార్ *-*-0-*-*
wrote:
>
> Thanks all,
>
> I got the solution. I was trying to pass params in the constructor it
> self, hence the problem.
>
> I have crea
Client side validation can help provide a richer user experience, you don't
want to waste your users' time and/or your servers' CPU cycles dealing with
malformed input. It is easier on both parties to have bad data fixed as
soon as possible after it is entered, or prevent bad data entry in the
firs
Sometimes customers try to hack your system by changing the GET/POST data
to circumvent checks done in the client.
A Server should never trust that the client can be trusted.
The big advantage of GWT is that you can reuse the same code to perform
validation on the serverside.
On Wed, Oct 30, 20
If you don't use SSL then data can always be altered during transfer.
If you use SSL then there is still a very small chance for men in the
middle attacks but something serious must go wrong to make them happen. For
example the client must accept a fake certificate for your domain, or your
SSL
And what does the exception in onFailure say?
-- J.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To po
Say, we need to make sure data users enter TextBox is String (ex: string
must contain only a-z) & this data will be unchanged when transferred to
Server & will be stored in Database as a String (in this case containing
only a-z).
If we only validate data at client side in GWT, then is there any
I'm trying to retrieve data from database with GWT and RPC.
public class MySQLConnection extends RemoteServiceServlet implements
>> Connection{
>
> private Connection conn = null;
>
> private ResultSet rs = null;
>
> private PreparedStatement pstmt = null;
>
> public static Connection getCo
Hi there,
I am experiencing an annoying issue. What I want to be able to do is:
1. Have a custom file chooser widget (standard gwt-FileUpload hidden/off
screen and a simple styled button shown).
2. User clicks the button, the file dialog is shown
3. User selects a file
4. Checks p
16 matches
Mail list logo