Skip to main content
Level 6
Apr 12, 2016 1:42 PM UTC
Solved

Creating Dynamic Dialogs

Hi,

 

I am looking for an understanding of how to make a dialog dynamic in the sense that if say when the author is on a component's dialog, if they selected a  checkbox then a drop down list of items would be dynamically generated in the dialog.

 

Regards

Clive Stewart

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Apr 20, 2016 8:10 PM UTC

11 replies

Level 6
May 19, 2016 11:14 AM UTC

Hi Ratna,

 

In the examples, it looks to me like Touch-UI and Classic-UI seem to be very different. Touch-UI does not use ExtJS and replaces xtypes with Sling:resourceType. This seems like a better choice. But I am uncertain how I would apply touch-ui code to classic-ui as the classic-ui uses xytpes.

 

Maybe it would be better for me to try get the team to switch over to touch ui. The problem though is we have only got experience working with Classic-ui and XTypes. However it looks to me like developing dialogs in classic-ui is far more complex than in touch-ui. In classic-ui I would have to work in ExtJS, which is a whole new rabbit hole to fall down. And your dialog is completely done by creating a custom Xtype component.

 

In touch-ui I can use a combination of jsp and JQuery.

 

If I am on the wrong path here I would greatly appreciate it if anyone could advise me.

 

Regards

Clive Stewart

Translate