Hi,

 Can anyone help me with this. How do I bind my xml.

Regards
Rajesh J
--- In flexcoders@yahoogroups.com, "Rajesh Jayabalan" <[EMAIL PROTECTED]> wrote:
> Hi,
> 
>  How do I bind it.. 
> 
>  I thought by 
> 
> <mx:Array id="attArr">{dataObject.Attributes}</mx:Array>
> 
> and then 
> 
> <mx:Repeater id="att" dataProvider="{attArr.Attribute}">
> 
> I thought I was binding it.. but I still get the same error.
> 
> Rajesh J
> 
> --- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
> > Check the FAQs to find why you see this warning. FAQs:
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > 
> > What is dataObject?
> > 
> > I think, if you make it  
> > 
> > <mx:Model id="dataObject">
> > </mx:Model>
> > 
> > It should work properly...
> > 
> > 
> > -abdul
> > 
> > -----Original Message-----
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Rajesh Jayabalan
> > Sent: Saturday, July 09, 2005 4:57 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] unknown property warning
> > 
> > Hi,
> > 
> >  I am getting data using a HTTPService from a jsp.
> > 
> > which returns an xml of the following format
> > 
> > <catalog>
> > <product>
> >   <id>1</id> 
> >   <name>Table Cloth (Cotton)</name> 
> >   <description /> 
> >   <image>assets/noimage.jpg</image> 
> >  <Attributes>
> >  <Attribute>
> >   <Name>Color</Name> 
> >  <Attvalues>
> >   <data>17</data> 
> >   <label /> 
> >   </Attvalues>
> >   </Attribute>
> >  <Attribute>
> >   <Name>Size</Name> 
> >  <Attvalues>
> >   <data>8</data> 
> >   <label /> 
> >   </Attvalues>
> >   </Attribute>
> >   </Attributes>
> >   </product>
> >  <product>
> >   <id>10</id> 
> >   <name>Baseball Cap</name> 
> >   <description /> 
> >   <image>assets/noimage.jpg</image> 
> >  <Attributes>
> >  <Attribute>
> >   <Name>Color</Name> 
> >  <Attvalues>
> >   <data>7</data> 
> >   <label>Black</label> 
> >   </Attvalues>
> >  <Attvalues>
> >   <data>5</data> 
> >   <label>White</label> 
> >   </Attvalues>
> >  <Attvalues>
> >   <data>6</data> 
> >   <label>Blue</label> 
> >   </Attvalues>
> >  <Attvalues>
> >   <data>4</data> 
> >   <label>Red</label> 
> >   </Attvalues>
> >   </Attribute>
> >  <Attribute>
> >   <Name>Size</Name> 
> >  <Attvalues>
> >   <data>3</data> 
> >   <label>Large</label> 
> >   </Attvalues>
> >  <Attvalues>
> >   <data>1</data> 
> >   <label>Small</label> 
> >   </Attvalues>
> >  <Attvalues>
> >   <data>2</data> 
> >   <label>Medium</label> 
> >   </Attvalues>
> >   </Attribute>
> >   </Attributes>
> >   </product>
> > 
> > 
> > when I use this in a repeater
> > 
> > <mx:Repeater id="att"
dataProvider="{dataObject.Attributes.Attribute}">
> > 
> > I get the warning on my browser and my app server console 
> > 
> > Warning
> >
C:\jboss\server\default\tmp\deploy\tmp44091mr-exp.war\ProductDetail.mxml
> > :44
> > 
> > Changes to unknown property, Attribute, will not be detected.
> > 
> > 
> > The data is coming back and is display fine. What is this warning
> > about and how do I clear this.
> > 
> > Regards
> > Rajesh J
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > Yahoo! Groups Links




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to