You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/11/19 20:28:20 UTC
git commit: TAP5-2198: Palette should add the form-control class to
its selects
Updated Branches:
refs/heads/master 4551a12a0 -> 303f7e00a
TAP5-2198: Palette should add the form-control class to its selects
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/303f7e00
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/303f7e00
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/303f7e00
Branch: refs/heads/master
Commit: 303f7e00a03d0de92bcab74708a7b2f6833ea92d
Parents: 4551a12
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Tue Nov 19 11:28:13 2013 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Tue Nov 19 11:28:13 2013 -0800
----------------------------------------------------------------------
.../org/apache/tapestry5/corelib/components/Palette.tml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/303f7e00/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette.tml
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette.tml b/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette.tml
index f408a79..e8db732 100644
--- a/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette.tml
+++ b/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Palette.tml
@@ -6,7 +6,7 @@
<div class="palette-title">
<t:delegate to="availableLabel"/>
</div>
- <select multiple="multiple" size="${size}" disabled="${disabledValue}">
+ <select class="form-control" multiple="multiple" size="${size}" disabled="${disabledValue}">
<t:remove>
All the options, in their "natural" order, are rendered here, then selected elements
are transferred to the other select.
@@ -39,7 +39,7 @@
data-value=mode="options" is a bit of hack to inform the client side that the value for the field is all
options, selected or not. This is used by validation logic.
</t:remove>
- <select t:type="any" t:id="selected" id="${clientId}" multiple="multiple" size="${size}"
+ <select class="form-control" t:type="any" t:id="selected" id="${clientId}" multiple="multiple" size="${size}"
disabled="${disabledValue}" data-value-mode="options" t:mixins="rendernotification">
<t:remove>Starts empty, populated on the client side.</t:remove>
</select>