Re: SuggestBox doesn't work with Editor Framework (well not like ValueListBox does)

2011-12-25 Thread Elhanan Maayan
yes, it's called "too-much-values-to-be-displayed-in-one-list"...

On Mon, Dec 26, 2011 at 8:36 AM, -sowdri-  wrote:

> Is there anything that 's preventing you from creating
> a ValueListBox)??
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/TAz770R0QrkJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-25 Thread -sowdri-
Can you post the class firing the below request?

>> requests.find(proxyId).with("resource", 
"action", "subjects").fire(callback); 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Y2Z0vxZJ6MwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: SuggestBox doesn't work with Editor Framework (well not like ValueListBox does)

2011-12-25 Thread -sowdri-
Is there anything that 's preventing you from creating 
a ValueListBox)??

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TAz770R0QrkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Java for back end coding

2011-12-25 Thread -sowdri-
GWT certainly is for people who know java.

>> I never used Java for back end coding tho.

If you are planning to learn Java through GWT, then I strongly recommend 
you to reconsider!

-sowdri-

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wuIY2c1vQekJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Creating image from base64

2011-12-25 Thread vmnikulin
Mark, your method doesn't work in IE8 because it has 32KB limitation
on data url size.

On 26 дек, 07:19, Mark  wrote:
> If you just want to display the image then just use what you have and
> let the browser do the rest.  Add an HTML object containing
>
>  height="Y" alt="alternate text"/>
>
> As shown here:  http://www.websiteoptimization.com/speed/tweak/inline-images/
>
> On Dec 25, 6:46 am, vmnikulin  wrote:
>
>
>
> > Hi all!
>
> > How I can create Image from base64 string?
>
> > Thank in advance.- Скрыть цитируемый текст -
>
> - Показать цитируемый текст -

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT loding project take time

2011-12-25 Thread Kanagaraj M
I am running into the same problems.
We already have code splits.
And for the .gz compression, how can i enable in jetty server?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/-9LuPHpkn0EJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Creating image from base64

2011-12-25 Thread Mark
If you just want to display the image then just use what you have and
let the browser do the rest.  Add an HTML object containing



As shown here:  http://www.websiteoptimization.com/speed/tweak/inline-images/

On Dec 25, 6:46 am, vmnikulin  wrote:
> Hi all!
>
> How I can create Image from base64 string?
>
> Thank in advance.

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Creating image from base64

2011-12-25 Thread vmnikulin
Also (and this is main question), how I can create Image from byte
array (or from base64) in GWT client code?

On 25 дек, 22:46, vmnikulin  wrote:
> I need to decoding base64 string in GWT client code.
>
> Now I use Image.setUrl(myImageServletUrl) to obtaining image from
> server. But this method doesn't work if you want to get some
> additional data with image in one server request. So I need create
> class MyImage:
>
> class MyImage implements Serializable {
>     String base64Image;
>     AddtionalData addtionalData;
>
> }
>
> And use it in GWT-RPC. And decode base64 string on client code.
>
> How can I do it?
>
> On Dec 25, 8:02 pm, Ed  wrote:
>
>
>
> > I don't see what this has to do with GWT, but here it goes:
> > Google is your 
> > friend:http://stackoverflow.com/questions/469695/decode-base64-data-in-javah..

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Java for back end coding

2011-12-25 Thread Dennis Haupt
Am 25.12.2011 16:45, schrieb Mohamed Turki:
> Hello everyone
> I'm new to GWT but I have a modest experience with Java.
> I never used Java for back end coding tho. I'm used to PHP and MySQL.
> Can anybody here give me an idea on how to use Java for back end work,
> like which libraries do I need and how things work.
> Thanks a lot
> 

there are about 3000 frameworks and applications servers to choose from.
you probably want to take a look at tomcat or jetty and hibernate. or
db4o, if you want to be a pirate.

-- 

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Java for back end coding

2011-12-25 Thread Mohamed Turki
Hello everyone
I'm new to GWT but I have a modest experience with Java.
I never used Java for back end coding tho. I'm used to PHP and MySQL.
Can anybody here give me an idea on how to use Java for back end work,
like which libraries do I need and how things work.
Thanks a lot

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Creating image from base64

2011-12-25 Thread vmnikulin
I need to decoding base64 string in GWT client code.

Now I use Image.setUrl(myImageServletUrl) to obtaining image from
server. But this method doesn't work if you want to get some
additional data with image in one server request. So I need create
class MyImage:

class MyImage implements Serializable {
    String base64Image;
    AddtionalData addtionalData;
}

And use it in GWT-RPC. And decode base64 string on client code.

How can I do it?


On Dec 25, 8:02 pm, Ed  wrote:
> I don't see what this has to do with GWT, but here it goes:
> Google is your 
> friend:http://stackoverflow.com/questions/469695/decode-base64-data-in-javahttp://stackoverflow.com/questions/5441413/create-imageview-from-base...

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Creating a second page

2011-12-25 Thread Ed
I don't use GWT designer and probably will never do, like most people that 
are building a long time with GWT.
Don't get me wrong: it's a great tool, but like with all visual designer 
tools: with experience comes detail requirements that can't be done through 
a designer tool.
Anyway, some advice on how to do it without designer:
Take a SimpleWidget panel, add that to the body, or other html element and 
wen you want to go to another page simple replace the widget in 
SimpleWidget.
in pseudo code:
SimpleWidget outer = new SimpleWidget();
RootPanel.get("pageId").add(outer);
outer.setWidget(page1); // showing page 1
...
going to  page 2 some where in code:
outer.setWidget(page2); // showing page 2

Just put this outer panel in a central Register (Singleton class) such that 
it can be reached from anywhere and you are done...

Then if you want, add to some Fade In/Out effect when adding page1 and 
page2... Do this ina  transparent way such that the code that add's page X 
won't see this... 
Fade effects looks so much better and professional when navigating. I 
always do it by wrapping any GWT Panel through my own panel such that the 
user that adds a widget to the panel won't notice the effect as it's a 
property of the panel... 
BTW: wrapping a panel is also good for testing..., see: 
https://groups.google.com/forum/#!topic/google-web-toolkit/hwMKmuZv4BI






-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/jYqkZgyLrl0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Initializing Hibernate

2011-12-25 Thread Ed
There exists many posts on this subject. Please search in the forum and on 
the web.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/EVGprgYrV3wJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: I made Selenium + GWT setup instructions

2011-12-25 Thread Ed
Thanks for the tips.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/fgNJdMtl1mYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Creating image from base64

2011-12-25 Thread Ed
I don't see what this has to do with GWT, but here it goes:
Google is your friend:
http://stackoverflow.com/questions/469695/decode-base64-data-in-java 
http://stackoverflow.com/questions/5441413/create-imageview-from-base64-decode
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/3MTZvGbLYQoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Creating image from base64

2011-12-25 Thread vmnikulin
Hi all!

How I can create Image from base64 string?

Thank in advance.

-- 
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.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.