Java – command button in JSF

How to implement the back button as a command button for general work? Unlike the back button, I don't mean the browser button, but a button located somewhere on the page It is not always possible to use the post redirect get mode

It is impractical to convey the information that each button should point to

There may be a reserved keyword in the navigation rule, pointing to the last navigation rule?

Solution

In this case, I use the H: commandlink attribute onclick = "history. Go (- 1)" It generally works

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>