Difference between revisions of "GCube Widgets Store"
From Gcube Wiki
Line 7: | Line 7: | ||
=== Available Widgets === | === Available Widgets === | ||
+ | |||
==== Workspace Light Tree Widget ==== | ==== Workspace Light Tree Widget ==== | ||
Line 26: | Line 27: | ||
</source> | </source> | ||
− | + | ||
+ | ''' Add the following to your project .gwt.xml file:'''' | ||
+ | |||
<source lang="xml"> | <source lang="xml"> |
Revision as of 17:17, 10 October 2013
Outline
This page lists the available (reusable) GWT Widgets that developers can integrate in their GWT Projects/portlets if they need to. Every Widget listed is provided with a screenshot and instructions on how to integrate it.
Available Widgets
Workspace Light Tree Widget
Description: This widget allows your application to open a popup containing the user workspace. It gives the possibility to users to either select a file/folder form the workspace or save a file in a desired workspace folder.
Screenshots:
Maven coordinates:
<dependency> <groupId>org.gcube.portlets.widgets</groupId> <artifactId>workspace-light-tree</artifactId> <version>LATEST</version> </dependency>
Add the following to your project .gwt.xml file:'
<!-- inherits WorkspacePortletLightTree widget --> <inherits name='org.gcube.portlets.widgets.lighttree.WorkspacePortletLightTree' />
- Add the following to your project web.xml file (Replace $YOUR_SERVLET_URL_PATTERN with your actual servlet url patter value)
<servlet> <servlet-name>WorkspaceLightService</servlet-name> <servlet-class>org.gcube.portlets.widgets.lighttree.server.WorkspaceServiceImpl</servlet-class> </servlet> <servlet-mapping> <servlet-name>WorkspaceLightService</servlet-name> <url-pattern>/$YOUR_SERVLET_URL_PATTERN/WorkspaceLightService</url-pattern> </servlet-mapping>
You are ready to use it.
Users Selection Widget
aaaa