Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1664

tr:showDetail attribute disclosedText not rendered correctly in printMode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.12-core
    • 1.2.13-core
    • Components
    • None

    Description

      ShowDetailRenderer was changed to render <input type="submit" /> for non-JS browsers.
      <quote>
      For Non-JavaScript browsers, render an input element(type=submit) to
      submit the page. Encode the name attribute with the parameter name
      and value thus it would enable the browsers to include the name of
      this element in its payLoad if it submits the page.
      </quote>

      This change is respected in methods _renderLinkStart() and _renderLinkEnd() but not will rendering a disclosureText within encodeAll().
      Therefore it is going to break for all browsers that doesn't support navigation (especially printMode).

      i.e.
      <tr:showDetail id="detailId" disclosedText="Caption" />
      renders
      <span class="OraLink af_showDetail_prompt-link" value="Caption"/>
      but it should render
      <span class="OraLink af_showDetail_prompt-link"> Caption </span>

      Attachments

        Activity

          People

            matzew Matthias Wessendorf
            hkuhn Harald Kuhn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: