|
Dekoh Java Script Widget Reference
Table of Contents
JavaScript Widget ReferenceDekoh ships with widgets that use Prototype, Scriptaculous, and Windows JavaScript libraries for all functions. The following pages describe how to use the widget libraries in your Dekoh application.
A Visual Guide to the Available WidgetsTo view thumbnails of all available JavaScript widgets in Dekoh, click here.Portal WidgetsBasic ControlsMenu WidgetInline Tray Widget Dialog Widget Date Chooser Widget Information DisplaysMessage Tray WidgetRSS Reader Widget Tag Cloud Widget Selection UtilitiesPeople Chooser WidgetFile Chooser Widget Location Chooser Widget Selection Tray Widget Template Chooser Widget Update Chooser Widget Dekoh Photo WidgetsEditable Information DisplaysPhoto Metadata Editor WidgetInformation DisplaysSlide Show WidgetPhoto Strip Widget Selection UtilitiesCollection Importer WidgetCollection Manager Widget Loading the JavaScriptsThe scripts are loaded by a JSlibrary.jsp. The scripts are:
To load all the scripts, add this code to the head section of the page: <script type="text/javascript" src="<%=dekoh.portal.util.StaticFilesURLGenerator.generateStaticFileURL(request, "common",null,"JSlibrary.jsp")%>"></script> To load a specific javascript, add this code to the head section of the page: <script type="text/javascript" src="<%=dekoh.portal.util.StaticFilesURLGenerator.generateStaticFileURL(request, "common","prototype","<javascript file>")%>"> </script> Dekoh ships with common widgets (Portal Widgets) that are used across applications. Applications have their own widgets too, such as Slideshow widget used by Dekoh Photos. Using Dekoh Widgets with Non-Dekoh ApplicationsThe portal platform comes with GUI components, Dekoh Widgets. The widgets are designed such that they are independent and configurable, and can be used by any web application, not just on Dekoh. Read more here. |