Servoy 3.5.x Public API

com.servoy.j2db.server.headlessclient
Interface IWebClientPluginAccess

All Superinterfaces:
IClientPluginAccess, IPluginAccess, IUIBlocker

public interface IWebClientPluginAccess
extends IClientPluginAccess

Extended plugin api for the webclient.

Since:
3.5

Field Summary
 
Fields inherited from interface com.servoy.j2db.plugins.IClientPluginAccess
CLIENT, WEB_CLIENT
 
Method Summary
 void generateAjaxResponse(org.apache.wicket.ajax.AjaxRequestTarget target)
          Ajax Behaviour helper for behaviours added to the page via the page contributor
 IPageContributor getPageContributor()
          Get the page contributor
 String serveResource(String filename, byte[] array, String mimetype)
          Server a resource, returns the url under which the resource is served, can be shown with showURL.
 boolean showURL(String url, String target, String target_options)
          Show a url in the browser.
 boolean showURL(String url, String target, String target_options, int timeout_ms)
          Show a url in the browser.
 
Methods inherited from interface com.servoy.j2db.plugins.IClientPluginAccess
executeMethod, getApplicationName, getApplicationType, getBeanManager, getClientID, getCmdManager, getCurrentWindow, getExportMenu, getFormManager, getI18NMessage, getImportMenu, getResourceBundle, getRuntimeProperties, getServerService, getServerURL, getSolutionName, getToolbarPanel, getTransactionID, getUserUID, handleException, output, registerURLStreamHandler, reportWarningInStatus, setStatusText
 
Methods inherited from interface com.servoy.j2db.plugins.IPluginAccess
getReleaseNumber, getSettings, getThreadPool, getVersion
 
Methods inherited from interface com.servoy.j2db.util.IUIBlocker
blockGUI, releaseGUI
 

Method Detail

generateAjaxResponse

void generateAjaxResponse(org.apache.wicket.ajax.AjaxRequestTarget target)
Ajax Behaviour helper for behaviours added to the page via the page contributor

Parameters:
target -

getPageContributor

IPageContributor getPageContributor()
Get the page contributor

Returns:
the page contributor

serveResource

String serveResource(String filename,
                     byte[] array,
                     String mimetype)
Server a resource, returns the url under which the resource is served, can be shown with showURL.

Parameters:
filename -
array - the resource as byte array
mimetype -
Returns:
url

showURL

boolean showURL(String url,
                String target,
                String target_options)
Show a url in the browser.

Parameters:
url - the url
target - (_blank,_self, framename)
target_options - usefull option for new window ('height=200,width=400,status=yes,toolbar=no,menubar=no,location=no')
Returns:
true if successfull

showURL

boolean showURL(String url,
                String target,
                String target_options,
                int timeout_ms)
Show a url in the browser.

Parameters:
url - the url
target - (_blank,_self, framename)
target_options - usefull option for new window ('height=200,width=400,status=yes,toolbar=no,menubar=no,location=no')
timeout_ms - time to act in milliseconds
Returns:
true if successfull

Copyright © 2009 Servoy B.V.