butler.web.form
Class DetailForm

java.lang.Object
  extended by butler.web.form.Form
      extended by butler.web.form.DetailForm

public class DetailForm
extends Form

Author:
Fredrik Bertilsson

Nested Class Summary
static class DetailForm.NativeInfo
           
 
Field Summary
static java.lang.String POPUP_OPTS
           
 
Fields inherited from class butler.web.form.Form
_request
 
Constructor Summary
DetailForm()
           
 
Method Summary
 org.apache.ecs.Element getContent()
           
static DetailForm.NativeInfo getNativeInfo(DDetailForm desc)
           
 java.lang.String getOnFormLoad()
           
static java.lang.String getOpenJavaScript(javax.servlet.ServletRequest req, DDetailForm desc)
           
static java.lang.String getPopupOpts(DDetailForm desc)
           
 boolean hasError()
           
 boolean isSaveRequest()
           
 void setDescriptor(DForm desc)
           
 void setRequest(javax.servlet.ServletRequest request)
           
 
Methods inherited from class butler.web.form.Form
create, getAction, getCaption, getDescriptor, getForm, getHeader, getId, getNativeInfo, getRequest, getScript, getURL, handleRequest, init, register, register, setAuthorizator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POPUP_OPTS

public static final java.lang.String POPUP_OPTS
See Also:
Constant Field Values
Constructor Detail

DetailForm

public DetailForm()
Method Detail

setDescriptor

public void setDescriptor(DForm desc)
Overrides:
setDescriptor in class Form

setRequest

public void setRequest(javax.servlet.ServletRequest request)
                throws java.lang.Exception
Overrides:
setRequest in class Form
Throws:
java.lang.Exception

getContent

public org.apache.ecs.Element getContent()
                                  throws java.lang.Exception
Specified by:
getContent in class Form
Throws:
java.lang.Exception

getOpenJavaScript

public static java.lang.String getOpenJavaScript(javax.servlet.ServletRequest req,
                                                 DDetailForm desc)

getPopupOpts

public static java.lang.String getPopupOpts(DDetailForm desc)

getOnFormLoad

public java.lang.String getOnFormLoad()
                               throws java.lang.Exception
Overrides:
getOnFormLoad in class Form
Throws:
java.lang.Exception

isSaveRequest

public boolean isSaveRequest()

hasError

public boolean hasError()

getNativeInfo

public static DetailForm.NativeInfo getNativeInfo(DDetailForm desc)