[JBoss JIRA] Created: (RF-3215) Calendar: Strange side effect on sliders when using back button
by Michael Haug (JIRA)
Calendar: Strange side effect on sliders when using back button
---------------------------------------------------------------
Key: RF-3215
URL: http://jira.jboss.com/jira/browse/RF-3215
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JBoss-4.2.0.GA, RichFaces-3.2.0.SR1, Facelets 1.1.14, Firefox 2.0.0.14
Reporter: Michael Haug
The problem is similar to RichFaces bug RF-895: We use a form with calendar and inputNumberSlider components.
By clicking the submit button, the user will be forwarded to a new page. If the user uses the back button in Firefox, the inputNumberSlider does not display the correct input value.
You can verify this by using the attached demo program:
1. Deploy SliderTest.war
2. Open the page http://localhost:8080/SliderTest/SliderTest.faces in Firefox
3. Change the input value of the inputNumberSlider component
4. Submit the form
5. Verify the result in the output page
6. Click the back button of the browser
7. Input value of inputNumberSlider component is lost
8. Redo step 2-6 with http://localhost:8080/SliderTest/SliderTestWithoutCalendar.faces
9. inputNumberSlider shows the correct input value.
It seems that the existence of a calendar component in a form has a side effect on inputNumberSlider components during document loading. Please note that the problem occurs only if Firefox is used (tested with Firefox 2.0.0.14, IE6 works ok).
--
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
16 years, 6 months
[JBoss JIRA] Updated: (RF-3129) RichFaces SuggestionBox - Nothing Happens
by Anton Belevich (JIRA)
[ http://jira.jboss.com/jira/browse/RF-3129?page=all ]
Anton Belevich updated RF-3129:
-------------------------------
Original Estimate: 1 day
Remaining Estimate: 1 day
Fix Version/s: 3.2.2
(was: Future)
> RichFaces SuggestionBox - Nothing Happens
> -----------------------------------------
>
> Key: RF-3129
> URL: http://jira.jboss.com/jira/browse/RF-3129
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0.SR1
> Environment: JBOSS 4.0.5
> Reporter: Thomas Modeneis
> Assigned To: Anton Belevich
> Fix For: 3.2.2
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> Hy RichFaces Developers, i´m very Glad with this tool...Thanks alot !!
> I Will try to explain the problem:
> Take a look:
> <code>
> <h:panelGroup style="align:center">
> <h:outputText value="Digite o nome do aluno:" />
> <h:inputText value="#{alunosMB.nomeConsulta}" id="pesquisaAluno" />
> <rich:suggestionbox for="pesquisaAluno" suggestionAction="#{alunosMB.autocompleteNome}" fetchValue="" var="aluno" minChars="1" requestDelay="800" width="300" height="150" border="1" >
> <h:column>
> <h:inputHidden id="idAlunoHidden" value="20" />
> <h:commandLink id="commandLinkEditarAluno" value="#{aluno.nome}" action="#{alunosMB.editarAlunoSelecionado}"></h:commandLink>
> </h:column>
> </rich:suggestionbox>
> <h:commandButton value="listar" action="#{alunosMB.listar}" />
> </h:panelGroup>
> <h:outputText value="" />
> <rich:dataTable id="tabelaAlunos" rendered="#{! empty alunosMB.alunosByName}" value="#{alunosMB.alunosByName}" var="aluno" border="0" styleClass="tabelaDadosGC" align="center">
> <h:column id="colunaNome">
> <f:facet name="header">
> <h:outputText value="Nome" />
> </f:facet>
> <h:commandLink id="linkParaModal" value="#{aluno.nome}" action="#{alunosMB.editarAluno}" />
> </h:column>
> <h:column>
> <f:facet name="header">
> <h:outputText value="CPF" />
> </f:facet>
> <h:outputText value="#{aluno.cpf}" />
> </h:column>
> <h:column>
> <f:facet name="header">
> <h:outputText value="Telefone" />
> </f:facet>
> <h:outputText value="#{aluno.telefone}" />
> </h:column>
> </rich:dataTable>
> </code>
> when i click on <h:commandLink id="linkParaModal" value="#{aluno.nome}" action="#{alunosMB.editarAluno}" />
> nothing happens.
> Its allways fine when i use these 3 jars:
> ajax4jsf-1.1.0.jar
> oscache-2.3.jar
> richfaces-3.0.0.jar
> BUT, if i try to update richFaces to newest version:
> richfaces-ui-3.1.2.SP1
> nothing happens, dont redirect to return of method (alunosMB.editarAluno)
> IF i´m doing any wrong tag, i´m sorry guys!!
> Thanks for attention!!
> Thomas Modeneis.
--
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
16 years, 6 months