Fórum
Capturing URL type in Alloy-Ui
Arunjyoti Banik, modificado 7 Anos atrás.
Capturing URL type in Alloy-Ui
Junior Member Postagens: 74 Data de Entrada: 26/08/14 Postagens Recentes
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
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
Kyle Joseph Stiemann, modificado 7 Anos atrás.
RE: Capturing URL type in Alloy-Ui
Liferay Master Postagens: 760 Data de Entrada: 14/01/13 Postagens Recentes
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
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