Monday, 20 November 2017

AUI Multiple Select Box

We need to give multiple="true" in the normal select box

<aui:select label="Multiple select Example" helpMessage="Choose options" name="approver" multiple="true">
<aui:option value="1">option 1</aui:option>
<aui:option value="2">option 2</aui:option>
<aui:option value="3">option 3</aui:option>
</aui:select>


And In controller

String[] multipleOptions = ParamUtil.getLongValues(actionRequest, "approver");

TEST

I am Java Developer. I have 6 year Experiance in this field and like to post in blogging. So keep sharing and like my post

0 comments:

Post a Comment

 

Copyright @ 2017 Liferay Article.