In an application using RequestFactory from GWT 2.3.0, I have the
following object structure:
Survey
  --  List<ISurveyQuestion> thisSurveysQuestions
    --  ChoiceGroup choiceGroup
      --  List<IChoiceGroupItem> choices

A method is invoked which loads a Survey object by its ID on the
server side, as follows:

Request request = RequestFactory.getRequest();
request.loadSurveyByID(1).with (componentsToLoad).fire () ...

where componentsToLoad is an array of strings, containing (among
others):
"thisSurveysQuestions", "thisSurveysQuestions.choiceGroup",
"thisSurveysQuestions.choiceGroup.choices"

When this code is run within Eclipse, most of the time, but not all of
the time, both the choiceGroup for an individual ISurveyQuestion and
its associated choices are correctly loaded.

When I compile the module and deploy it, the choiceGroup object has
always been null every time that I have tried it.

Since it works some of the time in Eclipse, it doesn't seem like I
have one of the names of the properties spelled wrong in my .with( )
call, or that there's any other error.  It seems more likely to be a
bug in the RequestFactory code.

Has anyone else seen behavior like this, or have ideas what could be
going wrong?

Thanks,
Ryan

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