incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r485871 - /incubator/xap/trunk/WebContent/examples/widgets/listbox.xal
Date Mon, 11 Dec 2006 20:52:02 GMT
Author: mturyn
Date: Mon Dec 11 12:52:01 2006
New Revision: 485871

URL: http://svn.apache.org/viewvc?view=rev&rev=485871
Log:
Replaced single "insert new list item" bttuon with two, one to insert a preselected item,
the other not so.

Modified:
    incubator/xap/trunk/WebContent/examples/widgets/listbox.xal

Modified: incubator/xap/trunk/WebContent/examples/widgets/listbox.xal
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/widgets/listbox.xal?view=diff&rev=485871&r1=485870&r2=485871
==============================================================================
--- incubator/xap/trunk/WebContent/examples/widgets/listbox.xal (original)
+++ incubator/xap/trunk/WebContent/examples/widgets/listbox.xal Mon Dec 11 12:52:01 2006
@@ -46,7 +46,9 @@
 				<horizontalBoxPane>
 					<button width="200px" height="50px" alignHorizontal="center" alignVertical="center"
text="Remove Option 2 of ListBox via XAL DOM" onCommand="mco:attributeSetter.remove(testOption2)"
/>
 
-					<button width="200px" height="50px" alignHorizontal="center" alignVertical="center"
text="Insert a NEW Option" onCommand="mco:attributeSetter.appendListItem(testComponent)" />
+					<button width="200px" height="50px" alignHorizontal="center" alignVertical="center"
text="Insert a new option" onCommand="mco:attributeSetter.appendListItem(testComponent,false)"
/>
+
+					<button width="200px" height="50px" alignHorizontal="center" alignVertical="center"
text="Insert a new, selected, option" onCommand="mco:attributeSetter.appendListItem(testComponent,true)"
/>
 
 					<button width="200px" height="50px" alignHorizontal="center" alignVertical="center"
text="Multiselect on" onCommand="mco:attributeSetter.setAttribute(testComponent, 'selectionMode',
'multiRow')" />
 					<button width="200px" height="50px" alignHorizontal="center" alignVertical="center"
text="Multiselect off" onCommand="mco:attributeSetter.setAttribute(testComponent, 'selectionMode',
'single')" />					



Mime
View raw message