GWT URL parameters not setting and getting when has domain

2017-05-25 Thread Julio Heitor Nobrega
Hi guys, I have an issue that you could help me. I am developing a e-commerce GWT website and when i access the paltform using the IP address i can get and set url parameters(product id and profile id) with no problem. But when i access the platform using the DNS domain (eious.com) no

Opening a File Chooser (using FileUpload Widget) from a DialogBox

2016-04-12 Thread Julio Heitor Nobrega
Dear friends, i am having some problemas using the *FileUpload *widget and the *DialogBox*. If i try to open the file chooser to choose a image from the file system from FileUpload like this: new *ClickHandler*() { @Override

GWT WYSIWYG Editor

2016-04-11 Thread Julio Heitor Nobrega
Hi Guys, does anyone know if there is some WYSIWYG Editor for GWT? I have found some old projects that implement the basic stuff but it does not work anymore in a GWT 2.7 project. If someone has any RichTextToolBar to share here, please let me know! Regards! -- You received this

Uploading Local Image Content

2016-03-18 Thread Julio Heitor Nobrega
Dear friends, i am trying to upload a file system image's content to my GWT site and i stumbled across this code: *public* * final native void readAsDataURL(MyClass that, FileUpload input) /*-{ var files =

Re: Forbidden words Service for GWT

2016-02-25 Thread Julio Heitor Nobrega
-words-banned-by-google/ Regards! Em quinta-feira, 25 de fevereiro de 2016 09:56:38 UTC-3, Julio Heitor Nobrega escreveu: > > > Hey guys, > > i am developing a e-commerce site using GWT and i would like to ask if > there is some paid/free webservice solution that veri

Forbidden words Service for GWT

2016-02-25 Thread Julio Heitor Nobrega
Hey guys, i am developing a e-commerce site using GWT and i would like to ask if there is some paid/free webservice solution that verifies the existence of forbidden words (violence, sexual, weapon and/or hate related) give a String. Best regards! -- You received this message

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-27 Thread Julio Heitor Nobrega
eredImage.TYPE_INT_RGB); >> buffer.createGraphics().drawImage(thumbs, 0, 0, null); >> return buffer; >> } >> pass the width and height in pixels (maltura e mlargura) >> After thar you can upload the image. >> >> cheers >> >> Claudio >> >> >&g

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Julio Heitor Nobrega
to the dimensions you pass to it. None of it i will have with GWT Canvas. The only drawback i would get using Scalr is that i will consume more bandwidth DigitalOcean gives me monthly because i will have to send the whole image to the server. 2016-01-25 12:52 GMT-02:00 Julio Heitor Nobrega <juliohn

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Julio Heitor Nobrega
4 16:36 GMT-02:00 Kirill Prazdnikov <pkir...@gmail.com>: > Canvas is an DOM Element. > It can render Image Elements to itself in any resolution. > However it may produce not nice results. > > It depends on what you need. > > On Thursday, January 14, 2016 at 9:17:36 PM

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Julio Heitor Nobrega
I have just found an example (http://c.gwt-examples.com/home/ui/canvas). The only problem is to convert ImageData to an byte array :) Regards! 2016-01-25 12:08 GMT-02:00 Julio Heitor Nobrega <juliohnobr...@gmail.com>: > Does anyone have some examples regarding the Canvas class? >

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Julio Heitor Nobrega
f the canvas. You can use it directly in element > or send it to server. > > On Monday, January 25, 2016 at 3:19:03 PM UTC+1, Julio Heitor Nobrega > wrote: >> >> I have just found an example (http://c.gwt-examples.com/home/ui/canvas). >> >> The only problem is to con

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Julio Heitor Nobrega
ght; > var ctx = canvas.getContext("2d"); > ctx.drawImage(img1, 0, 0); > var dataURL = canvas.toDataURL("image/png");alert("from getbase64 > function"+dataURL ); > return dataURL;} > > Then send the base64 to the server and corvert it

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Julio Heitor Nobrega
. 2016-01-25 13:39 GMT-02:00 Alain Ekambi <jazzmatad...@gmail.com>: > Would it be a better designer to save the image on disc and just save the > link to the image to the DB ? > > On 25 January 2016 at 15:59, Julio Heitor Nobrega <juliohnobr...@gmail.com > > wrote: >

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-25 Thread Julio Heitor Nobrega
Is there a way to see what format the file has? If it isn't an image i'll have to warn the user. 2016-01-25 14:58 GMT-02:00 Julio Heitor Nobrega <juliohnobr...@gmail.com>: > Hi Alain, > > nice code! I am going to do this but in a java version code. I just didn't > know i could

Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-14 Thread Julio Heitor Nobrega
Hi guys, i am trying to upload images with 2mb size but i don't want to send the whole original image to the server. What i would like to do is reduce the image dimensions from, for example, *1000x1000* to *50x50* and reduce the file size from *2mb* to *~25kb* as well and at the end send the

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-14 Thread Julio Heitor Nobrega
Hi guys, thanks everyone for the answers! Greg, is Canvas a GWT framework or its a class that belong to GWT itself? Do you have any example of use? Regards Em quinta-feira, 14 de janeiro de 2016 11:25:29 UTC-2, Julio Heitor Nobrega escreveu: > > Hi guys, > > i am trying to u

GWT Compression API

2015-04-13 Thread Julio Heitor Nobrega
Heu guys, i need to implement a GWT client that compress a image and sends to the server. Afterwards, the server sends back the compressed image and then the client descompress it and disply in the screen. Is there a client-based compression API to be used with GWT? Best Regards! -- You