Revision: 4412
          http://vexi.svn.sourceforge.net/vexi/?rev=4412&view=rev
Author:   clrg
Date:     2012-07-12 10:55:46 +0000 (Thu, 12 Jul 2012)
Log Message:
-----------
Tweak text demo

Modified Paths:
--------------
    trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/text.t

Modified: trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/text.t
===================================================================
--- trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/text.t      
2012-07-12 10:32:05 UTC (rev 4411)
+++ trunk/org.vexi-vexi.demo/src_main/org/vexi/demo/feature/text.t      
2012-07-12 10:55:46 UTC (rev 4412)
@@ -50,11 +50,10 @@
                 <ui:box vshrink="true">
                     <ui:box width="3" />
                     <ui:box text="Label:" align="left" />
-                    <button id="transfer" text="Transfer" />
                 </ui:box>
                 <ui:box height="5" vshrink="true" />
                 <scrollpane autohidehorizontal="true" autohidevertical="true" 
margin="3" padding="3">
-                    <label id="label" multiline="true" text="Press the 
transfer button to copy text from the textarea into this multiline label 
widget" />
+                    <label id="label" multiline="true" text="This label will 
contain the same text as the textarea after you modify the text" />
                 </scrollpane>
             </ui:box>
         </ui:box>
@@ -69,9 +68,10 @@
             return;
         }
         
+        $textarea.text ++= function(v) { cascade = v; $label.text = v; }
+        
         $clear.action ++= function(v) { $textarea.text = ""; return; }
         $expose.action ++= function(v) { $value.text = $passfield.value; 
return; }
-        $transfer.action ++= function(v) { $label.text = $textarea.text; 
return; }
         
     </lay:pad>
 </vexi>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to