0

RichFaces 3.3.3 では、以下のコードを使用できました。

<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?

4

1 に答える 1

1

ひょっとして、そのナビゲーション ルールを忘れてしまったことがありますfaces-config.xmlか? UPLOAD_PAGEそして、あなたのようなページ名に置き換えることができる任意の方法action="page2"

リダイレクトしたい場合は、この回答を見てください

JSF 2.0でリダイレクトするにはどうすればよいですか

また、これを読んでください:

JSF 2.0 での暗黙的なナビゲーション

于 2012-05-09T06:30:10.823 に答える