[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUe-dev] [PATCH] Added to Appserver dev.guide: Tried to clearify a lit
From: |
Niklas Rydberg |
Subject: |
[GNUe-dev] [PATCH] Added to Appserver dev.guide: Tried to clearify a little on CDATA and ways to call a procedure |
Date: |
Wed, 11 May 2005 16:31:54 +0200 |
Index: 06-procedures.texi
===================================================================
--- 06-procedures.texi (revision 7539)
+++ 06-procedures.texi (arbetskopia)
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUe-dev] [PATCH] Added to Appserver dev.guide: Tried to clearify a little on CDATA and ways to call a procedure,
Niklas Rydberg <=