I'd like to know why encode="false" by default for all widget link
elements?

If a browser do not accept cookies, servlet container should add
jsessionid to the urls to keep the session.
Because encode="false" by default, the ofbiz url are not encoded (they
do not have jsessionid) and the session is lost. You can test it  easily
by disabling the cookies from your browser.

>From the other hand <@ofbizUrl> by default has encode="true" and all the
generated links has jsessionid. Actually the links has jsessionid only
if the cookies are disabled or it is the first request (as it should
be).

Bilgin

Reply via email to