Thanks Harald. Please let me know whenever you test it with IE8. I
really need to make it work with IE.

Fahim

On May 12, 7:39 pm, Harald Pehl <harald.p...@googlemail.com> wrote:
> Hi Fahim,
>
> Since Piriti is developed on ubuntu I didn't test it on IE. I'm using
> the module "com.google.gwt.xml.XML" for the XML parsing. actually this
> should work with IE. As soon as I find the time I will test the XML
> parsing in IE.
>
> - Harald
>
> On 12 Mai, 14:27, Fahim <fahimr...@gmail.com> wrote:
>
>
>
> > Hi Harald,
>
> > Thanks for your response.
>
> > Yes I have XmlReader in PackageContent too like this;
>
> >         public interface PackageContentReader extends
> > XmlReader<PackageContent> {}
> >         public static final PackageContentReader XML =
> > GWT.create(PackageContentReader.class);
>
> >  I will also make sure that these are instantiating, though I have
> > solved my problem by reading the PackageContent separately by looping
> > on content's document nodes.
>
> > But I am facing another big issue right now. This API is not working
> > at all on my IE8 browser. It doesn't read the fields in object. While
> > the same code is working fine in FF3.5 and Chrome. Is there any known
> > issue in IE8?
>
> > Thanks,
> > Fahim
>
> > On May 10, 3:46 pm, Harald Pehl <harald.p...@googlemail.com> wrote:
>
> > > Hi,
>
> > > do you have an XmlReader for PackageContent? For example:
>
> > > public class PackageContent {
> > >     public interface PackageContentReader extends
> > > XmlReader<PackageContent> {}
> > >     public static final PackageContentReader XML =
> > > GWT.create(PackageContentReader.class);
>
> > >     ...
>
> > > }
>
> > > Sometimes it is also necessary to setup the registry of xml readers,
> > > which is used internally. The easiest way to do this is to make sure
> > > that the static XmlReader constants are instantiated (this is one
> > > drawback, I'm currently working on):
>
> > > ...
> > > new CourierPackage();
> > > new PackageContent();
> > > ...
>
> > > HTH
> > >  - Harald
>
> > > On 8 Mai, 09:52, Fahim <fahimr...@gmail.com> wrote:
>
> > > > Hi all,
>
> > > > I am using piriti framework in my GWT app for xml mapping. I have an
> > > > xml structure like this;
>
> > > > <packageDetailResponse>
> > > >   <package>
> > > >     <id>6480007</id>
> > > >     <name>Test Package for Download Wizard</name>
> > > >     <contents>
> > > >       <document>
> > > >         <id>481291027</id>
> > > >         <name>dead-fly-art-01</name>
> > > >         <size>124146</size>
> > > >       </document>
> > > >       <document>
> > > >         <id>481293027</id>
> > > >         <name>dead-fly-art-03</name>
> > > >         <size>99221</size>
> > > >       </document>
> > > >     </contents>
> > > >   </package>
> > > > </packageDetailResponse>
>
> > > > I am mapping the above xml to my pojo like this:
>
> > > > public class CourierPackage {
>
> > > >         public interface CourierPackageReader extends
> > > > XmlReader<CourierPackage> {}
> > > >         public static final CourierPackageReader XML =
> > > > GWT.create(CourierPackageReader.class);
>
> > > >         @XmlField long id;
> > > >         @XmlField String name;
> > > >         @XmlField("contents/document") List<PackageContent> 
> > > > packageContents;
>
> > > > }
>
> > > > I tried to read it like this in onResponseReceived:
>
> > > > List<CourierPackage> pkgs = CourierPackage.XML.readList(responseDoc,
> > > > "package");
> > > > CourierPackage pkg = pkgs.get(0);
>
> > > > Now what it is doing that it is reading the CourierPackage fields like
> > > > id, name correctly but it is not reading the contents in
> > > > packageContents List.
>
> > > > Any ideas what is wrong here.
>
> > > > Thanks,
> > > > Fahim
>
> > > > --
> > > > 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-tool...@googlegroups.com.
> > > > To unsubscribe from this group, send email to 
> > > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > > For more options, visit this group 
> > > > athttp://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-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-tool...@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