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/10 22:07:13 UTC

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

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 ("&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


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

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-274?page=history ]

Eddie O'Neil reassigned BEEHIVE-274:
------------------------------------

    Assign To: Eddie O'Neil  (was: carlin rogers)

> 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: Eddie O'Neil
>     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


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

Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-274?page=history ]

Alejandro Ramirez reassigned BEEHIVE-274:
-----------------------------------------

    Assign To: Nathan Jantz  (was: Alejandro Ramirez)

Please Verify and Close.

> 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


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

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ 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


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

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-274?page=history ]
     
Eddie O'Neil resolved BEEHIVE-274:
----------------------------------

     Assign To: Alejandro Ramirez  (was: Eddie O'Neil)
    Resolution: Fixed

Fixed with SVN 154029.

> 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: Alejandro Ramirez
>     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


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

Posted by "carlin rogers (JIRA)" <be...@incubator.apache.org>.
     [ 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