KVISH
KVISH

Reputation: 13178

RichFaces 4.2 Forwarding to a new page with h:commandLink

With RichFaces 3.3.3 I was able to use the below code:

<h:commandLink action="UPLOAD_PAGE">Upload Document</h:commandLink>

The commandLink would take the user to the requested page. However, this code is no longer working in RichFaces 4.2.1, when I click it, it simply stays on the current page. It blinks the screen for a split second as if it was doing something. I see no errors in the logs, or anything, which makes it incredibly hard to debug. Does anybody have any information regarding this?

Upvotes: 0

Views: 936

Answers (1)

Daniel
Daniel

Reputation: 37051

have by any chance forgot that navigation rule in your faces-config.xml ? and any way you can replace the UPLOAD_PAGE with you page name like action="page2"

look at this answer if you want to redirect

How can i redirect in JSF 2.0

And also read this :

Implicit Navigation in JSF 2.0

Upvotes: 1

Related Questions