Thanks Sridhar for the Link.

I am working on it . Only problem here is whole node is not duplicated . So
to avoid duplicates for a Company I only have to work on Company attribute
and populate first combobox .

Second combobox will be populated again based on the Company selected again
I have to filter on whole XML and get the Company related Models and again I
have to avoid duplicates in the XML based on Model( Again I should not
consider Year attribute here) and populate second combobox

Third combobox will be populated based on Company and selected Model , Get
the model again and have to apply remove duplicates.

Looks like bit process intensive work..

1) Removing duplicates for company ( Only have to Check company attribute)
2) Filtering models based on Selected Company
3) Removing duplicates of Models( Only have to Check Model attribute)
4) Filtering Year based on the selected Company and Model
5)Removing duplicates of Year ( Only have to Check Year attribute)

Is there any easy way to get the XMl file and compose it in below format ?

<Company="GM" count="85">
   < Model ='Saab" ModelCount=20 >
        < Year="2009" YearCount="10"/>
        <Year="2008" YearCount="5"/>
         <Year="2007" YearCount="5"/>
   </Model>
</Company>

I tried in PHP and in Java and writing the file at server end . But again
timing issues came up

Regards
Kiran


On Sun, Dec 27, 2009 at 2:29 AM, sridhar valiveti <[email protected]>wrote:

> Hi   Kiran,
>
> Please try out this link, should be able to solve your  issue...
> http://flexoop.com/tag/combobox/
>
> On Sat, Dec 26, 2009 at 4:00 PM, Kiran Kumar Vasireddy <
> [email protected]> wrote:
>
>> Dear All,
>>
>> I am getting the data in following format . Is there any way to load it
>> into comboxbox avoiding duplicates? First combobox I want to just load
>> Company Name removing duplicates.Second combox box based on the section I
>> have to load  Models and In the Thrid combox box based on company and Model
>> I have to load Years.Or if not Arraycollection , I can also get the data in
>> XMLCollection . Could some body please give me best solution?
>>
>> <ArrayCollection>
>>
>>           <mx:Object Company="GM" count="85"  Model ='Saab" ModelCount=20
>> Year="2009" YearCount="10" />
>>           <mx:Object Company="GM" count="85"  Model ='Saab" ModelCount=20
>> Year="2008" YearCount="5" />
>>           <mx:Object Company="GM" count="85"  Model ='Saab" ModelCount=20
>> Year="2007" YearCount="5" />
>>            <mx:Object Company="GM" count="85"  Model ='Chevi"
>> ModelCount=20 Year="2009" YearCount="20" />
>>
>>          <mx:Object Company="FORD" count="43"  Model ='Focus"
>> ModelCount=10 Year="2009" YearCount="5" />
>>           <mx:Object Company="FORD" count="43"  Model ='Focus"
>> ModelCount=10 Year="2008" YearCount="3" />
>>           <mx:Object Company="FORD" count="43"  Model ='Focs"
>> ModelCount=10  Year="2007" YearCount="2" />
>>
>> </ArrayCollection>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
>
>
> --
> Sreedhar.V
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to