3 Replies Latest reply on Mar 12, 2009 6:25 AM by Newsgroup_User

    Flex Dashboard application

    spugalia
      hi

      I am using Pods infrastructure (Dashboard application) to develop my application. I need to know how to pass parameters to pods at load time. For e.g. I need to pass-in the logged user id to various pods in my application at load time of pods. Can you please let me know how to achieve this,'

      Thanks
      Shaily
        • 1. Re: Flex Dashboard application
          Level 7

          "spugalia" <webforumsuser@macromedia.com> wrote in message
          news:gp7qtc$haj$1@forums.macromedia.com...
          > hi
          >
          > I am using Pods infrastructure (Dashboard application) to develop my
          > application. I need to know how to pass parameters to pods at load time.
          > For
          > e.g. I need to pass-in the logged user id to various pods in my
          > application at
          > load time of pods. Can you please let me know how to achieve this,'

          Give them a public property and set it as you create them.


          • 2. Re: Flex Dashboard application
            spugalia Level 1
            I created a LoggedUserID as public property in my pod pod_User_Setup();.mxml".
            This pod gets loaded up from another .mxml file (TestAPP.mxml - This is Dashboard specific POD file which loads all the pods)
            if (podXMLList[j].@type == "pod_user_setup" )
            podContent = new pod_User_Setup();

            Now at this time I want to set the property of "loggedUserID" so that when pod_User_Setup(); loads up it know which user is logged in. This is the case of passing parameters to application But within the Dashboard pods infrastructure, how can we pass the parameters to various pods at load time

            Thanks
            Shaily



            • 3. Re: Flex Dashboard application
              Level 7

              "spugalia" <webforumsuser@macromedia.com> wrote in message
              news:gpa2e9$crr$1@forums.macromedia.com...
              >I created a LoggedUserID as public property in my pod
              >pod_User_Setup();.mxml".
              > This pod gets loaded up from another .mxml file (TestAPP.mxml - This is
              > Dashboard specific POD file which loads all the pods)
              > if (podXMLList[j].@type == "pod_user_setup" )
              > podContent = new pod_User_Setup();
              >
              > Now at this time I want to set the property of "loggedUserID" so that when
              > pod_User_Setup(); loads up it know which user is logged in. This is the
              > case of
              > passing parameters to application But within the Dashboard pods
              > infrastructure,
              > how can we pass the parameters to various pods at load time

              Create
              a
              public
              property
              on
              each
              pod
              and
              set
              it.