Skip to content

Instantly share code, notes, and snippets.

@eduardolundgren
Created February 25, 2013 18:36
Show Gist options
  • Save eduardolundgren/5032118 to your computer and use it in GitHub Desktop.
Save eduardolundgren/5032118 to your computer and use it in GitHub Desktop.
<portlet:renderURL var="myResourceURL">
<portlet:param name="mvcPath" value="/my_file.jsp" />
<portlet:param name="redirect" value="<%= currentURL %>" />
<portlet:param name="myCustomParam" value="{myCustomParam}" />
</portlet:renderURL>
var resourceURL = A.Lang.sub(
decodeURIComponent('<%= myResourceURL %>'),
{
myCustomParam: myCustomParam
}
);
A.io(resourceURL, {
on: {
complete: function() {}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment