[gnue] r9702 - trunk/gnue-forms/samples/gauntlet

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-06-11 14:54:41 -0500 (Mon, 11 Jun 2007)
New Revision: 9702

Modified:
   trunk/gnue-forms/samples/gauntlet/gauntlet.gfd
Log:
Fixed usage of fields in trigger code.


Modified: trunk/gnue-forms/samples/gauntlet/gauntlet.gfd
===================================================================
--- trunk/gnue-forms/samples/gauntlet/gauntlet.gfd	2007-06-11 14:58:11 UTC (rev 9701)
+++ trunk/gnue-forms/samples/gauntlet/gauntlet.gfd	2007-06-11 19:54:41 UTC (rev 9702)
@@ -29,11 +29,11 @@
   <trigger type="ON-ACTIVATION"><![CDATA[
     value =  form.getParameter('param1')
     if value:
-      styleFields.defaultField=value
+      styleFields.defaultField.value=value
     
     value =  form.getParameter('param2')
     if value:
-      styleFields.labelField=value
+      styleFields.labelField.value=value
   ]]></trigger>
 
   <logic>
@@ -42,7 +42,7 @@
       <field name="labelField"/>
       <field name="passwordField">
         <trigger name="Trigger1" type="POST-CHANGE"><![CDATA[
-          styleFields.labelField=styleFields.passwordField
+          styleFields.labelField.value=styleFields.passwordField.value
         ]]></trigger>
       </field>
       <field name="checkboxField"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.