Ignore this 2012/5/7 Łukasz Lenart <lukasz.len...@googlemail.com>: > Anyway, something is messed up. Regarding this: > > @StrutsTagAttribute(description = "Specifies if this should be a > portlet render or action URL. Default is \"render\". To create an > action URL, use \"action\".") > public void setPortletUrlType(String portletUrlType) { > urlProvider.setPortletUrlType(portletUrlType); > } > > only two values are allowed: either render or action
I think the if case if (PortletActionContext.getPortletContext() == null || "none".equalsIgnoreCase(urlComponent.getPortletUrlType())) should be reduced to if (PortletActionContext.getPortletContext() == null) { as the same statement is used in other places to fallback to ServlertRenderer Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org