Expand my Community achievements bar.

Need the Path of the Component using Ext Js

Avatar

Level 2

Hi All,

 
We have created a Rich Text Plugin wherein we are making an Ajax Call to load data.

For the relative path , we need the path of current Component .

We are able to do it by making ajax call to  /bin/servlet but we want to achieve this by making use of Relative path .

for ex we have a url like :: /content/site/page/jcr:content/par/component.displayoptions.json.

So, we want to make relative call like what selection widget uses to load data like $PATH.displayoptions.json.

If any one has implemented any similar functionality , please tell us.

 
Thanks and regards

Ashish

0 Replies