[ http://issues.apache.org/jira/browse/BEEHIVE-274?page=history ]
     
Nathan Jantz closed BEEHIVE-274:
--------------------------------


I've tested this using multiple parameters attached to an absolute URL rendered 
by a <netui-data anchorCell> tag within a Data Grid and have verified that 
&amp; is now generating properly as & between all the URL parameters.  Closing 
this issue. 

> 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
>     Assignee: Nathan Jantz
>     Priority: Minor
>      Fix For: V1Beta
>  Attachments: datagrid-patch.tar.gz
>
> 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 ("&amp;" 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 "&amp;" 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

Reply via email to