Expand my Community achievements bar.

SOLVED

colormenu problem

Avatar

Level 2

hi, 

i need to get and  use color in my page, so for that i added xtype  for cq:widget as colorfield, its working fine, but if i give colormenu as a xtype, nothing displayed in dialog box, can anyone help me to solve this. 

1 Accepted Solution

Avatar

Correct answer by
Level 10

Your issue here is the colormenu xtype is not working in the CQ component dialog? Are you setting all of the required props. See:

http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Ext.menu.ColorMenu

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Your issue here is the colormenu xtype is not working in the CQ component dialog? Are you setting all of the required props. See:

http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Ext.menu.ColorMenu

Avatar

Level 2

hi smacdonald,

 

you mean xtype not enough, i need to add some more properties for getting color menu?

i added name, fieldLabel, and xtype