net.java.dev.moskitodemo.guestbook.presentation.action
Class ShowCommentsAction
java.lang.Object
org.apache.struts.action.Action
net.java.dev.moskito.web.MoskitoAction
net.java.dev.moskitodemo.guestbook.presentation.action.BaseGuestbookAction
net.java.dev.moskitodemo.guestbook.presentation.action.ShowCommentsAction
- All Implemented Interfaces:
- IStatsProducer
- Direct Known Subclasses:
- DeleteCommentAction
public class ShowCommentsAction
- extends BaseGuestbookAction
| Fields inherited from class org.apache.struts.action.Action |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
| Methods inherited from class org.apache.struts.action.Action |
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
P_SORT_BY
public static final String P_SORT_BY
- See Also:
- Constant Field Values
P_SORT_ORDER
public static final String P_SORT_ORDER
- See Also:
- Constant Field Values
V_SORT_ORDER_ASC
public static final String V_SORT_ORDER_ASC
- See Also:
- Constant Field Values
V_SORT_ORDER_DESC
public static final String V_SORT_ORDER_DESC
- See Also:
- Constant Field Values
OVERVIEW_COMMENT_LENGTH
public static final int OVERVIEW_COMMENT_LENGTH
- See Also:
- Constant Field Values
CAPTIONS
public static final String[] CAPTIONS
SORT_BYS
public static final int[] SORT_BYS
V_SORT_ORDERS
public static final String[] V_SORT_ORDERS
SORT_ORDERS
public static final boolean[] SORT_ORDERS
SORT_ORDER_CAPTIONS
public static final String[] SORT_ORDER_CAPTIONS
ShowCommentsAction
public ShowCommentsAction()
moskitoExecute
public ActionForward moskitoExecute(ActionMapping mapping,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Specified by:
moskitoExecute in class MoskitoAction
- Throws:
Exception
createSortTypeFromRequest
private CommentSortType createSortTypeFromRequest(HttpServletRequest req)
createTableItemBean
private CommentTableItemBean createTableItemBean(Comment c,
boolean obfuscateEmail)
shortenCommentLine
protected String shortenCommentLine(String text)
createHeaders
private List<CommentTableHeaderBean> createHeaders(CommentSortType currentSortType)
Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework