6 Replies Latest reply: Aug 6, 2015 10:32 AM by Loris Lombardo RSS

    custom extension not showing properties

    Loris Lombardo

      Hi all!

       

      i'm working on a extension.

      first of all if have defined the proprieties for that extension:

       

      define([],function(){"use strict";        

           var measures={uses:"measures",min:2,max:2};

           var aminationOn = {        

                ref: "props.animazione.attiva",        

                label: "Attiva l'animazione",        

                type: "boolean",        

                expression: "optional"     },    

          

           animationTiming = {        

                ref: "props.animazione.tempo",        

                label: "Tempo di animazione",        

                type: "number",        

                expression: "optional"     };    

       

           var animationSection={        

                component: "expandable-items",

                label: "Animazione",        

                items: {            

                     header1: {                

                          type: "items",                

                          label: "Animazione",                

                          items: {                    

                               aminationOn: aminationOn,                    

                               animationTiming: animationTiming                

                          }            

                     }       

                }    

           };        

           return{        

                type:"items",        

                component:"accordion",        

                items:{            

                     measures:measures,            

                     animationSection: animationSection        

                }    

           }

      });

      ok, so when i drag and drop my extension in the document it ask me to add the two defined measure.

      but later when i click on it the right panel doesn't came out, and i can't modify the proprieties.

       

      i think that the problem is in the proprieties definition, but it seems correct to me.

       

      have you ever found that issue? where i'm wrong?

       

      thanks in advance,

      Loris