You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Krista Baker (JIRA)" <be...@incubator.apache.org> on 2005/05/03 22:53:05 UTC

[jira] Reopened: (BEEHIVE-500) netui tags generated URLs are not HTML compliant

     [ http://issues.apache.org/jira/browse/BEEHIVE-500?page=all ]
     
Krista Baker reopened BEEHIVE-500:
----------------------------------

     Assign To: Carlin Rogers  (was: Krista Baker)

The default generated URLs are now HTML4 compliant.  This option can be configured using the url-config html-amp-entity elements in the beehive-netui-config.xml.  Both true and false values work correctly except for the one following issue:  

When testing the false value for the html-amp-entity:  XHTML documentType trees, whose properties included runAtClient=true and expandOnServer=true, the xml http responses were no longer encoded.  No other types of XHTML trees had this problem and it was only seen in the .xhr file types from the testRecorder, not in any other portion of the same trees.

Will attach a repro runAtClient/expandOnServer tree.

> netui tags generated URLs are not HTML compliant
> ------------------------------------------------
>
>          Key: BEEHIVE-500
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-500
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Krista Baker
>     Assignee: Carlin Rogers
>      Fix For: V1
>  Attachments: Controller.jpf, Controller.jpf, basicJSPTree.jsp, expandModes.jsp
>
> When creating a tree (except runAtClient trees), the expansion and selection actions are generated as anchor hrefs which include the parameter of netui_treeid=tree.  These generated URLs do not encode the & symbol into &amp; when the document type is set to html4-loose, causing the following error when the html is run through an html validator:  general entity "netui_treeid" not defined and no default entity.
> The generated XHTML when the document type is set to xhtml1-transitional is correctly encoded as &amp;
> Example incorrect href:
> <a href="/basicPFTree/select.do?netui_treenode=0&netui_treeid=tree1">
> Example valid html href:
> <a href="/basicPFTree/select.do?netui_treenode=0&amp;netui_treeid=tree1">

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira