1
我使用maven設置了一個JSF2.0項目。一切工作正常exept行動處理:-(JSF 2.0:操作不起作用
這是我.xhtml頁面:
<h:form>
<h:commandButton
id="submit"
value="Absenden"
action="#(projectController.saveProject)">
</h:commandButton>
</h:form>
,在這裏我管理的Bean:
@ManagedBean
@SessionScoped
public class ProjectController {
public String saveProject(){
System.out.println("test");
return("/newProject.xhtml");
}
...
當我嘗試按下按鈕沒有任何反應沒有。 error-message ... nothing。但數據綁定的作品!只有行動/行動者不起作用
也許有人對我有一個答案:-) 乾杯
有時人們只是愚蠢的 - .-謝謝你 – Sven 2010-07-19 11:50:15