jsf - h:outputLink not generating full context path for self linking page -


we have legacy jsf application running on jetty. has pages /foo/bar/mypage.xhtml outputlink tags like: <h:outputlink value="?param1=value1">click</h:outputlink>. these links being generated without context, , when clicked, browser correctly links current page specified parameters.

we installed xebia's xforwardedfilter fix issues running app behind proxy. enabled, though, link getting generated jsf context (which understanding correct behavior). unfortunately, context doesn't include after last /, current page not included in link. example above, link becomes /foo/bar/?param1=value1 instead of desired /foo/bar/mypage.jsf?param1=value1

the workaround include current page link value: <h:outputlink value="mypage.jsf?param1=value1">click</h:outputlink>. problem there lot of these links in application , of them in includes require passing additional parameter indicate page should referenced.

is there way outputlink generate full context? alternatively, if disable context generation altogether prior behavior occurs, work well.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -