[
https://jira.jboss.org/browse/RF-3080?page=com.atlassian.jira.plugin.syst...
]
Chris Harris commented on RF-3080:
----------------------------------
I'm getting the same issue as Alex. I'm using the 3 tags that he mentions (and
then some):
<rich:dataTable id="timeSlotData" rowKeyVar="rkv"
rows="0" value="#{donorScheduleAppointment.appointmentList}"
var="appointment">
<rich:column>
<f:facet name="header"> </f:facet>
<span class="outputText">#{appointment.time}</span>
</rich:column>
<rich:column styleClass="#{appointment.selectedDayData.styleClass}"
width="200px" style="align:center">
<f:facet name="header">
<h:panelGrid styleClass="panelGrid"
>#{donorScheduleAppointment.selectedDateValue}</h:panelGrid>
</f:facet>
<h:panelGrid bgcolor="white" width="100%">
<h:panelGrid id="appointmentPanel" columns="2"
rendered="#{appointment.selectedDayData.renderMakeAppointment}"cellpadding="10"
cellspacing="10">
<t:panelGroup styleClass="btn_L">
<a4j:commandButton
actionListener="#{donorScheduleAppointment.checkScheduleAvailability}"
styleClass="btn"
oncomplete="showScheduleDonorModal('#{donorScheduleAppointment.scheduleAllowed}');"
status="stateStatus"
reRender="scheduleModalGrid"
value="#{res['mb.form.btnMakeAnAppt']}" >
<a4j:actionparam name="time" value="#{appointment.time}"
assignTo="#{donorScheduleAppointment.selectedTime}"/>
<a4j:actionparam name="date"
value="#{donorScheduleAppointment.selectedDateValue}"
assignTo="#{donorScheduleAppointment.newApptDateValue}"/>
</a4j:commandButton>
</t:panelGroup>
</h:panelGrid>
</h:panelGrid>
</rich:column>
</rich:dataTable>
My backing bean's #{donorScheduleAppointment.selectedTime} isn't getting set to
#{appointment.time}. Since that property is not set, the site crashes when I try to .trim
a null variable. This used to work until I converted the site Tiles and .jsp's to
Facelets and .xhtml files. The page renders fine and the rest of the components on the
page work fine. This snippet of code is the only one that does not work as before.
I'm using WAS 6.1, JSF 2.0, Facelets 1.1.15, MyFaces 2.0.1, RichFaces 3.3.3 Final
(api/ui/impl-jsf2), Tomahawk 1.1.9
The present code is all that I can provide. Can someone help me figure this out?
a4j:actionparam is not working properly in RichFaces 3.2
--------------------------------------------------------
Key: RF-3080
URL:
https://jira.jboss.org/browse/RF-3080
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.2.0
Environment: JBoss app server 4.3, JSF 1.2, Richfaces 3.2
Reporter: Linh Le
Does the fix for this issue "http://jira.jboss.com/jira/browse/RF-2634" really
get included in RichFaces 3.2 release???
I have just upgraded from Richfaces 3.1.4 to 3.2, and the assignTo of a4j:actionparam
does not work properly anymore. I worked fine with 3.1.4. Why???
Specifically, I'm having a4j:actionparam inside an a4j:support onclick event. Then
the a4j:support is put inside a h:panelGrid. At the very first click on the panelGrid, the
bean property is NULL. The value was not set to the bean property of the assignTo attrib
at all, but it is set after the action listener method completed its execution. The bean
property should be set before the action listener method get executed (like in 3.1.4).
Therefore, for any subsequent click on the panelGrid, the bean property shows the value of
the previous click.
Your prompt response is highly appreciated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira