jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • DForms
  • DFORMS-52

Wrong test for model in ButtonAction and ImageViewer

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0
  • Component/s: render-kit
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

In ImageViewer there is a test, that controls if image will be rendered or not.
Test: <xsl:when test="$model"...
But in new version of dforms, model will be empty...at least my model was always empty.
Similar problem is in ButtonAction component.
I attached my solution for this...hope it will be allright...

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    ButtonAction.xsl
    15/Jul/09 5:05 AM
    7 kB
    Branislav Kalas
  2. File
    LabelViewer.xsl
    15/Jul/09 5:05 AM
    2 kB
    Branislav Kalas

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Maros Ivanco added a comment - 21/Jul/09 3:30 AM

Perhaps you wanted to attach the ImageViewer.xsl? Anyway, I changed the dforms-v-image in a similar way as dforms-a-button. Please, check the last snapshot.

Show
Maros Ivanco added a comment - 21/Jul/09 3:30 AM Perhaps you wanted to attach the ImageViewer.xsl? Anyway, I changed the dforms-v-image in a similar way as dforms-a-button. Please, check the last snapshot.

People

  • Assignee:
    Maros Ivanco
    Reporter:
    Branislav Kalas
Vote (0)
Watch (0)

Dates

  • Due:
    15/Jul/09
    Created:
    15/Jul/09 5:05 AM
    Updated:
    21/Jul/09 3:30 AM
    Resolved:
    21/Jul/09 3:30 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.