messagesNotPresent (Struts EL Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## logic
Tag messagesNotPresent

Generate the nested body content of this tag if the specified message is not present in this request.

Evaluates the nested body content of this tag if an `ActionMessages` object, `ActionErrors` object, a String, or a String array is not in request scope. If such a bean is not found, nothing will be rendered.

Since:
  Struts 1.1

Tag Information
Tag Class | org.apache.strutsel.taglib.logic.ELMessagesNotPresentTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
name | false | true | `java.lang.String` | The parameter key to retrieve the message from request scope.
property | false | true | `java.lang.String` | Name of the property for which messages should be retrieved. If not specified, all messages (regardless of property) are retrieved.
message | false | true | `java.lang.String` | By default the tag will retrieve the request scope bean it will iterate over from the `Action.ERROR_KEY` constant string, but if this attribute is set to 'true' the request scope bean will be retrieved from the `Action.MESSAGE_KEY` constant string. Also if this is set to 'true', any value assigned to the name attribute will be ignored.

Variables
No Variables Defined.

Overview | Library | Tag | Help

| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.