in the navigation controller framework it is possible to specify the kind of link that will be generated by the portal.
so creating an URL would be like
url.setMimeType(MimeType.XHTML);
url.toString();
or
url.setMimeType(MimeType.PLAIN);
url.toString();
On Oct 28, 2010, at 10:57 AM, Trong Tran wrote:
it says :
Note that replacing & with
& is only done when
writing the URL
in
HTML,
where "&" is a special character (along with "<"
and ">"). When writing the same
URL
in a plain text email message or in the location bar of your browser,
you would use "&" and not "&". With
HTML,
the browser translates "&" to "&" so the Web server would only see
"&" and not "&" in the query string of the request.
I think this is a good example of reason why we have used '&' standalone before.
Anyway, I agree that the '&' would be used to generate an ULR by default and we could provide an option to be able to retrieve the another in such cases
--
Tran The Trong
eXo Platform SEA
_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev