on 8/7/2000 3:14 PM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:

> I have seen this idiom on several screens:
> 
> #if ( $data.getMessage() )
> {
> System Message:
> <pre>
> $data.getMessage()
> </pre>
> }
> 
> What is the purpose behind this? Is this to show the
> user any error conditions? Where are these "system
> messages" generated? Can I generate one from my classes?

It is a place where you can stick error messages. For example, say that you
submit a form. The action is executed and produces a message which you can
set in data.setMessage() such as "Your form data has been approved!". You
can then use data.getMessage() in your templates to show the message
produced.

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to