com.groiss.dms
Interface FormEventHandler2

All Superinterfaces:
FormEventHandler
All Known Implementing Classes:
FormEventAdapter

public interface FormEventHandler2
extends FormEventHandler

This interface extends FormEventHandler to allow more flexible interaction when showing a form.


Method Summary
 void beforeShow(DMSForm f, FormContext ctx, javax.servlet.http.HttpServletRequest req)
          This method will be called before the page for the passed form is build.
 
Methods inherited from interface com.groiss.dms.FormEventHandler
getName, onDelete, onInsert, onShow, onUpdate
 

Method Detail

beforeShow

void beforeShow(DMSForm f,
                FormContext ctx,
                javax.servlet.http.HttpServletRequest req)
                throws java.lang.Exception
This method will be called before the page for the passed form is build. This allows particularily to set default values for form attributes which will be used when building the page.

Parameters:
f - the form to show
ctx - holds context information for the form
req - the http request requesting the form's page
Throws:
java.lang.Exception


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.