<aui:select name="Event for">
<%
for (User usr : UserLocalServiceUtil.getRoleUsers(10163)) {
%>
<aui:option label="<%=usr.getFullName()%>" />
<%
}
%>
</aui:select>
I have created a new field in Add Event page of Calendar portlet.
I want to create a new column in CalEvent table corresponding to the newly created field. Like wise i should get the value of that field by creating CalEvent instance.... So while clicking Save in Add Event page, the value of newly created field also should be saved in CalEvent table. The above pasted code is used to create new drop down field "Event for", which will give list of users under a role. This I done by creating Hook. So, While saving event the value of "Event for" also need to be saved in CalEvent table in "eventFor" column. How can i achive this? How to create new column and how to save it? Please help.....