myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Marinschek <martin.marinsc...@gmail.com>
Subject Re: Why I must click twice?
Date Fri, 21 Oct 2005 08:24:03 GMT
This is a known bug - it should be fixed in the latest nightly build.

Can you try this out?

regards,

Martin

On 10/21/05, 六岁就很酷 <chencao0524@gmail.com> wrote:
> I use Myfaces(myfaces-1.1.1RC3) to build my web application. But I've got
> some troubles.
>
>  There are two pages in my application, and there is a link in pageA which
> forward to pageB.
>  I must click the link twice that I could forward to pageB When I back to
> pageA from pageB using IE's Back button .
>  But It's not happened in "Sun JSF Reference Implementation".
>  somebody could help me? thanks a lot.
>  Below are my codes.
>
>
>  pageA.jsp
>  ###########################
>  <body>
>      <f:view>
>          <h:form>
>          <h:commandLink value="go pageB" action="pageB"></h:commandLink>
>          </h:form>
>      </f:view>
>  </body>
>
>
>  pageB.jsp
>  ###########################
>  <body>
>      <f:view>
>          <h:form>
>          This is my JSF JSP pageB. <br>
>          </h:form>
>      </f:view>
>  </body>
>
>
>  faces-config.xml
>  ###########################
>  <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer
> Faces Config 1.1//EN"
> "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
>  <faces-config>
>    <navigation-rule>
>      <navigation-case>
>        <from-outcome>pageB</from-outcome>
>        <to-view-id>/pageB.jsp</to-view-id>
>      </navigation-case>
>      <navigation-case>
>        <from-outcome>pageA</from-outcome>
>        <to-view-id>/pageA.jsp</to-view-id>
>      </navigation-case>
>    </navigation-rule>
>  </faces-config>
>
> --
>               ///
>              (. .)
>  -----ooO--(_)--Ooo-----
>
> 联系方式:
> MSN:chencao0524@hotmail.com
> QQ:5027277
> 广州神码网络科技有限公司
> http://www.magiccode.com.cn
>
> 六岁就很酷


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German
Mime
View raw message