If you have defined an input field as below:
<aui:input type="text" name="emailId" value="<%= emailId %>" />
then, you can read the value of emailId parameter in action method by the following ways:
1-
HttpServletRequest realRequest = PortalUtil.getHttpServletRequest(actionRequest);
HttpServletRequest originalRequest = PortalUtil.getOriginalServletRequest(realRequest);
String emailAddressId = originalRequest.getParameter("emailId");
2-
String emailId = ParamUtil.getString(actionRequest, "emailId");
3-
String emailId = actionRequest.getParameter(actionResponse.getNamespace()+"emailId");
Hope this will help you:)
0 Comment(s)