The project WSO2 Registry - Nightly Build has the following 1 change by 1 author:
*chathura* made the following changes at
Comment:
Implemented the first phase of custom UIs for media types (as discussed in registry-dev list).
Handler author should extend the UIEnabledHanlder to get the custom UI support.
UIEnabledHandler.getView(...) should provide the HTML for viewing the resource content.
UIEnabledHandler.getEdit(...) should provide the HTML for editing the resource content.
Handler author should also implement a EditProcessor to convert the custom HTML form input to a valid resource content.
There is some more work to be done on this.
1) Provide build in support to use XSLT to convert XML contents to HTML (currently this requires some code in handlers).
2) Improve the viewing of generated custom UIs in the registry UI.
3) Implement some good samples to demonstrate the custom UIs.
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/handlers/Handler.java (18828)
> /trunk/registry/modules/webapps/src/main/java/org/wso2/registry/web/actions/ResourceDetailsAction.java (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/utils/RegistryUtils.java (18828)
> /trunk/registry/modules/webapps/src/main/java/org/wso2/registry/web/UIConstants.java (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/BasicRegistry.java (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/config/RegistryContext.java (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/handlers/EditProcessor.java (18828)
> /trunk/registry/modules/samples/handler-sample/resources/registry.xml (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/handlers/HandlerManager.java (18828)
> /trunk/registry/modules/extensions/src/org/wso2/registry/servlet/registry.xml (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/handlers/CustomEditManager.java (18828)
> /trunk/registry/modules/webapps/src/main/java/org/wso2/registry/web/ControllerServlet.java (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/RegistryConstants.java (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/config/RegistryConfigurationProcessor.java (18828)
> /trunk/registry/modules/webapps/src/main/webapp/admin/ajax/resource-properties.jsp (18828)
> /trunk/registry/modules/webapps/conf/web.xml (18828)
> /trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp (18828)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/handlers/UIEnabledHandler.java (18828)
---------------------------------------------------------------------------------------
All 129 tests passed.
Click
http://builder.wso2.org/browse/REGISTRY-NIGHTLY-120 to find out more.
Thanks,
Bamboo
_______________________________________________
Registry-dev mailing list
Registry-dev@...
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev