AnsweredAssumed Answered

setContextPath no longer works with absurl

Question asked by steve.tekell on Jan 28, 2009
Latest reply on Jan 29, 2009 by steve.tekell
a change to setContextPath in v3 (3Stable/Final)
breaks this

<script> setContextPath('${absurl(url.context)}'); </script>

the context path will get set to "" and Ajax won't work.
the workaround I found was to set _alfContextPath directly

<script> _alfContextPath = '${absurl(url.context)}'; </script>

I needed to use absurl to get the node summary panel to work in external applications in some environments,  e.g., localhost:8081.

Outcomes