[ http://issues.apache.org/jira/browse/BEEHIVE-500?page=history ]
Daryl Olander updated BEEHIVE-500:
----------------------------------
Summary: netui tags generated URLs are not HTML compliant (was: netui tree
generated URLs are not HTML compliant)
This is actually a problem in the NetUI tags in general. The mutable URI has
two modes for generating an URL, and the HTML version outputs the '&'. This
happens for all URLs.
> 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: Daryl Olander
> Fix For: V1
> Attachments: Controller.jpf, basicJSPTree.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
> & 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 &
> 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&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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira