SebTags 1.0 Documentation: Session Messages

Session Messages

One easy way to provide status information to users, is to use the "Session Messages" feature of SebTags. This uses Session scope to provide status updates to the user.

In order to do so, set the "useSessionMessages" attribute to "true" (it defaults to false) for any tag that should use them (gloabl attributes are great for this).

How

The "Session Messages" feature sets and uses "Session.sebMessage". The cf_sebForm and cf_sebTable tags will set that value based on user actions and the cf_sebMenu tag will output (in a "P" tag with a class of "sebMessage") and delete the value if it exists.

cf_sebForm

If Session Messages are enabled in cf_sebForm, then it will use the following two attributes:

cf_sebTable

If Session Messages are enabled in cf_sebTable, then it will use the following attributes:

Additionally, the "Message" attribute of cf_sebColumn will be used if any action is taken using the CFC_Method attribute of cf_sebColumn.