[richfaces-issues] [JBoss JIRA] Updated: (RF-7316) modalPane isn't rerendered in safari

Vadim Mikovoz (JIRA) jira-events at lists.jboss.org
Wed Jun 3 11:31:03 EDT 2009


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

Vadim Mikovoz updated RF-7316:
------------------------------

    Description: 
Code:
<rich:modalPanel id="resetPasswordPanel" height="200" width="480"
		showWhenRendered="true">
		<f:facet name="header">
			<h:outputText value="Reset Password"></h:outputText>
		</f:facet>
		<h:form>
			<h:outputText value="Please select a new password for Me" />
			<br />
			<rich:spacer height="10" />
			<s:decorate id="resetNewPasswordDecoration"
				template="/layout/edit.xhtml">
				<ui:define name="label">New Password</ui:define>
				<h:inputSecret id="resetNewPasswordInput"
					value="#{custom.newPassword}" redisplay="true">
					<a4j:support ajaxSingle="true" event="onblur" />
				</h:inputSecret>
			</s:decorate>
			<s:decorate id="resetConfirmPasswordDecoration"
				template="/layout/edit.xhtml">
				<ui:define name="label">Confirm Password</ui:define>
				<h:inputSecret id="resetConfirmPasswordInput"
					value="#{custom.confirmPassword}" redisplay="true">
					<a4j:support ajaxSingle="true" event="onblur" />
				</h:inputSecret>
			</s:decorate>
			<br />
			<rich:spacer height="10" />
			<a4j:commandButton value="Reset Password" immediate="true"
				reRender="resetPasswordPanel" />
			<a4j:commandButton value="Cancel" immediate="true"
				onclick="#{rich:component('resetPasswordPanel')}.hide()"
				reRender="resetPasswordPanel" />
<h:messages styleClass="errors" />
		</h:form>
	</rich:modalPanel>

1. Open test page in safari
2. Click *Reset Password* button
-----------------------------------------------
modalPanel isn't rerendered


If you rerender only content of modalPanel (e.g. using a4j:outputPanel) then it's ok.

  was:
Code:
<rich:modalPanel id="resetPasswordPanel" height="200" width="480"
		showWhenRendered="true">
		<f:facet name="header">
			<h:outputText value="Reset Password"></h:outputText>
		</f:facet>
		<h:form>
			<h:outputText value="Please select a new password for Me" />
			<br />
			<rich:spacer height="10" />
			<s:decorate id="resetNewPasswordDecoration"
				template="/layout/edit.xhtml">
				<ui:define name="label">New Password</ui:define>
				<h:inputSecret id="resetNewPasswordInput"
					value="#{custom.newPassword}" redisplay="true">
					<a4j:support ajaxSingle="true" event="onblur" />
				</h:inputSecret>
			</s:decorate>
			<s:decorate id="resetConfirmPasswordDecoration"
				template="/layout/edit.xhtml">
				<ui:define name="label">Confirm Password</ui:define>
				<h:inputSecret id="resetConfirmPasswordInput"
					value="#{custom.confirmPassword}" redisplay="true">
					<a4j:support ajaxSingle="true" event="onblur" />
				</h:inputSecret>
			</s:decorate>
			<br />
			<rich:spacer height="10" />
			<a4j:commandButton value="Reset Password" immediate="true"
				reRender="resetPasswordPanel" />
			<a4j:commandButton value="Cancel" immediate="true"
				onclick="#{rich:component('resetPasswordPanel')}.hide()"
				reRender="resetPasswordPanel" />
<h:messages styleClass="errors" />
		</h:form>
	</rich:modalPanel>

1. Open test page in safari
2. Click *Reset Password* button
-----------------------------------------------
modalPanel isn't rerendered



> modalPane isn't rerendered in safari
> ------------------------------------
>
>                 Key: RF-7316
>                 URL: https://jira.jboss.org/jira/browse/RF-7316
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-output
>    Affects Versions: 3.3.2.CR1
>         Environment: safari 3.2.3
> Seam 2.1.0 SP1
>            Reporter: Vadim Mikovoz
>            Assignee: Nick Belaevski
>
> Code:
> <rich:modalPanel id="resetPasswordPanel" height="200" width="480"
> 		showWhenRendered="true">
> 		<f:facet name="header">
> 			<h:outputText value="Reset Password"></h:outputText>
> 		</f:facet>
> 		<h:form>
> 			<h:outputText value="Please select a new password for Me" />
> 			<br />
> 			<rich:spacer height="10" />
> 			<s:decorate id="resetNewPasswordDecoration"
> 				template="/layout/edit.xhtml">
> 				<ui:define name="label">New Password</ui:define>
> 				<h:inputSecret id="resetNewPasswordInput"
> 					value="#{custom.newPassword}" redisplay="true">
> 					<a4j:support ajaxSingle="true" event="onblur" />
> 				</h:inputSecret>
> 			</s:decorate>
> 			<s:decorate id="resetConfirmPasswordDecoration"
> 				template="/layout/edit.xhtml">
> 				<ui:define name="label">Confirm Password</ui:define>
> 				<h:inputSecret id="resetConfirmPasswordInput"
> 					value="#{custom.confirmPassword}" redisplay="true">
> 					<a4j:support ajaxSingle="true" event="onblur" />
> 				</h:inputSecret>
> 			</s:decorate>
> 			<br />
> 			<rich:spacer height="10" />
> 			<a4j:commandButton value="Reset Password" immediate="true"
> 				reRender="resetPasswordPanel" />
> 			<a4j:commandButton value="Cancel" immediate="true"
> 				onclick="#{rich:component('resetPasswordPanel')}.hide()"
> 				reRender="resetPasswordPanel" />
> <h:messages styleClass="errors" />
> 		</h:form>
> 	</rich:modalPanel>
> 1. Open test page in safari
> 2. Click *Reset Password* button
> -----------------------------------------------
> modalPanel isn't rerendered
> If you rerender only content of modalPanel (e.g. using a4j:outputPanel) then it's ok.

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

        



More information about the richfaces-issues mailing list