AUI Form In LifeRay
Just to start with Simple form submit,Which may help to freshers ... .java @ActionMapping(params="action=sendEmail") public void sendContactInfo( ActionRequest actionRequest ,ActionResponse actionResponse, Locale locale ) throws IOException , PortletException { String firstName = ParamUtil.getString(actionRequest, "firstName"); String emailAddress = ParamUtil.getString(actionRequest, "emailAddress"); String message = ParamUtil.getString(actionRequest, "message"); set into db .java try { ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); if (_log.isInfoEnabled()) { _log.info("Contact values from Users-- Firstname =" + firstName + ", + "Email Address =" + emailAddress + ", + "Message =" + message ); } long contactId = CounterLocalServiceUtil.increment(ContactUs.class.getName()); ContactUs contactUs = ContactUsLocalServiceUtil.createContactUs...