You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "carlin rogers (JIRA)" <be...@incubator.apache.org> on 2005/02/11 02:09:12 UTC

[jira] Updated: (BEEHIVE-274) The datagrid netui-data:anchorCell tag using parameters does not procude correct XHTML

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

carlin rogers updated BEEHIVE-274:
----------------------------------

    Attachment: datagrid-patch.tar.gz

I'm attaching a patch will fix this bug and update existing tests.
The patch will also add a new data grid BVT. See the files...
A      test\webapps\drt\testRecorder\tests\XhtmlDataGridSmokeTest.xml
A      test\webapps\drt\coreWeb\databinding\datagrid\basicXhtml
A      test\webapps\drt\coreWeb\databinding\datagrid\basicXhtml\Controller.jpf
A      test\webapps\drt\coreWeb\databinding\datagrid\basicXhtml\index.jsp

There's also an update to the XhtmlAnchor test to include an anchor 
with multiple parameters.

> 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: carlin rogers
>     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