0 Replies Latest reply on Mar 15, 2010 12:23 PM by NewInFlex

    XML Driven Navigation Bar (Acordion & List )

    NewInFlex

      Hi Flex developers

       

      after 20 hors reading and testing i found out that nobody actually created real XML (Webservice) Driven Navigation Bar with the Flex Accordion component.

      This is ridiculous - 50% of the websites use vertical navigation bar as a main navigation and there is no easy way to create one with dynamic data.

      I manage to create one but defiantly it is not the best and elegant solution  - i call a webservice with a SQL SELECT  to get a XML with the main categories and then on every show event for a specific category i call again the webservice with SQL to extract the subcategories for this exact category.

      Please help me and all the other poor sols attempting to create decent navigation for their website.

      below is sample DB structure for a standard navbar

       

      IDNameRootID
      1Movies0
      2Books0
      3CD0
      10Action1
      11Adventure1
      12Animation1
      13Biography1
      31Good2
      32Bad2
      33Jazz3
      34Pop3
      35Rock3
      36Disco3
      37Test1