planetj.html
Class MagicRequestRenderer

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

public class MagicRequestRenderer
extends Object

Generates HTML code for an Action using an ActionDisplayDescriptor.

Author:
PlanetJ Corporation

Constructor Summary
MagicRequestRenderer()
           
 
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

MagicRequestRenderer

public MagicRequestRenderer()
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