You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2007/10/14 08:05:50 UTC

[jira] Commented: (OFBIZ-875) Add ability to put HTML "snippets" in screen widget XML files

    [ https://issues.apache.org/jira/browse/OFBIZ-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534585 ] 

Jacopo Cappellato commented on OFBIZ-875:
-----------------------------------------

Adrian, all,

your patch and this discussion are both interesting, however I still have concerns about this new feature: I really think that we should not make it easier to add html code to screen widgets... instead we should improve the screen widget framework to be more flexible and rich.
And, in the same time, we should convert the existing ftl templates to form/menu/screen widgets (and some of the bsh scripts to actions in widgets): I'm slowly doing this (in my free time), and it is amazing to see how much cleaner and smaller the refactored code is if compared to ftl+bsh.

What if we close this as "Won't fix"?

> Add ability to put HTML "snippets" in screen widget XML files
> -------------------------------------------------------------
>
>                 Key: OFBIZ-875
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-875
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: html_snippet.patch, html_snippet.patch
>
>
> Sometimes there is a need to output a little HTML that the screen widget doesn't accomodate, but it's not enough code to justify a separate ftl file. This improvement adds an html-snippet element to the platform-specific->html element which allows HTML to be directly inserted in a widget XML file.

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