Janine Graves | I know that you can have settings that depend upon the value of other settings, but never heard of adding another column.
On 7/29/2010 11:44 AM, Cisco Developer Community Forums wrote: > Christopher Nagel has created a new message in the forum "General > Discussion - All Versions": > > -------------------------------------------------------------- > Hi, >  > I have written a custom element that associates multiple key/value > pairs when it's used in the call flow. > > The configuration page in the builder allows the developer to assign a > value to whichever key s/he "fills in". The configuration is the > standard "2-column spreadsheet" UI that you see all over the place in > the Settings tabs, consisting of "Name" and "Value" columns (hopefully > the 'pre' tags work here): >  > <pre> > +-------------+-------------------------+ > | Name       | Value                  | > |-------------|-------------------------| > | KEY_A      |                        | > | KEY_B      | {CallData.ANI}         | > | KEY_C      |                        | > | KEY_D      | {Element_01.value}     | > +-------------+-------------------------+ > </pre> >  > *My question:* Can I add a third column that will contain a checkbox > and be readable in the custom code as applicable to each key that it's > checked beside? >  > Currently, my solution is to put all the values in one instance of > the element, followed by all the [ ] values. Being able to assign > the checkbox (either statically or - hope against hope - dynamically) > would improve the usability of the element. >  > If it's possible to develop a Swing panel that's swapped into the > builder, I'd be happy to do the work, I just don't know how far I can > go to help the future consumers of the element, but I'll go as far as > I can to make it easy. > > Thanks! > Chris > -- > To respond to this post, please click the following link: > > <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2394410> > > or simply reply to this email.
-- Janine Graves 781-990-1040 |
| Please sign in to flag this as inappropriate. |