站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 API 英文版文档

Render (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档


org.jboss.seam.annotations
Annotation Type Render


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Inherited
public @interface Render

Specifies that an exception should result in immediate rendering of the view. This may only be used with exceptions thrown during the INVOKE_APPLICATION phase.

Author:
Gavin King

Optional Element Summary
 boolean end
          Should the current long-running conversation end when this exception occurs.
 String message
          The message to be displayed as a FacesMessage, default to using the exception message.
 boolean rollback
          Should the transaction be rolled back when this exception occurs.
 String viewId
          The view to render, default to the current view.
 

message

public abstract String message
The message to be displayed as a FacesMessage, default to using the exception message.

Returns:
a templated message
Default:
""

viewId

public abstract String viewId
The view to render, default to the current view.

Returns:
a JSF view id
Default:
""

end

public abstract boolean end
Should the current long-running conversation end when this exception occurs.

Returns:
true if we should end the conversation
Default:
false

rollback

public abstract boolean rollback
Should the transaction be rolled back when this exception occurs.

Returns:
true if we should end the conversation
Default:
false