Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Click 1.4RC2
Description
Need to update getHref from this:
public String getHref() {
if (isExternal() || "#".equals(getPath()))
}
to this:
public String getHref() {
if (isExternal()) { return getPath(); }
else if ("#".equals(getPath()))
{ return getContext().getResponse().encodeURL(getPath()); }else
{ return getContext().getResponse().encodeURL(getContext().getRequest().getContextPath() + "/" + getPath()); }}
I am not 100% sure if we should call encodeURL if path equals '#'.