[ 
https://issues.apache.org/jira/browse/OFBIZ-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571314#action_12571314
 ] 

WeizhanGuo commented on OFBIZ-1648:
-----------------------------------

Hi Adrian
I'm also seeking the way to integrate the dojo, my solution is not change the 
ModelWidget, but create the DojoFormRenderer to implements FormStringRenderer, 
and have a factory class like you to create the FormStringRenderer instance 
according the properties file, the code when need a FormStringRenderer instance 
it will like this: formStringRenderer = 
HtmlFormRendererFactory.getHtmlFormRenderer(request, response); now it can work 
with the form widget, I will try this to table and athers widget in this way.   
We don't need to change the old code too much, but add some render classes.  if 
you have better way please let me know thanks.  may be we can figure out what 
we want to do and how to do, and can finish it together.

I also agree with David's argument, we don't create the interface until we have 
to. 

> Sandbox: Improved Screen Widgets, adding 3rd party rendering library support
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-1648
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1648
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: widget_improvements.patch
>
>
> Discuss screen widget modifications and enhancements that will make the 
> screen widgets more robust. Everyone is welcome to review and comment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to