On 6 June 2011 11:02, Ryan McFall <mcfall.r...@gmail.com> wrote:
> I am migrating an application which used Gilead as the go-between
> between Hibernate and GWT to use RequestFactory.  I am having a
> problem where the RequestFactoryGenerator doesn't want to generate a
> RequestFactory for my service.  The error I see in the Development
> Mode console is:
>
> [ERROR] [surveyeditor] - Invalid Request parameterization
> edu.hope.cs.surveys.dao.pojo.Tag
>
> I have tried simplifying Tag as much as possible - in particular, it
> used to implement java.io.Serializable, but now it does not.
>
> It's not clear to me what the possible reasons for the above error
> might be, so it's kind of hard to diagnose.
>
> Below are the relevant interfaces/classes.  Thanks in advance for any
> ideas.
>
> Ryan
>
> -------------------------------------------------------------------------------------------------------------------------------------
> package edu.hope.cs.surveys.dao;
>
> import com.google.web.bindery.requestfactory.shared.EntityProxy;
> import com.google.web.bindery.requestfactory.shared.ProxyFor;
>
> import edu.hope.cs.surveys.dao.pojo.Tag;
>
> @ProxyFor(Tag.class)
> public interface ITag extends EntityProxy {
>        public boolean isPublic ();
>        public void setPublic (boolean isPublic);

I'm guessing these might be a problem. Firstly, normal boolean getters
don't seem to work (i.e. is*, has*). This may have changed in GWT2.3,
though (I haven't tried). Secondly, setPublic might generate a
parameter "public" which would not compile.

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

Reply via email to