The datagrid netui-data:anchorCell tag using parameters does not procude
correct XHTML
--------------------------------------------------------------------------------------
Key: BEEHIVE-274
URL: http://issues.apache.org/jira/browse/BEEHIVE-274
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1Beta
Reporter: carlin rogers
Assigned to: carlin rogers
Priority: Minor
Fix For: V1Beta
The logic in the org.apache.beehive.netui.databinding.datagrid.util.JspUtil
class produces XHTML if the rewritten URL is absolute, otherwise it writes
it out as HTML ("&" entity vs '&' character in the query of the URL).
A JSP with a datagrid and using the <netui-data:anchorCell> with the
netui:parameter tags will produce a URL that use the "&" in the query
of absolute URLs and '&' character in all others, regardless of the
document type.
To test, add the following elements to the schema used for the drt
datagrid test cases,
/trunk/netui/test/webapps/drt/coreWeb/WEB-INF/src/xml/portfolio.xml.
<stock exchange='nasdaq'>
<symbol>LOCAL</symbol>
<name>LOCAL System</name>
<price>114.35</price>
<web>/coreWeb/databinding/datagrid/basic/Controller.jpf</web>
<shares>600</shares>
</stock>
Build, then hit the basic data grid smoke test,
http://localhost:8080/coreWeb/xhtml/databinding/datagrid/basic/Controller.jpf
and view the source. Note the differnce in the URLs for this local
path and an absolute bath like http://www.bea.com/.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira