[ 
https://issues.apache.org/jira/browse/TRINIDAD-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Weßendorf updated TRINIDAD-1664:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.13-core 
         Assignee: Matthias Weßendorf
           Status: Resolved  (was: Patch Available)

> tr:showDetail attribute disclosedText not rendered correctly in printMode
> -------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1664
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1664
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions:  1.2.12-core
>            Reporter: Harald Kuhn
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.13-core 
>
>         Attachments: ShowDetailRenderer_PrintMode.patch
>
>
> 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>
>                        

-- 
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