Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.12-core
-
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>