You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2007/04/06 17:47:32 UTC

[jira] Updated: (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:all-tabpanel ]

Adrian Crum updated OFBIZ-875:
------------------------------

    Attachment: html_snippet.patch

The patch.

Example widget code:

<widgets>
  <platform-specific>
    <html>
      <html-snippet><![CDATA[<h1>Hello World!</h1><br/>]]></html-snippet>
    </html>
  <platform-specific>
</widgets>

This patch also fixes a bug and some quirky behavior in the <platform-specific> area.

> 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 (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Priority: Minor
>         Attachments: 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.