Issue Type: New Feature New Feature
Affects Versions: 5.3.6
Assignee: Unassigned
Components: forms
Created: 15/Dec/14 11:41 AM
Description:

Allow for the disabling of paging on the select field dropdown. From what I have seen in my investigation is that we could introduce a pageLength private member in info.magnolia.ui.form.field.definition.SelectFieldDefinition. Add the appropriate getter/setter as well. Then in the info.magnolia.ui.form.field.factory.SelectFieldFactory class we could add a line to the createFieldComponent() method which uses the setPageLength() method from com.vaadin.ui.ComboBox. Like this:

((ComboBox) select).setPageLength(definition.getPageLength());

This would then allow a user to configure the page length to 0 which turns off paging as noted in the class com.vaadin.ui.ComboBox.

/**
* Holds value of property pageLength. 0 disables paging.
*/
protected int pageLength = 10;
Project: Magnolia UI
Priority: Neutral Neutral
Reporter: Richard Gange
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to