juliocamarero/liferay-portal — pull request #733 by epgarcia (2012-11-14 13:13:04+00:00)
Title: LPS-30046 Default Application Display Template for Blogs

The currentURL variable (frequently used for the redirect param) is defined at portlet/init.jsp as:

```java
PortletURL currentURLObj = PortletURLUtil.getCurrent(liferayPortletRequest, liferayPortletResponse);

String currentURL = currentURLObj.toString();
```

Since the PortletURLUtil cannot be injected into the template context (no way to get an instance) and the currentURL definition is valid for all portlets, I've decided to added to the context of the ADT.