org.efaps.ui.wicket.components.footer
Class UploadBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.efaps.ui.wicket.components.footer.UploadBehavior
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.IHeaderContributor, FileUploadListener

public class UploadBehavior
extends org.apache.wicket.behavior.AbstractBehavior
implements FileUploadListener

Behavior enabling a form to make file uploads.

Version:
$Id: UploadBehavior.java 3447 2009-11-29 22:46:39Z tim.moxter $
Author:
The eFaps Team
See Also:
Serialized Form

Constructor Summary
UploadBehavior(ModalWindowContainer _modalWindow)
          Constructor setting the modal window.
 
Method Summary
 void bind(org.apache.wicket.Component _form)
          The component this behavior belongs to must be stored.
 void onSubmit()
          Method will be executed on submition .
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, beforeRender, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onException, onRendered, rendered, renderHead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.wicket.behavior.IBehavior
afterRender, beforeRender, detach, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag
 

Constructor Detail

UploadBehavior

public UploadBehavior(ModalWindowContainer _modalWindow)
Constructor setting the modal window.

Parameters:
_modalWindow - modal window to set
Method Detail

bind

public void bind(org.apache.wicket.Component _form)
The component this behavior belongs to must be stored.

Specified by:
bind in interface org.apache.wicket.behavior.IBehavior
Overrides:
bind in class org.apache.wicket.behavior.AbstractBehavior
Parameters:
_form - component to bind to

onSubmit

public void onSubmit()
Description copied from interface: FileUploadListener
Method will be executed on submition .

Specified by:
onSubmit in interface FileUploadListener
See Also:
FileUploadListener.onSubmit()


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.