[JBoss JIRA] Created: (RF-3305) Calendar: doExpand doesn't work with custom events
by Nick Belaevski (JIRA)
Calendar: doExpand doesn't work with custom events
--------------------------------------------------
Key: RF-3305
URL: http://jira.jboss.com/jira/browse/RF-3305
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Nick Belaevski
Assigned To: Pavel Yaschenko
Priority: Minor
Fix For: 3.2.2
<rich:modalPanel id="modalPanelID"...
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="/pics/error.gif" onclick="Richfaces.hideModalPanel('modalPanelID');return false;" />
</f:facet>
...
<rich:componentControl event="onshow" for="calendarID" operation="doExpand"></rich:componentControl>
...
</rich:modalPanel>
...
<rich:calendar id="calendarID"></rich:calendar>
Step 1. Navigate to page contained modalPanel & calendar components.
Step 2. Call modalPanel.
Step 3. Verify calendar activity.
Actual behavior:
Calendar doesn't expand.
--
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
14 years, 11 months
[JBoss JIRA] Assigned: (RF-7603) a4j:form data="#{}" does not populate javascript data variable (data is undefined)
by Nick Belaevski (JIRA)
[ https://jira.jboss.org/jira/browse/RF-7603?page=com.atlassian.jira.plugin... ]
Nick Belaevski reassigned RF-7603:
----------------------------------
Assignee: Andrey Markhel (was: Nick Belaevski)
Andrey,
Please review the patch and apply it.
> a4j:form data="#{}" does not populate javascript data variable (data is undefined)
> ----------------------------------------------------------------------------------
>
> Key: RF-7603
> URL: https://jira.jboss.org/jira/browse/RF-7603
> Project: RichFaces
> Issue Type: Patch
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 3.3.2.CR1
> Environment: Gentoo Linux 2.6.24
> Sun Java 1.6.0.0.7
> RichFaces 3.2.1_GA
> Facelets 1.1.14
> Apache Tomcat 6.0 AppServer
> JSF 1.2 RI
> Reporter: Lincoln Baxter III
> Assignee: Andrey Markhel
> Fix For: 3.3.3.CR1
>
> Attachments: UIAjaxForm.java
>
> Time Spent: 3 hours
> Remaining Estimate: 0 minutes
>
> When using the a4j:form component, the data="#{managedBean.property}" attribute is not correctly causing the javascript data variable to be populated.
> See example below. data is always undefined, even if the managed bean property is set to a valid value, the alert box shows undefined.
> I verified that when using a4j:commandButton, the data variable is correctly populated, and the alert box displays the value.
> <a4j:form id="themouth" data="#{indexBean.ajaxInputOk}"
> reRender="whispers,earInput,earErrors"
> oncomplete="alert(data)" ajaxSubmit="true">
> <div class="centered paddingLarge"><h:outputText
> id="whispers" styleClass="smallText" value="#{indexBean.whispers}" /></div>
> <div class="centered" id="earWhisper"><a4j:outputPanel id="earErrors">
> <h:message showSummary="true" showDetail="false" for="earInput"
> style="color: red;" />
> </a4j:outputPanel><br />
> <h:inputText id="earInput" autocomplete="off"
> value="#{indexBean.input}"
> validator="#{indexBean.validateWhisper}" required="true">
> </h:inputText> <h:commandButton id="whisperButton"
> action="#{indexBean.doWhisper}" value="whisper" /></div>
> </a4j:form>
--
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
14 years, 12 months
[JBoss JIRA] Updated: (RF-7603) a4j:form data="#{}" does not populate javascript data variable (data is undefined)
by Jay Balunas (JIRA)
[ https://jira.jboss.org/jira/browse/RF-7603?page=com.atlassian.jira.plugin... ]
Jay Balunas updated RF-7603:
----------------------------
Fix Version/s: 3.3.3.CR1
(was: Future)
We need to review this issue for inclusion with 3.3.3.CR1 if possible.
> a4j:form data="#{}" does not populate javascript data variable (data is undefined)
> ----------------------------------------------------------------------------------
>
> Key: RF-7603
> URL: https://jira.jboss.org/jira/browse/RF-7603
> Project: RichFaces
> Issue Type: Patch
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 3.3.2.CR1
> Environment: Gentoo Linux 2.6.24
> Sun Java 1.6.0.0.7
> RichFaces 3.2.1_GA
> Facelets 1.1.14
> Apache Tomcat 6.0 AppServer
> JSF 1.2 RI
> Reporter: Lincoln Baxter III
> Assignee: Nick Belaevski
> Fix For: 3.3.3.CR1
>
> Attachments: UIAjaxForm.java
>
> Time Spent: 3 hours
> Remaining Estimate: 0 minutes
>
> When using the a4j:form component, the data="#{managedBean.property}" attribute is not correctly causing the javascript data variable to be populated.
> See example below. data is always undefined, even if the managed bean property is set to a valid value, the alert box shows undefined.
> I verified that when using a4j:commandButton, the data variable is correctly populated, and the alert box displays the value.
> <a4j:form id="themouth" data="#{indexBean.ajaxInputOk}"
> reRender="whispers,earInput,earErrors"
> oncomplete="alert(data)" ajaxSubmit="true">
> <div class="centered paddingLarge"><h:outputText
> id="whispers" styleClass="smallText" value="#{indexBean.whispers}" /></div>
> <div class="centered" id="earWhisper"><a4j:outputPanel id="earErrors">
> <h:message showSummary="true" showDetail="false" for="earInput"
> style="color: red;" />
> </a4j:outputPanel><br />
> <h:inputText id="earInput" autocomplete="off"
> value="#{indexBean.input}"
> validator="#{indexBean.validateWhisper}" required="true">
> </h:inputText> <h:commandButton id="whisperButton"
> action="#{indexBean.doWhisper}" value="whisper" /></div>
> </a4j:form>
--
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
14 years, 12 months