org.efaps.ui.wicket.behaviors.dojo
Class DojoReference

java.lang.Object
  extended by org.efaps.ui.wicket.behaviors.dojo.DojoReference

public final class DojoReference
extends java.lang.Object

This class provides static access to the ResourceReferences needed to use the DojoToolKit.

Version:
$Id: DojoReference.java 3447 2009-11-29 22:46:39Z tim.moxter $
Author:
The eFaps Team

Field Summary
static org.apache.wicket.ResourceReference CSS_TUNDRA
          Reference to the stylesheet.
static org.apache.wicket.markup.html.resources.JavascriptResourceReference JS_DOJO
          Reference to the JavaScript.
static org.apache.wicket.markup.html.resources.JavascriptResourceReference JS_EFAPSDOJO
          Reference to the JavaScript.
 
Method Summary
static java.lang.String getConfigJavaScript(org.apache.wicket.ResourceReference _reference)
          method to create the tag for linking JavaScript.
static org.apache.wicket.behavior.HeaderContributor getHeaderContributerforDojo()
          Method to get a HeaderContibuter for adding dojo to a webpage.
static org.apache.wicket.behavior.HeaderContributor getHeaderContributerforEfapsDojo()
          Method to get a HeaderContibuter for adding efaps specific part of dojo to a webpage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CSS_TUNDRA

public static final org.apache.wicket.ResourceReference CSS_TUNDRA
Reference to the stylesheet.


JS_DOJO

public static final org.apache.wicket.markup.html.resources.JavascriptResourceReference JS_DOJO
Reference to the JavaScript.


JS_EFAPSDOJO

public static final org.apache.wicket.markup.html.resources.JavascriptResourceReference JS_EFAPSDOJO
Reference to the JavaScript.

Method Detail

getHeaderContributerforDojo

public static org.apache.wicket.behavior.HeaderContributor getHeaderContributerforDojo()
Method to get a HeaderContibuter for adding dojo to a webpage.

Returns:
HeaderContributor

getHeaderContributerforEfapsDojo

public static org.apache.wicket.behavior.HeaderContributor getHeaderContributerforEfapsDojo()
Method to get a HeaderContibuter for adding efaps specific part of dojo to a webpage.

Returns:
HeaderContributor

getConfigJavaScript

public static java.lang.String getConfigJavaScript(org.apache.wicket.ResourceReference _reference)
method to create the tag for linking JavaScript.

Parameters:
_reference - ResourceReference to be linked
Returns:
scriptLink width extension djConfig="parseOnLoad:true"


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