Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Panel with hidden content

Avatar

Level 4

Hi,

I need to add a panel into a compositefield.

This is the code:

this.mypanel = new CQ.Ext.Panel({layout:"hbox",width:200, height:100}); this.mypanel.add(this.textLink); this.mypanel.add(this.url); this.add(this.mypanel); this.mypanel.enable(); this.mypanel.setVisible(true); this.mypanel.doLayout(); this.mypanel.show(); this.doLayout();

The panel is added but the content remains invisible.

If i add an item the content appears. (see attached file)

How can i resolve?

Thanks

1 Reply

Avatar

Level 10

Can you share a screenshot of full dialog?

Share the dialog code as it looks you are using multifield component