[richfaces-issues] [JBoss JIRA] (RF-12300) rich:calendar - rerendering from another h:form causes problems

Jan Papousek (JIRA) jira-events at lists.jboss.org
Thu May 31 07:10:18 EDT 2012


     [ https://issues.jboss.org/browse/RF-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Papousek updated RF-12300:
------------------------------

    Steps to Reproduce: 
# clone git://github.com/papousek/richfaces-sanbox.git and checkout RF-12300 branch (or download attached project)
# deploy the project and open http://localhost:8080/richfaces-sandbox-jee6/
# pick a date in the calendar
-- the picked date is shown below the input field
# click on the 'Render All' button
-- firstly, the date can't be picked
# try to pick another date
-- the first attempt is not succesfull

When you use 'Render All (Inside the same h:form)' button, the calendar behaves correctly.

  was:
# clone git://github.com/papousek/richfaces-sanbox.git and checkout <--> branch (or download attached project)
# deploy the project and open http://localhost:8080/richfaces-sandbox-jee6/
# pick a date in the calendar
-- the picked date is shown below the input field
# click on the 'Render All' button
-- firstly, the date can't be picked
# try to pick another date
-- the first attempt is not succesfull

When you use 'Render All (Inside the same h:form)' button, the calendar behaves correctly.


    
> rich:calendar - rerendering from another h:form causes problems
> ---------------------------------------------------------------
>
>                 Key: RF-12300
>                 URL: https://issues.jboss.org/browse/RF-12300
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.2.Final
>         Environment:     RichFaces 4.2.2.Final
>     Metamer 4.2.2-SNAPSHOT
>     Unknown version of JSF
>     JBoss AS 7.1.1.Final
>     Java(TM) SE Runtime Environment 1.6.0_31-b04 @ Linux
>     Firefox 12.0 @ Linux x86_64
>            Reporter: Jan Papousek
>
> {code}
> <h:form>
>     <a4j:commandButton render="@all" value="Render All" />
>     <a4j:commandButton render="calendar output" value="Render Calendar and Output" />
> </h:form>
> <h:form>
>     <a4j:commandButton render="@all" value="Render All (Inside the same h:form)" />
>     <a4j:commandButton render="calendar output" value="Render Calendar and Output (Inside the same h:form)" />
>     <br />
>     <rich:calendar id="calendar" value="#{calendarBean.date}" timeZone="#{calendarBean.timeZone}">
>         <f:ajax event="change" render="output" />
>     </rich:calendar>
>     <br />
>     <h:outputText id="output" value="#{calendarBean.date}" />
> </h:form>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list