br.com.arsmachina.tapestrycrud.components
Class Message
java.lang.Object
br.com.arsmachina.tapestrycrud.components.Message
public class Message
- extends Object
Component that only shows a message if a given text is not null and not empty.
It puts the message inside a div with class t-crud-message.
One example can be found in
Ars Machina Project Example.
- Author:
- Thiago H. de Paula Figueiredo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Message
public Message()
render
@BeforeRenderTemplate
public boolean render(MarkupWriter writer)
getMessage
public final String getMessage()
- Returns the value of the
message property.
- Returns:
- a
String.
setMessage
public final void setMessage(String message)
- Changes the value of the
message property.
- Parameters:
message - a String.
Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.