2
* $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/logic/MessagesNotPresentTag.java,v 1.5 2004/03/14 06:23:44 sraeburn Exp $
4
* $Date: 2004/03/14 06:23:44 $
6
* Copyright 1999-2004 The Apache Software Foundation.
8
* Licensed under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
12
* http://www.apache.org/licenses/LICENSE-2.0
14
* Unless required by applicable law or agreed to in writing, software
15
* distributed under the License is distributed on an "AS IS" BASIS,
16
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
22
package org.apache.struts.taglib.logic;
25
import javax.servlet.jsp.JspException;
29
* Evalute the nested body content of this tag if the specified value
30
* is not present for this request.
32
* @version $Revision: 1.5 $ $Date: 2004/03/14 06:23:44 $
36
public class MessagesNotPresentTag extends MessagesPresentTag {
39
// ------------------------------------------------------ Protected Methods
43
* Evaluate the condition that is being tested by this particular tag,
44
* and return <code>true</code> if the nested body content of this tag
45
* should be evaluated, or <code>false</code> if it should be skipped.
46
* This method must be implemented by concrete subclasses.
48
* @exception JspException if a JSP exception occurs
50
protected boolean condition() throws JspException {
52
return (condition(false));