I really have no idea.  I don't really understand what you're doing.
Somehow you need to get your data from XML into a list of beans, which you
can then pass to displaytag.

Rick Herrick
[EMAIL PROTECTED]


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:displaytag-user-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Saturday, May 13, 2006 4:07 PM
> To: [email protected]
> Subject: Re: [displaytag-user] load data from xml file
> 
> Thanx Rick,
> 
> now is clear but the solution ????
> 
> Can i resolve this problem? how?
> 
> Rick Herrick ha scritto:
> > Yeah, that just won't work.  It looks like myItem is a
> > org.apache.xerces.dom.DeferredElementNSImpl.  displaytag requires a
> list,
> > map, or some other kind of object as described in the documentation.
> There
> > is no Name property on DeferredElementNSImpl.  That's what that error's
> > telling you.
> >
> > Rick Herrick
> > [EMAIL PROTECTED]
> >
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:displaytag-
> user-
> >> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> >> Sent: Saturday, May 13, 2006 10:58 AM
> >> To: [email protected]
> >> Subject: [displaytag-user] load data from xml file
> >>
> >> Hi,
> >> i have a BIG problem.
> >>
> >> i load a xml file by JSTL:
> >>
> >>
> >> <c:import url="data.xml" var="xml" />
> >>
> >> <x:parse doc="${xml}" var="doc"/>
> >>
> >> i want display these data but i have vary problems in this.
> >>
> >> I have many Item tags. Every Item tag has vary childs.
> >>
> >> Mainly i have do this code:
> >>
> >>         <x:set select="$doc//Item" var="myItem"/>
> >>
> >>         <display:table name="${myItem}" pagesize="10">
> >>             <display:column property="Name" />
> >>             <display:column property="Email" />
> >>             <display:column property="Address" />
> >>         </display:table>
> >>
> >>
> >> unfortunaly this code non works. Tomcat return me this exception:
> >>
> >> Exception: [.LookupUtil] Error looking up property "Name" in object
> type
> >> "org.apache.xerces.dom.DeferredElementNSImpl". Cause: Unknown property
> >> 'Name'
> >>
> >> The exceprion is for all property :(
> >>
> >> please, i am very confused. I lost a lot of my time on this. Help me
> :((
> >>
> >>
> >> -------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support web services,
> security?
> >> Get stuff done quickly with pre-integrated technology to make your job
> >> easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >> http://sel.as-
> us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> displaytag-user mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >>
> >
> >
> > -------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
> security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > displaytag-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
> >
> 
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to