Errai Bus or GWT-comet

2011-03-12 Thread Kathiravan Tamilvanan
We are evaluating the Errai Bus and Gwt-comet for adding server push to our 
applications. Has anyone used any of the two? 

Can you provide your thoughts on the two libraries?. Greatly appreciate it.

-- 
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: EntityProxy Returns Null for Collection Properties

2011-03-12 Thread keyvez
There is a problem with the above method that I described, I am seeing 
collections of a single element being returned when that collection is 
empty. And the single element is null. I still cannot get .with to populate 
the collections in my entityproxy.

-- 
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: [appengine-java] does the Google AppEngine or WebToolkit replace the bootclasspath of the running Java runtime?

2011-03-12 Thread Toby Reyelts
Do you have the contact information for the Apple Engineer?

On Sat, Mar 12, 2011 at 3:38 AM, Shawn Brown wrote:

> Hi,
>
> I used the open-jdk workaround to solve the problems introduced by the
> latest apple java sdk update but have a question an Apple engineer
> asked me about the following:
>
> http://code.google.com/p/googleappengine/issues/detail?id=4712
> http://code.google.com/p/google-web-toolkit/issues/detail?id=6125
>
> "does the Google AppEngine or WebToolkit replace the bootclasspath of
> the running Java runtime? From the crash reports I've seen, we should
> only be failing in native in this way if a couple of new classes we
> introduced are not present. I'm not sure how to explain it, but since
> the problem appears to be isolated to these Google tools, I can only
> speculate that this is the work of JVM wizards who are somehow
> replacing our universe with their own."
>
> I don't think AE or GWT do that, do they?
>
> Shawn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?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: Gwt file upload

2011-03-12 Thread javabuddy
Any help!!!

On Mar 11, 10:01 am, javabuddy  wrote:
> Hi All,
>
> I am using GWT and App engine, can any one point me to a sample for
> file upload.
>
> I have seen the widget for file upload, but I am not clear of how/
> where the file will be stored inside AppEngine
>
> Thanks
> Gana

-- 
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: ScriptElement to be shown in popupPanel

2011-03-12 Thread Thomas Broyer


On Saturday, March 12, 2011 11:38:54 PM UTC+1, Deepak Singh wrote:
>
> So any work around to get it done on popuppanel ?
>

Two ideas:

   - load in an iframe in the popuppanel
   - load in the HTML host page, in a hidden DIV, and then move the DIV 
   element within the popuppanel (do not use getInnerHTML/setInnerHTML as event 
   handlers and other references on elements could be lost)
   

-- 
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: ScriptElement to be shown in popupPanel

2011-03-12 Thread Deepak Singh
So any work around to get it done on popuppanel ?

On Sun, Mar 13, 2011 at 4:00 AM, Thomas Broyer  wrote:

>
>
> On Saturday, March 12, 2011 11:17:19 PM UTC+1, Deepak Singh wrote:
>>
>> scriptForSrc.setSrc("http://www.hellotravel.com/serveform/serveform.js";);
>>
>>
> This script uses document.write. See
> https://groups.google.com/d/msg/google-web-toolkit/6k1h_u1Fvwo/X4Hn1kYsdgwJfor
>  a quick explanation of the implications.
>
>
> --
> 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.
>

-- 
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: ScriptElement to be shown in popupPanel

2011-03-12 Thread Thomas Broyer


On Saturday, March 12, 2011 11:17:19 PM UTC+1, Deepak Singh wrote:
>
> scriptForSrc.setSrc("http://www.hellotravel.com/serveform/serveform.js";);
>
>
This script uses document.write. See 
https://groups.google.com/d/msg/google-web-toolkit/6k1h_u1Fvwo/X4Hn1kYsdgwJ 
for a quick explanation of the implications.
 

-- 
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: ScriptElement to be shown in popupPanel

2011-03-12 Thread Deepak Singh
HTML html = new HTML();
html.getElement().appendChild(script);
popup.setWidget(html.getElement());

No. It does not work.



On Sun, Mar 13, 2011 at 2:59 AM, Gal Dolber  wrote:

>
> popUp.setWidget(new HTML("

Re: ScriptElement to be shown in popupPanel

2011-03-12 Thread Gal Dolber
popUp.setWidget(new HTML("

Re: ScriptElement to be shown in popupPanel

2011-03-12 Thread Deepak Singh
Hi Gal,

I am posting here full code,

Anchor helloTravelPlanner = new Anchor("Contact our tour planner");
helloTravelPlanner.addClickHandler(new ClickHandler() {
  @Override
public void onClick(ClickEvent event) {
 PopupPanel popUp = new PopupPanel(true);
popUp.setSize("40px", "30px");
  ScriptElement scriptForSrc =
popUp.getElement().getOwnerDocument().createScriptElement();
 scriptForSrc.setAttribute("type", "text/javascript");
scriptForSrc.setSrc("http://www.hellotravel.com/serveform/serveform.js";);

 popUp.getElement().appendChild(script);
popUp.getElement().appendChild(scriptForSrc);
  popUp.center();


}

}

The above code appears to be visible but it is blank. While it should
contain the UI(user interface) returned by the script.

I mean the script returns some thing which has to be shown popup.

If i execute this script adding it to main html document then it works fine
showing the UI on html.
But i need to show it in a popup rather than html page.

I hope it is now more clear.

Thanks


On Sun, Mar 13, 2011 at 2:18 AM, Gal Dolber  wrote:

> What are you trying to do?
>
> You can try:
>
> popup.addAttachHandler(new AttachHandler() {
> void onAttach() {
> // Do your scripting here
> }
> });
>
> On Sat, Mar 12, 2011 at 2:15 PM, Deepak Singh wrote:
>
>> Hi,
>>
>> The src of an script return a form as UI and i want this UI to be shown in
>> popup panel.
>>
>> ScriptElement script = Document.get.createScriptElement();
>> script.set(.)
>>
>> PopupPanel popup = new popuppanel();
>> popup.getElement().appendChild(script);
>> popup.center();
>>
>> This code does not work, instead the IE8 browser crashes executing this
>> code.
>> The above code is executed on click of  a link(Anchor).
>>
>> Pls let me know how to get this working.
>>
>> Thanks
>>
>>
>>  --
>> 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.
>>
>
>
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/
>
>
>
>
>  --
> 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.
>

-- 
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: Web Application .launch configuration on a Mac adds "-d32 -xstartOnFirstThread" to VM ARGS

2011-03-12 Thread Chris Bozic


I created a regular eclipse application runner (as if it were any other Java 
app) and copied the startup parameters from the GWT runner to my app runner. 
After I replaced -d32 with -d64 and removed -XstartOnFirstThread my webapp 
ran fine. Using a regular eclipse application runner prevents GWT from 
automatically inserting parameters that cause the problems.

Hope that helps.

Chris Bozic

-- 
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: ScriptElement to be shown in popupPanel

2011-03-12 Thread Gal Dolber
What are you trying to do?

You can try:

popup.addAttachHandler(new AttachHandler() {
void onAttach() {
// Do your scripting here
}
});

On Sat, Mar 12, 2011 at 2:15 PM, Deepak Singh wrote:

> Hi,
>
> The src of an script return a form as UI and i want this UI to be shown in
> popup panel.
>
> ScriptElement script = Document.get.createScriptElement();
> script.set(.)
>
> PopupPanel popup = new popuppanel();
> popup.getElement().appendChild(script);
> popup.center();
>
> This code does not work, instead the IE8 browser crashes executing this
> code.
> The above code is executed on click of  a link(Anchor).
>
> Pls let me know how to get this working.
>
> Thanks
>
>
>  --
> 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.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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 Validator with Editor Framework

2011-03-12 Thread Nick Chalko
On Fri, Mar 11, 2011 at 10:17 AM, keyvez  wrote:

> Hi,
>
> I just found the DynaTableRf sample and see that onViolation is fired
> there. Going through its setup I realized that I was missing the
> hibernate-validator jar, so I put it in my libs and build path, but still no
> entity property violations are caught. Any help is greatly appreciated.
>
>
The client side validation is working somewhat now if your are using SVN
head.  Take a look at
http://code.google.com/p/google-web-toolkit/wiki/BeanValidation

r,
Nick

-- 
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: Hyperlink: Why the anchor element is nested into a div ?

2011-03-12 Thread Gal Dolber
I don't know the why, but you can use InlineHyperlink instead.

On Sat, Mar 12, 2011 at 1:17 PM, Simon M  wrote:

> I am curious to know.
>
> --
> 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.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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.



GWT Designer Exits Upon Loading

2011-03-12 Thread Eric Atkinson
Does anybody know why if, while using Eclipse Helios, and you press
the "Design" tab for GWT Designer, that it would exit Eclipse. I
created a web page using the GWT Designer, and now (suddenly), it
exits the entire IDE every time I try to re-enter design mode for that
page.

-- 
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.



ScriptElement to be shown in popupPanel

2011-03-12 Thread Deepak Singh
Hi,

The src of an script return a form as UI and i want this UI to be shown in
popup panel.

ScriptElement script = Document.get.createScriptElement();
script.set(.)

PopupPanel popup = new popuppanel();
popup.getElement().appendChild(script);
popup.center();

This code does not work, instead the IE8 browser crashes executing this
code.
The above code is executed on click of  a link(Anchor).

Pls let me know how to get this working.

Thanks

-- 
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.



Hyperlink: Why the anchor element is nested into a div ?

2011-03-12 Thread Simon M
I am curious to know.

-- 
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.



A portal for information about the 2011 Japan Earthquake and Tsunamis

2011-03-12 Thread Jeff Schwartz
I hope you don't mind or consider this spam or improper. I know many of you
from these news groups as I am an active member and I would never do
anything that I thought was improper. We've all seen the videos of the
devastation in Japan caused by the recent earthquake and tsunamis. In
response I've created a little portal site on app engine that lists a few
organizations and agencies accepting donations as well as providing
information. I know many of you are running successful web sites on app
engine and if you can afford $10 or $20 dollars, please, that would be an
amazing response from these groups. I've already made mine. Won't you please
help?

The link to the site is http://japanearthquaketsunamirelief.appspot.com/.

Please understand that I have no affiliation at all with any of the sites
listed on the portal and I urge you to use discretion whenever making any
donation.

Sincerely,

-- 
*Jeff Schwartz*
http://jefftschwartz.appspot.com/
http://www.linkedin.com/in/jefftschwartz
follow me on twitter: @jefftschwartz

-- 
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: ImageCell clickable

2011-03-12 Thread Marco Gadaleta
I've fix it write my own class

On Sat, Mar 12, 2011 at 1:18 PM, Marco Gadaleta wrote:

> There is a way to handle selection?
>
>
> On Sat, Mar 12, 2011 at 12:21 PM, gadaleta.marco  > wrote:
>
>> Hi,
>> there is a a way to click on an ImageCell colum like
>> ClickableTextCell?
>>
>> Thx,
>> Marco
>
>
>
>
> --
> Marco
>



-- 
Marco

-- 
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: How to send an Email with GWT to a specific Address?

2011-03-12 Thread antrox
This example if fully working?

I dont understand how it works to be honest. Where is the SMPT Server
set up? And there is no password required?

antrox


On 11 Mrz., 14:46, Juan Pablo Gardella 
wrote:
> An example to send a 
> email:http://www.javapractices.com/topic/TopicAction.do?Id=144
>
> Spring is a
> framework:http://www.springsource.org/about
>
> Juan
>
> 2011/3/11 antrox 
>
>
>
> > what is "Spring"?
>
> > and what do u mean with "MailProvider"? Another API?
>
> > antrox
>
> > On 11 Mrz., 14:25, Juan Pablo Gardella 
> > wrote:
> > > If you use Spring you can use MailProvider.
>
> > > Juan
>
> > > 2011/3/11 antrox 
>
> > > > Hello,
>
> > > > yes, i know how to save the data into an arraylist and send it to the
> > > > server via RPC calls.
>
> > > > so, there is an Mail Java API :). Sounds fine, i will have a look.
>
> > > > OR is there something written which works already? where i just have
> > > > to put my text into it :)`?
>
> > > > i hope u understood me.
>
> > > > regards
>
> > > > On 11 Mrz., 06:20, Juan Pablo Gardella 
> > > > wrote:
> > > > > Can make a rpc call? If yes do in plain Java in the server side.
>
> > > > > Juan
>
> > > > > 2011/3/10 antrox 
>
> > > > > > Hello Guys,
>
> > > > > > i wanted to make a small webshop and how can i send an email with
> > GWT
> > > > > > to specific Address?
>
> > > > > > I wanted to write some TEXT into an ArrayList and then generate
> > from
> > > > > > the ArrayList an Email which should be sent to a specific
> > mailadress.
>
> > > > > > kind regards
>
> > > > > > --
> > > > > > 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.
>
> > > > --
> > > > 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.
>
> > --
> > 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.

-- 
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: How to send an Email with GWT to a specific Address?

2011-03-12 Thread antrox
This example if fully working?

I dont understand how it works to be honest. Where is the SMPT Server
set up? And there is no password required?

antrox

On 11 Mrz., 14:46, Juan Pablo Gardella 
wrote:
> An example to send a 
> email:http://www.javapractices.com/topic/TopicAction.do?Id=144
>
> Spring is a
> framework:http://www.springsource.org/about
>
> Juan
>
> 2011/3/11 antrox 
>
>
>
> > what is "Spring"?
>
> > and what do u mean with "MailProvider"? Another API?
>
> > antrox
>
> > On 11 Mrz., 14:25, Juan Pablo Gardella 
> > wrote:
> > > If you use Spring you can use MailProvider.
>
> > > Juan
>
> > > 2011/3/11 antrox 
>
> > > > Hello,
>
> > > > yes, i know how to save the data into an arraylist and send it to the
> > > > server via RPC calls.
>
> > > > so, there is an Mail Java API :). Sounds fine, i will have a look.
>
> > > > OR is there something written which works already? where i just have
> > > > to put my text into it :)`?
>
> > > > i hope u understood me.
>
> > > > regards
>
> > > > On 11 Mrz., 06:20, Juan Pablo Gardella 
> > > > wrote:
> > > > > Can make a rpc call? If yes do in plain Java in the server side.
>
> > > > > Juan
>
> > > > > 2011/3/10 antrox 
>
> > > > > > Hello Guys,
>
> > > > > > i wanted to make a small webshop and how can i send an email with
> > GWT
> > > > > > to specific Address?
>
> > > > > > I wanted to write some TEXT into an ArrayList and then generate
> > from
> > > > > > the ArrayList an Email which should be sent to a specific
> > mailadress.
>
> > > > > > kind regards
>
> > > > > > --
> > > > > > 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.
>
> > > > --
> > > > 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.
>
> > --
> > 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.

-- 
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.



FieldUpadater not work

2011-03-12 Thread Marco Gadaleta
Hi i've created a field updater for celltable column.

It works for TextColum but not for ImageCell.


Why this?

-- 
Marco

-- 
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: ImageCell clickable

2011-03-12 Thread Marco Gadaleta
There is a way to handle selection?

On Sat, Mar 12, 2011 at 12:21 PM, gadaleta.marco
wrote:

> Hi,
> there is a a way to click on an ImageCell colum like
> ClickableTextCell?
>
> Thx,
> Marco




-- 
Marco

-- 
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.



ImageCell clickable

2011-03-12 Thread gadaleta.marco
Hi,
there is a a way to click on an ImageCell colum like
ClickableTextCell?

Thx,
Marco

-- 
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: how to post & handle RequestFactory server warnings/errors?

2011-03-12 Thread Thomas Broyer
onFailure should containg the getMessage() of the exception you threw on the 
server side.

You can tweak it by providing your own ExceptionHandler to the 
RequestFactoryServlet (extend it and use its constructor taking an 
ExceptionHandler).

onViolation will only be called if your entities do not pass JSR-303 Bean 
Validation, which is checked before calling any service method.

-- 
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: Entity version checks / optimistic locking

2011-03-12 Thread Thomas Broyer


On Friday, March 11, 2011 10:37:10 PM UTC+1, Jens wrote:
>
> On Friday, March 11, 2011 3:50:35 PM UTC+1, Thomas Broyer wrote:
>
>>
>> Well, first, you can only edit() a proxy once at a time (i.e. in a single 
>> RequestContext). Second, when you fire() a RequestContext, the edit()ed 
>> proxies are locked until the response comes back.
>> This basically means that if you have to lock the form while you autosave 
>> it.
>> I'd suggest you file an enhancement request so you could, e.g. flush the 
>> editor to a different object/proxy than was passed to initialize it. That 
>> way, you could display() the proxy (so it's not edit()ed), and then flush 
>> into an edit()ed version. You'd still have to block until the response come 
>> before doing another autosave; and worse, before doing a save(), which means 
>> the user would have to wait for the autosave to finish before it can 
>> explicitly save the form *and go away!*
>>
>  
> Hmm why do I have to lock the form while auto save the data? Is it because 
> I have to call edit() again after receiving the RF response in order to be 
> able to call flush().fire() again? And calling edit() would overwrite any 
> changes in the form the user could have made if I do not lock the form in 
> the mean time?
>

The question is "what would you do of other changes made by the user in the 
mean time?"
Because the proxies are locked, you cannot flush() the driver. And because 
you cannot edit() a given proxy twice at the same time, you cannot do a 
"flush().fire() + edit()".
But thinking a bit more about it, there might be a solution: instead of 
edit()ing the proxy, you'd create a copy of it that you give to the editor 
driver. Then you periodically flush() the driver, but never fire() its 
context. After the flush(), you copy  the proxy values into the proxy you'll 
send to the server.
The problem is: how to clone the proxy? See 
http://code.google.com/p/google-web-toolkit/issues/detail?id=5794

Ah ok, so each proxy instance holds its serialized version in a field 
> somewhere in the generated autobean and just don't expose it so the 
> developer do not have to bother with it? If so then its basically the same 
> what we do and I guess thats the reason why RF locks the proxy until the 
> response is received. That way RF avoids the issue we currently have by 
> design.
>

The reason RF locks the proxy until the response is received is that it will 
unlock them in case of constraint violations (so you could correct your 
proxies and fire the same RequestContext again).

We don't actually; but we're in a special case that users first have to 
>> explicitly lock an object (actually, create a private working copy) before 
>> they can edit it; so a given user can only be in conflict with "himself"; 
>> and using the application in multiple tabs/windows is an officially 
>> unsupported use case (yes, we're lucky ;-) ).
>>
>
> Yeah really lucky. Having a separate edit/cancel/save button where edit 
> also means "lock that object until save or cancel is called" is always a 
> nice luxury :)
>

It's even better than that ;-)
The user has to click a "lock" button to be able to edit the objects 
(creates a working copy). The form then switches to read/write mode and the 
"save" button appears. But the save button only saves changes to the working 
copy; there's a distinct "unlock" button that overwrites the "public copy" 
with the "working copy" (and another "free" button to "unlock" the "public 
copy" and simply discards the "working copy").
A user can keep his working copy for days, or even weeks or months.

-- 
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.



does the Google AppEngine or WebToolkit replace the bootclasspath of the running Java runtime?

2011-03-12 Thread Shawn Brown
Hi,

I used the open-jdk workaround to solve the problems introduced by the
latest apple java sdk update but have a question an Apple engineer
asked me about the following:

http://code.google.com/p/googleappengine/issues/detail?id=4712
http://code.google.com/p/google-web-toolkit/issues/detail?id=6125

"does the Google AppEngine or WebToolkit replace the bootclasspath of
the running Java runtime? From the crash reports I've seen, we should
only be failing in native in this way if a couple of new classes we
introduced are not present. I'm not sure how to explain it, but since
the problem appears to be isolated to these Google tools, I can only
speculate that this is the work of JVM wizards who are somehow
replacing our universe with their own."

I don't think AE or GWT do that, do they?

Shawn

-- 
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.