[JBoss JIRA] Created: (RF-3552) rich:simpleTogglePanel strange behavior with a4j:repeat and rich:dataTable
by Pulkk Pulkk (JIRA)
rich:simpleTogglePanel strange behavior with a4j:repeat and rich:dataTable
--------------------------------------------------------------------------
Key: RF-3552
URL: http://jira.jboss.com/jira/browse/RF-3552
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.1.2
Environment: Apache-Tomcat 6.0.18, Faces 1.2
Reporter: Pulkk Pulkk
When using rich:simpleTogglePanel inside a looping tag such as a4j:repeat or rich:dataTable, the open/close behavior gets strange.
For example:
<a4j:repeat>
<rich:simpleTogglePanel>
...
</rich:simpleTogglePanel>
</a4j:repeat>
When working with the panels, the following happens depending on the switchType value:
- Server: when one is opened or closed, all the rest open and close respectively
- Client/Ajax: when one is opened or closed, the rest remain (the correct behavior). However, when the enclosing component is reRendered, they all open or close respectively depending on the last operation.
It seems that when rich:simpleTogglePanel is put into a looping tag, all the resulting panels are treated as one in open/close operations. To illustrate:
<a4j:repeat>
<rich:simpleTogglePanel>
...
</rich:simpleTogglePanel>
<rich:simpleTogglePanel>
...
</rich:simpleTogglePanel>
</a4j:repeat>
In this case, when opening or closing an odd-numbered panel in the output, all the odd-numbered panel open or close respectively but the even ones remain intact. Same goes for even ones.
--
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, 3 months
[JBoss JIRA] Created: (RF-3453) rich:modalPanel does not work with event listeners added using a4j:support
by Paul Speijers (JIRA)
rich:modalPanel does not work with event listeners added using a4j:support
--------------------------------------------------------------------------
Key: RF-3453
URL: http://jira.jboss.com/jira/browse/RF-3453
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5, 3.1.x
Reporter: Paul Speijers
Fix For: 3.1.6, 3.1.x
I wanted to perform some finalization work when I hide a modalPanel and an obvious solution would be to register an action to the onhide event using an a4j:support. However, the action is never executed and it seems like the event listener is not registered with the onhide event.
<rich:modalPanel id="#{modalPanelId}" height="600" top="20" left="112" width="900" resizeable="false" moveable="true"
onshow="focusFirstModalPanelElement('#{modalPanelId}')">
<a4j:support event="onhide" action="#{modalPanelDelegator.closePanel}" oncomplete="alert('test2')"/>
.....
</rich:modalPanel>
--
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, 3 months
[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
16 years, 3 months
[JBoss JIRA] Created: (RF-3786) subTable in dataTable adds additional <th>
by Andreas Heiduk (JIRA)
subTable in dataTable adds additional <th>
------------------------------------------
Key: RF-3786
URL: http://jira.jboss.com/jira/browse/RF-3786
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1, 3.2.0.SR1
Environment: RF-3.2.[01], JSF-RI implementation
Reporter: Andreas Heiduk
As soon as a dataTable contains both subTable and a column "header" facet an additional <th> element is rendered.
Example:
<rich:dataTable value="#{capitalsBean.capitals}" var="capital">
<rich:column>
<f:facet name="header">Capital Name</f:facet>
<h:outputText value="#{capital.name}" />
</rich:column>
<rich:column>
<f:facet name="header">Property Name</f:facet>
</rich:column>
<rich:column>
<f:facet name="header">Property Value</f:facet>
</rich:column>
<rich:subTable value="#{capital.detailList}" var="detail">
<rich:column />
<rich:column>
<h:outputText value="#{detail.key}" />
</rich:column>
<rich:column>
<h:outputText value="#{detail.value}" />
</rich:column>
</rich:subTable>
</rich:dataTable>
Now <thead> contains *four* <th> elements instead of three. The last <th> element looks like this:
<th class="dr-table-subheadercell rich-table-subheadercell" scope="col"/>
--
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, 5 months
[JBoss JIRA] Created: (RF-2029) Modal Panel: top and left ="aout" do not influence to MP in FF
by Ilya Shaikovsky (JIRA)
Modal Panel: top and left ="aout" do not influence to MP in FF
--------------------------------------------------------------
Key: RF-2029
URL: http://jira.jboss.com/jira/browse/RF-2029
Project: RichFaces
Issue Type: Bug
Environment: FF
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
modal panel opens in top left corner of the screen in FF
<rich:modalPanel id="_panel" autosized="true" minHeight="550"
minWidth="200" moveable="true" style="overflow: true;" top="auto" left="auto" showWhenRendered="true">
<f:facet name="header">
<h:outputText value="Events..." />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#"
onclick="Richfaces.hideModalPanel('_panel'); return false;" >
X
</h:outputLink>
</f:facet>
<h:outputText value="Eventsaaaaaaaaaaaaaaaa ..." />
</rich:modalPanel>
--
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, 5 months