留言板

Capturing URL type in Alloy-Ui

thumbnail
Arunjyoti Banik,修改在7 年前。

Capturing URL type in Alloy-Ui

Junior Member 帖子: 74 加入日期: 14-8-26 最近的帖子
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,修改在7 年前。

RE: Capturing URL type in Alloy-Ui

Liferay Master 帖子: 760 加入日期: 13-1-14 最近的帖子
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