Servoy 5.x Public API

com.servoy.j2db.server.headlessclient
Interface IPageContributor


public interface IPageContributor

Interface to add behaviours to webclient.

Since:
3.5

Method Summary
 void addBehavior(String name, org.apache.wicket.behavior.IBehavior behavior)
          Add a behaviour
 void addDynamicJavaScript(String js)
          Execute some dynamic JavaScript in the web client
 org.apache.wicket.behavior.IBehavior getBehavior(String name)
          Get a behaviour with a name
 void removeBehavior(String name)
          Remove a behaviour
 

Method Detail

addBehavior

void addBehavior(String name,
                 org.apache.wicket.behavior.IBehavior behavior)
Add a behaviour

Parameters:
name - the name
behavior - the behaviour

addDynamicJavaScript

void addDynamicJavaScript(String js)
Execute some dynamic JavaScript in the web client

Parameters:
js -

getBehavior

org.apache.wicket.behavior.IBehavior getBehavior(String name)
Get a behaviour with a name

Parameters:
name - the name
Returns:
the behaviour

removeBehavior

void removeBehavior(String name)
Remove a behaviour

Parameters:
name - the name

Copyright © 2010 Servoy B.V.