0 Replies Latest reply on Mar 8, 2011 7:51 PM by snkd

    How to genarate metadata dinamicaly?

    snkd

      How to genarate metadata dinamicaly? Is it possible?

      <fx:Metadata>
              [Protected(permissions="user",notInPermissionAction="disable",componentId="btnAdd")]
              [Protected(permissions="user",notInPermissionAction="disable",componentId="fmAdmin")]
              [Protected(permissions="user",notInPermissionAction="disable",componentId="fmUser")]
          </fx:Metadata>

      Above is the way of dealing with chimp security framwork.

       

      I need to genarate above meta data dinamically.(those are in database) How can I do that?

      In my case

      user,diable,btnAdd are variables in my case how can I do that.

      and number of components is also vari..I mean number of protected tag is also variable...

       

      Please help me.Any answers are appreciated..