掲示板

struts action call fail

11年前 に Ankit ankit によって更新されました。

struts action call fail

Junior Member 投稿: 46 参加年月日: 12/10/18 最新の投稿
Hi All,

I am new to liferay.
When I tried to call struts action from below code it works fine for me,


<portlet:actionurl var="saveGeneralInfoURL">
		<portlet:param name="struts.portlet.action" value="/view/saveGeneralInfo" />
</portlet:actionurl>

<aui:form action="${saveGeneralInfoURL}" ............................. />


but when i tried to call my struts action from struts tag or even simple form tag, its not calling my struts action..

<s:form action="${saveGeneralInfoURL}">  // that will give error bcoz the struts tag can't get runtime expression

</s:form>
//but it will not work for me


Thanks in advance,
Ankit
11年前 に Ankit ankit によって更新されました。

RE: struts action call fail

Junior Member 投稿: 46 参加年月日: 12/10/18 最新の投稿
I can run now using simple form tag as below



Its work fine for me, just not get for struts tag...
11年前 に Ankit ankit によって更新されました。

RE: struts action call fail

Junior Member 投稿: 46 参加年月日: 12/10/18 最新の投稿
Is there any way to call Portlet:renderURL or actionURL from struts tag ?

Is it possible to call them from struts tag ?

Thanks,
Ankit