[richfaces-issues] [JBoss JIRA] Updated: (RF-3524) js error on conditional calendar rendering

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Sun May 25 08:52:42 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-3524?page=all ]

Nick Belaevski updated RF-3524:
-------------------------------

    Workaround Description: 
1. Add rich:calendar to the page unconditionally: <rich:calendar rendered="false" /> . That will force initial loading of scripts and styles 
2. Use ALL script loading strategy
             Fix Version/s: Future
                Workaround: [Workaround Exists]

> js error on conditional calendar rendering
> ------------------------------------------
>
>                 Key: RF-3524
>                 URL: http://jira.jboss.com/jira/browse/RF-3524
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Ilya Shaikovsky
>         Assigned To: Nick Belaevski
>             Fix For: Future
>
>
> 	<h:form>
> 		<a4j:outputPanel id="result" ajaxRendered="true">
> 			<c:set var="expression1" value="#{calendarBean.flag}" />
> 			<c:set var="availDate" value="#{production.availDate}" />
> 			<c:if test="${expression1=='false'}">
> 				<h:inputText id="sisterTerritoryRelDate"
> 					style="border: thin dotted">
> 					<a4j:support event="onclick" action="#{calendarBean.switchFlag}"
> 						reRender="result">
> 					</a4j:support>
> 				</h:inputText>
> 			</c:if>
> 			<c:if test="${expression1=='true'}">
> 				<rich:calendar datePattern="dd-MMM-yyyy"
> 					value="#{calendarBean.selectedDate}">
> 					<a4j:support event="oninputclick"
> 						action="#{calendarBean.switchFlag}" reRender="result">
> 					</a4j:support>
> 				</rich:calendar>
> 			</c:if>
> 		</a4j:outputPanel>
> 	</h:form>
> checked in demo environment on todays build. JS error which customer described exist.

-- 
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