You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2025/08/13 07:20:36 UTC
(myfaces-tobago) branch main updated: fix(demo): goto test section
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/main by this push:
new 3547d61c1f fix(demo): goto test section
3547d61c1f is described below
commit 3547d61c1f244b09e8d375bab2b8c590e2679c4b
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Wed Aug 13 09:15:38 2025 +0200
fix(demo): goto test section
---
.../java/org/apache/myfaces/tobago/example/demo/NavigationState.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationState.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationState.java
index 707feb4211..df855b95a6 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationState.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/NavigationState.java
@@ -166,7 +166,7 @@ public void setViewSource(final boolean viewSource) {
public String gotoTestSection() {
showTestSection = true;
- return "/content/900-test/Test.xhtml";
+ return gotoNode(((NavigationNode) tree.getTree().getLastChild()).getNextNode());
}
public String deactivateTestSection() {