You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Matthias Kahlau <mk...@web.de> on 2006/02/12 20:30:29 UTC
outputLink modifies the specified value
Hi!
I use the following outputLink:
<h:outputLink
value="#{UmfrManUmfrTabBacking.accessControllerNonPortalURL}#{row.id}"
title="Kopieren und weitergeben fuer die Teilnahme">
<h:outputText value="Teilnahme" styleClass="standardLink" />
</h:outputLink>
The JSF EL expressions in the value attribute of the outputLink evaluate to
the following URL parts:
#{UmfrManUmfrTabBacking.accessControllerNonPortalURL} =
http://localhost:1111/login_nonPortal?surveyId=
#{row.id} = 38
"login_nonPortal" is a URL pattern used for a Servlet.
<servlet-mapping>
<servlet-name>AccessControllerNonPortal</servlet-name>
<url-pattern>/login_nonPortal</url-pattern>
</servlet-mapping>
When the URL is displayed, the following URL is generated by JSF for the
outputLink:
http://localhost:1111/Umfragesystem/faces/Management/38
"/Umfragesystem" is the context path of the web application, "/Management"
is the path to the current JSF page.
Do you know why JSF modifies my outputLink value and how this can be
prevented?
Regards,
Matthias