login button

Registry Content Editor

Forums :

Is there a plugin-in or some way to configure WSO2 Registry to display the registered content in "edit" mode instead of "download"?

Maybe there's a MIME Type property?

While I'm at it, it would be nice to have a Rich Editor (like Drupal's) to do this too.  This would make downloading, modifying and updating content a lot more efficient.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi, We don't have any

Hi,

We don't have any specific plugin for displaying file content in edit mode. But very recently we have implemented nice concept called "custom UI" for registry. Custom UI is done by the using handler mechanism which is already implemented on registry. Handler authors get the flexibility to provide UIs for both viewing and editing their resource types.

You can read more about wso2registry custom UI from following blog post written by Chathura.

http://chathura-ce.blogspot.com/2008/07/wso2-registry-custom-uis-example.html
http://chathura-ce.blogspot.com/2008/07/custom-ui-for-soa-artifacts.html

General content editor for text files

WSO2 Registry users can plug in handlers to provide custom UIs for various resource types. This mechanism can be used to display customized UIs for both viewing and editing resource contents.

We are also implementing a general content editing mechanism for resources with text based content. These features will be available with the next Registry release.

How does one create a handler plug-in?

Edited out.

Handlers can be plugged in

Handlers can be plugged in by extending the https://wso2.org/repos/wso2/trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/handlers/Handler.java class and implementing the necessary methods. Then they have to be integrated by editing the registry configuration file (https://wso2.org/repos/wso2/trunk/registry/modules/extensions/src/org/wso2/registry/servlet/registry.xml). Some sample handlers can be found at https://wso2.org/repos/wso2/trunk/registry/modules/samples/. custom-ui-sample1 is a sample handler written to generate custom UIs.

We are currently doing some changes to the handler mechanism to improve custom UIs and simplify the process of writing handlers. So the procedure used in above samples may change in future. I will write a comprehensive documentation on handlers once the improvements to the handler mechanism are complete.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.