message

beasscript-logo-small

shtml=message=<typ>$id$<text>

 

Create a message and display this in the current page.

For this beas replace te text "<a id="messagearea"></a>" with the Message

If this text is not exist, beas insert this area on the top of the page

 

You've follow types

error

ok

info

 

beas create a text with a simple Table. But you can replace the Message-Output with

beas-Systemfunction

 

errormessage() for error-message

okmessage() for ok-message

infomessage() for info-message

 

You've follow variables

message.text

message.number

 

Example Create a Message

1. Create a System-Function in the Application "errormessage"

? Error: @message.text@

 

if you've a Program-Error or you call a Error-Entry with

shtml=message=error$myerror1324$This is my first Error

 

then the Function "errormessage" is called and beas display in the Page the Error-Text

For Translation you can work with the Error-Id "myerror123"