[Registry-dev] Custom UIs for media types
Chathura C. Ekanayake
chathura at wso2.com
Fri Jul 4 01:13:14 PDT 2008
I have completed the first phase of this implementation. Custom UIs are
supported by UIEnabledHandler class, which is extended from Hanlder.
Handler authors should implement the UIEnabledHandler.getView(...)
method to provide a HTML for viewing the resource content. HTML for
editing the resource content has to be generated in the
UIEnabledHandler.getEdit(...) method. In this way, handler authors get
the flexibility to generate custom UIs using whatever method they prefer
and UIs can generated for any text based content type. I have tested a
sample with this implementation and it worked well.
I am currently working on providing XSLT support for generating UIs.
This require some code in handlers with the current implementation. We
can generalize the XSLT code and provide a XSLT based UI handler, which
the users can use only by configuring the registry.xml.
We also need some nice samples to demonstrate the custom UIs, which is
my next step.
Thanks,
Chathura
More information about the Registry-dev
mailing list