[richfaces-issues] [JBoss JIRA] Commented: (RF-2135) javax.faces.application.ViewExpiredException is thrown in a Richfaces portlet

Dirk Pitt (JIRA) jira-events at lists.jboss.org
Wed Feb 6 05:00:04 EST 2008


    [ http://jira.jboss.com/jira/browse/RF-2135?page=comments#action_12398414 ] 
            
Dirk Pitt commented on RF-2135:
-------------------------------

Hallo,

I had converted my demo application for richfaces and porlet running for JBoss Portal 2.6.3 with RichFaces 3.1.3.GA according these intructions and directly hit some problems that I consider as bugs.

First my application that is running with 3.1.3.GA using h:form and h:commandButton (in the forms that I don't need Ajax functionality) without problem, after the conversion to 3.1.4.GA with above configuration it stoped working.

First problem, if I don't convert h:commanButton to a a4j:commandButton I am getting view expired exception all the time form JSF lifecycle.

After this conversion, view expired exception dissappears but new javascript exception appears, complaining A4J object can't be found in Internet Explorer, including a4j:form solve this problem also.

So at this point the question that I will ask, to use the  Porlet and RichFaces, we have to stick to the a4j:form and a4j:commandButton, which I found weird because my previous version of application run perfectly with tags h:form and h:commandButton and actually I like to have the option to stick with standars JSF lifecycle when I don't need Ajax functionality....

> javax.faces.application.ViewExpiredException is thrown in a Richfaces portlet
> -----------------------------------------------------------------------------
>
>                 Key: RF-2135
>                 URL: http://jira.jboss.com/jira/browse/RF-2135
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.4
>         Environment: jdk 1.5.0_08
> JBoss AS 4.2.2
> JBoss Portal 2.6.3
> Richfaces 3.1.4.CR4 and 3.1.4.GA
>            Reporter: Viggo Navarsete
>         Assigned To: Alexander Smirnov
>             Fix For: 3.2.0
>
>
> I have a Richfaces portlet that basically consists of one page (start.xhtml) where there is one input field and a button. When the user push the button my SearchBean's search method is executed. Right now I'm just returning the string "success" (to test it), and then the user is supposed to get the start.xhtml displayed once more, but now with a search result below the search input. I'm getting this ViewExpiredException when pushing the button. 
> Please see the JBoss forum reference for more information about the actual implementation. I can also provide more information on request if necessary.
> Everything is working when using Richfaces 3.1.3.GA release, but in all releases after that the exception is thrown.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list