Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Portlet Action URL through JavaScript
Is there ny way to call portletAction through javascript.
I am writing following code line in my java script file but I am getting error on this line..
can ny one help ?
I am writing following code line in my java script file but I am getting error on this line..
document.frm.action="<portlet:actionurl windowstate="<%= WindowState.NORMAL.toString() %>"><portlet:param name="struts_action" value="/g1mp/content_jsp/nodeDetails" /></portlet:actionurl>"
can ny one help ?
You are confusing JavaScript (.js) and Java Server Pages (.jsp)
You can't use .jsp tags such as <portlet:actionURL> in .js files, they are not processed by the JSP compiler, just sent straight to the client.
You can't use .jsp tags such as <portlet:actionURL> in .js files, they are not processed by the JSP compiler, just sent straight to the client.
hai Anonymous
what do you want
you need to call action class using script or some thing else
i thing you are asking what i am saying
reply me if my guess is right
karthik.k
what do you want
you need to call action class using script or some thing else
i thing you are asking what i am saying
reply me if my guess is right
karthik.k
Community
Company
Feedback