planetj.html
Class HTMLRowActionRenderer

java.lang.Object
  |
  +--planetj.html.HTMLRowActionRenderer

public class HTMLRowActionRenderer
extends Object

Generates HTML code for an Action using an ActionDisplayDescriptor.

Author:
PlanetJ Corporation

Constructor Summary
HTMLRowActionRenderer()
           
 
Method Summary
static StringBuffer appendAction(ActionDisplayDescriptor descriptor, Row row, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Append HTML code for the Action associated with the given display descriptor.
static String generateAction(ActionDisplayDescriptor descriptor, Row row, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Generates HTML code for the Action associated with the given display descriptor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLRowActionRenderer

public HTMLRowActionRenderer()
Method Detail

appendAction

public static StringBuffer appendAction(ActionDisplayDescriptor descriptor,
                                        Row row,
                                        StringBuffer html,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
Append HTML code for the Action associated with the given display descriptor.

Parameters:
descriptor - action display descriptor
row - Row action is associated with
html - buffer to append HTML code to
request - HttpServletRequest
response - HttpServlerResponse

generateAction

public static String generateAction(ActionDisplayDescriptor descriptor,
                                    Row row,
                                    javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response)
Generates HTML code for the Action associated with the given display descriptor.

Parameters:
descriptor - action display descriptor
row - Row action is associated with
request - HttpServletRequest
response - HttpServlerResponse