0
I Use This!
Activity Not Available

Project Summary

A GWT library to aid in injection of widget into an otherwise non-gwt page.

Add ModuleRegistering Widgets
Enhancer.getInstance().registerEnhancer("myWidgetId", new WidgetBuilder() {

@Override
public Widget createInstance(AttributeProvider attributes) {
SimplePanel widget = new SimplePanel();
widget.add(new Label("Hello World"));
return widget;
}
});
Define Entry PointsThere are several ways you can direct the enhancer to populate your page with widgets

The simplest way is to use the widgetId as the div's elementId:

if an element needs enhancing after a page has loaded you can invoke a single load


enhanceElementById('myWidgetId');
if you want to reuse a single widget in different divs


enhanceElementByTag('myUnmatchedTagId', 'myWidgetId');
Define Config AttributesYou can define some parameters to be passed into a widget

Enhancer.getInstance().registerEnhancer("myWidgetId", new WidgetBuilder() {

@Override
public Widget createInstance(AttributeProvider attributes) {
SimplePanel widget = new SimplePanel();
widget.add(new Label("Hello World :: " + attributes.getAttribute("AttrName", "DefaultValue")));
return widget;
}
});By specifying a nested tag set within the element to be enhanced






enhanceElementById('myWidgetId');

Tags

enhancement framework gwt progressive progressiveenhancement widgetinjector

In a Nutshell, gwtprogressiveenhancement...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Use Patent Claims

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Disclose Source

Include Copyright

State Changes

Include License

Include Install Instructions

These details are provided for information only. No information here is legal advice and should not be used as such.

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    anyone with an Open Hub account can update a project's tags
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
  
Review this Project!