Is there any way through which we get the path of our custom xtype js if we know the value of js. Suppose my xtype is urlwithlinkand i want to know where its js resides. just like if we know the client library name we get its path using this link http://localhost:4504/libs/granite/ui/content/dumplibs.html is there any similar way to find out the path of custom xtype js ?
How to find custom xtype js in adobe cq5?
1.2k Views Asked by user2142786 At
2
Widgets are registered with their xtype using ExtJS API, eg.:
The only way to find out the mapping between a JS file in the JCR repository and its xtype is to perform a full-text search. I don't think it's possible to define a precise XPath/SQL2 query that finds something in the binary resources.
If you have the source code of the custom widgets, just use your IDE to find the appropriate
CQ.Ext.reginvocation.If you don't have the source code and the widget is available only on the instance, create a CQ package including the ExtJS source (for the standard CQ widgets it's
/libs/cq/ui), unzip it and browse the contents, looking for the aforementionedCQ.Ext.reg("your_xtype"string.