Hello
I am using p:tree and p:treeNode 's components. Inside treeNodes there is outputLink and listener onNodeSelectListener
public void onNodeSelect(NodeSelectEvent event) {
.....
if (event.getTreeNode().isLeaf()) {
FacesContext facesContext = FacesContext.getCurrentInstance();
Object nodeData = event.getTreeNode().getData();
String target = "" + nodeData;
facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, "action", target);
}
I can navigate to the other pages but only with the url redirection. I know that Ajax request cannot do "forward" navigation.
The question is: How to make non ajax request programatically with NavigationHandler ?
How to make Request nonAjax programatically
i made small mistake in sentence
I am using p:tree and p:treeNode 's components. Inside treeNodes there is outputLink and listener onNodeSelectListener
should be
I am using p:tree and p:treeNode 's components. Inside treeNodes there is !! outputText !! and listener onNodeSelectListener
I am using p:tree and p:treeNode 's components. Inside treeNodes there is outputLink and listener onNodeSelectListener
should be
I am using p:tree and p:treeNode 's components. Inside treeNodes there is !! outputText !! and listener onNodeSelectListener
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 43 guests