问题是这样的:
我有一个文件nagiv.jsp 另一个文件failure.jsp包含他,同时nagiv文件中有一个可以跳转到yy.jsp的commandButton,但是我将failure中点击nagiv中的哪个commandButton,也面不会跳转!
代码如下:
nagiv:
<f:view>
<f:subview id="header">
<h:form>
<h:commandButton action="yy"></h:commandButton>
</h:form>
</f:subview>
</f:view></body>
failure:
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>failure</title>
</head>
<body><jsp:include page="nagiv.jsp" />
<h:form>
</h:form></body>
</html>
</f:view>
另yy是一个空文件!
同时face-config配置是这样:
<navigation-rule>
<from-view-id>/*</from-view-id>
<navigation-case>
<from-outcome>yy</from-outcome>
<to-view-id>/login/yy.jsp</to-view-id>
</navigation-case>
哪位高手帮忙看看,不胜感谢!
我有一个文件nagiv.jsp 另一个文件failure.jsp包含他,同时nagiv文件中有一个可以跳转到yy.jsp的commandButton,但是我将failure中点击nagiv中的哪个commandButton,也面不会跳转!
代码如下:
nagiv:
<f:view>
<f:subview id="header">
<h:form>
<h:commandButton action="yy"></h:commandButton>
</h:form>
</f:subview>
</f:view></body>
failure:
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>failure</title>
</head>
<body><jsp:include page="nagiv.jsp" />
<h:form>
</h:form></body>
</html>
</f:view>
另yy是一个空文件!
同时face-config配置是这样:
<navigation-rule>
<from-view-id>/*</from-view-id>
<navigation-case>
<from-outcome>yy</from-outcome>
<to-view-id>/login/yy.jsp</to-view-id>
</navigation-case>
哪位高手帮忙看看,不胜感谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货