[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-5240) Exception processing in the richfaces custom listeners
by Anton Belevich (JIRA)
Exception processing in the richfaces custom listeners
-------------------------------------------------------
Key: RF-5240
URL: https://jira.jboss.org/jira/browse/RF-5240
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.0
Reporter: Anton Belevich
Assignee: Anton Belevich
Fix For: Future
exception which could occur in our listeners should be wrapped with AbortProcessingException (see MethodBindingValueChangeListener, MethodExpressionValueChangeListener for the implementation details)
Hint: It's seems we should change componentTag.vm (setProperties) component.vm (getters generation) templates in our component generator for this purpose and implement custom MethodExpressionListeners, MethodBindingListeners like sun do with valueChangeListener, actionListener
--
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
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-5474) Javascript error in ui.pack.js
by hello All (JIRA)
Javascript error in ui.pack.js
------------------------------
Key: RF-5474
URL: https://jira.jboss.org/jira/browse/RF-5474
Project: RichFaces
Issue Type: Bug
Components: portal
Affects Versions: 3.2.2
Environment: Richfaces - 3.2.2.GA (also tested with 3.3.0Beta)
JBoss Portal - 2.7.0 CR1
Jboss App - 4.2.2.GA
IE version 7
Windows OS
Ajax4JSF
Reporter: hello All
I am using RichFaces tree and on click of a node, I get a javascript error - Object doesn't support this property or method. The error occurs in ie version 7 and not in Firefox. On debugging, the javascript error is thrown in the while statement in ui.pack.js :
Code:
var C=0;
while(D&&Element.isChildOf(D,this.element)){C+=D.offsetTop;
D=D.offsetParent
}D=F;
Here is my tree code:
<rich:tree style="width:230px" switchType="client"
value="#{reportCenterMgr.projectsTreeNode}" id="projectNamesTree"
var="item2" bypassUpdates="true" nodeFace="#{item2.type}">
<rich:treeNode highlightedClass="myClass" selectedClass="myClass"
type="#{item2.type}" icon="/images/#{item2.icon}" iconLeaf="/images/#{item2.icon}">
<h:outputText value="#{reportCenterMgr.selectedProjectName}" style="font-weight: bold;color: white;" rendered="#{reportCenterMgr.singleProjectAccessible}"/>
<a4j:commandLink value="#{item2.name}" rendered="#{!reportCenterMgr.singleProjectAccessible}"
actionListener="#{reportCenterMgr.projectNameClicked}"
event="onclick" reRender="sharedReportsTreePanel,myReportsTreePanel">
<f:param name="projectName" value="#{item2.name}" />
<f:param name="projectId" value="#{item2.id}" />
</a4j:commandLink>
</rich:treeNode>
</rich:tree>
--
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
16 years, 5 months