You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2022/11/03 10:37:15 UTC

[myfaces-tobago] branch tobago-5.x updated: demo(search): fix missing context path (#3395)

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-5.x by this push:
     new 44e406c648 demo(search): fix missing context path (#3395)
44e406c648 is described below

commit 44e406c648a4b5e7169361617778dad85ba50ad7
Author: Udo Schnurpfeil <gi...@schnurpfeil.de>
AuthorDate: Thu Nov 3 11:37:10 2022 +0100

    demo(search): fix missing context path (#3395)
---
 .../src/main/webapp/content/000-intro/05-search/Search.xhtml            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml
index 951510b528..e9dafc7fdb 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/05-search/Search.xhtml
@@ -33,7 +33,7 @@
 
     <ul>
       <ui:repeat value="#{navigationState.searchResult}" var="node">
-        <tc:link label="#{node.labelPath}" link="#{node.outcome}"/><br/>
+        <tc:link label="#{node.labelPath}" link="#{request.contextPath}#{node.outcome}"/><br/>
       </ui:repeat>
     </ul>