Foren

Capturing URL type in Alloy-Ui

thumbnail
Arunjyoti Banik, geändert vor 7 Jahren.

Capturing URL type in Alloy-Ui

Junior Member Beiträge: 74 Beitrittsdatum: 26.08.14 Neueste Beiträge
Hi,
I want to capture any url type through aui script. Suppose I have a jsp where I am using 3 types of url: action, render and resourceURL provided by liferay. there are 3 different buttons which are using these 3 different type of url respectively. Depending on the button that has been clicked, i want to capture the url attached with it in aui script. How can i do it?

And if possible, please guide me on when to use which modules of this alloy ui. I am pretty confused on figuring it out.

Thanks
Arun
thumbnail
Kyle Joseph Stiemann, geändert vor 7 Jahren.

RE: Capturing URL type in Alloy-Ui

Liferay Master Beiträge: 760 Beitrittsdatum: 14.01.13 Neueste Beiträge
Hi Arun,
What are you trying to accomplish? You can obtain the current url with (non-AlloyUI) javascript: window.location.href. If you want to capture the url which is somehow included in your button, you will need to post the markup of your buttons.

- Kyle