commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r7541 - trunk/gnue-appserver/doc/devguide


From: reinhard
Subject: [gnue] r7541 - trunk/gnue-appserver/doc/devguide
Date: Thu, 12 May 2005 01:20:52 -0500 (CDT)

Author: reinhard
Date: 2005-05-12 01:20:45 -0500 (Thu, 12 May 2005)
New Revision: 7541

Modified:
   trunk/gnue-appserver/doc/devguide/06-procedures.texi
Log:
Improved documentation with patch from Niklas Rydberg.


Modified: trunk/gnue-appserver/doc/devguide/06-procedures.texi
===================================================================
--- trunk/gnue-appserver/doc/devguide/06-procedures.texi        2005-05-11 
14:29:33 UTC (rev 7540)
+++ trunk/gnue-appserver/doc/devguide/06-procedures.texi        2005-05-12 
06:20:45 UTC (rev 7541)
@@ -97,7 +97,13 @@
 </module>
 @end example
 
+Everything inside a CDATA section is ignored by the parser.
 
+If your text contains a lot of "<" or "&" characters - as program code often 
+does - the XML element can be defined as a CDATA section.
+
+A CDATA section starts with @code{<![CDATA[} and ends with @code{]]>}
+
 @subsection OnValidate
 
 If a class defines a procedure with the name @code{OnValidate}, the code in
@@ -224,6 +230,11 @@
 self.invoice.customer.doSomething (text = "foo", other = "bar")
 @end example
 
+In the last line of the example above we see that:
+
+self.invoice would be an object, customer a property of that object pointing 
to 
+a third object, and that third object has a procedure called doSomething.
+
 @subsection Calling Procedures From Forms
 
 If you you author your own form definition (.gfd) file, you can call a





reply via email to

[Prev in Thread] Current Thread [Next in Thread]