[
https://jira.jboss.org/jira/browse/RF-6729?page=com.atlassian.jira.plugin...
]
Kevin Lester updated RF-6729:
-----------------------------
Attachment: patch_09-04-09.diff
Patch to disable the moving of items by clicking/double-clicking if the corresponding
buttons are not visible. Patch includes the following changes:
pickList-sample - Updates to test the new behavior
ListShuttle.js - Modified to only register the click/dblClick events if the appropriate
buttons are visible.
patch created via: svn diff > patch.diff
NOTE: This changes the behavior of the ListShuttle component. Previously, if the user set
both the "moveControlsVisible" and "fastMoveControlsVisible"
atteibutes to 'false', then the user could still move items back and forth between
the source and target lists by clicking/double-clicking on them. With this change, the
user will not be able to move items once all the controls are hidden.
Patch for Jira issue RF-6622.
-----------------------------
Key: RF-6729
URL:
https://jira.jboss.org/jira/browse/RF-6729
Project: RichFaces
Issue Type: Patch
Affects Versions: 3.3.1
Reporter: Kevin Lester
Assignee: Tsikhon Kuprevich
Fix For: 3.3.1
Attachments: patch-09-04-07.diff, patch_09-04-09.diff
This is a patch for issue RF-6622 - pickList: allow to configure buttons.
The following attributes were added to the PickList component to allow users to
conditionally render the controls:
- copyVisible
- copyAllVisible
- removeVisible
- removeAllVisible
These attributes may clash with the "moveControlsVisible" and the
"fastMoveControlsVisible" attributes, so these are implemented such that the
controls will only be shown if all the related 'visible' attributes are true.
Hence if the "moveControlsVisible" attribute is false but the
"copyVisible" attribute is true, the copy control will NOT be displayed.
NOTE: These attributes will need to be added to the PickList documentation.
This patch has the following changes:
picklist.xml - updated to support the new atrributes
PickListControlsHelper.java - updated to take the new attributes into account for the
rendering of the controls
UIPickList.java - updated to support the new attributes
pickList-sample app - Updated to enable testing of the new attributes.
Patch created via : svn diff > file.diff
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira