[JBoss JIRA] Updated: (RF-738) no FuncSpec on components
by Svetlana mukhina (JIRA)
[ http://jira.jboss.com/jira/browse/RF-738?page=all ]
Svetlana mukhina updated RF-738:
--------------------------------
Component/s: planning
(was: doc)
> no FuncSpec on components
> -------------------------
>
> Key: RF-738
> URL: http://jira.jboss.com/jira/browse/RF-738
> Project: RichFaces
> Issue Type: Bug
> Components: planning
> Affects Versions: 3.1.0
> Reporter: Aleksej Yanul
> Assigned To: Ilya Shaikovsky
> Fix For: Future Versions
>
>
> 6.25. < rich:dataFilterSlider >
> 6.26. < rich:datascroller >
> 6.27. < rich:columnGroup >
> 6.28. < rich:column >
> 6.29. < rich:dataGrid >
> 6.30. < rich:dataList >
> 6.31. < rich:dataOrderedList >
> 6.32. < rich:dataDefinitionList >
> 6.33. < rich:dataTable >
> 6.34. < rich:subTable >
> 6.35. < rich:dndParam >
> 6.36. < rich:dragIndicator >
> 6.37. < rich:dragSupport >
> 6.38. < rich:dropSupport >
> 6.40. < rich:effect >
> 6.41. < rich:menuGroup >
> 6.42. < rich:menuItem >
> 6.43. < rich:menuSeparator >
> 6.44. < rich:gmap >
> 6.45. < rich:virtualEarth >
> 6.46. < rich:inputNumberSlider >
> 6.47. < rich:inputNumberSpinner >
> 6.48. < rich:insert >
> 6.51. < rich:modalPanel >
> 6.55. < rich:paint2D >
> 6.56. < rich:panel >
> 6.57. < rich:panelBar >
> 6.58. < rich:panelBarItem >
> 6.59. < rich:separator >
> 6.60. < rich:simpleTogglePanel >
> 6.61. < rich:spacer >
> 6.62. < rich:suggestionbox >
> 6.63. < rich:tabPanel >
> 6.64. < rich:tab >
> 6.65. < rich:togglePanel >
> 6.66. < rich:toggleControl >
> 6.67. < rich:toolBar >
> 6.68. < rich:toolBarGroup >
> 6.70. < rich:tree >
> 6.71. < rich:treeNode >
--
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, 9 months
[JBoss JIRA] Created: (RF-1134) 3.1.2RC2: <rich:treeNodesAdapter> produces error message
by Juergen Zimmermann (JIRA)
3.1.2RC2: <rich:treeNodesAdapter> produces error message
--------------------------------------------------------
Key: RF-1134
URL: http://jira.jboss.com/jira/browse/RF-1134
Project: RichFaces
Issue Type: Bug
Environment: RichFaces 3.1.2RC2, JBoss 4.2.1 with JSF 1.2_05RC3, Eclipse 3.1.1 with WTP 2.0.1, JDK 1.6.0_03
Reporter: Juergen Zimmermann
Fix For: 3.1.2
I have a tree with 2 levels resp. treeNodesAdapter as follows:
<h:form id="bestellungenForm">
<rich:tree id="bestellungenTree">
<f:facet name="icon">
<h:outputText value=""/>
</f:facet>
<f:facet name="iconLeaf">
<h:outputText value=""/>
</f:facet>
<rich:treeNodesAdaptor id="bestellungenAdapter"
nodes="#{kunden.detailsKunde.bestellungen}"
var="best">
<rich:treeNode id="bestellungKnoten">
<h:outputText value="#{i18n['bestellung']} #{i18n['nr']} #{best.id}"/>
</rich:treeNode>
<rich:treeNodesAdaptor id="bestposAdapter"
nodes="#{best.bestellpositionen}"
var="bp">
<rich:treeNode id="bestposKnoten">
<h:outputText value="#{bp.anzahl} #{bp.artikel.bezeichnung}"/>
</rich:treeNode>
</rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
</rich:tree>
</h:form>
When clicking either on the icon for expanded or collapsed visualization I get this error message on the JBoss console (same error message also with RF 3.1.1):
ERROR [STDERR] TreeRendererBase.encodeAjaxChildren()[bestellungenAdapter_:0]
Here are the relevant lines of the generated XHTML code:
<form id="bestellungenForm" name="bestellungenForm" method="post" action="/hska/faces/kundenverwaltung/panelGridDetails.xhtml" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="bestellungenForm" value="bestellungenForm" />
<div class="dr-tree rich-tree " id="bestellungenForm:bestellungenTree" xmlns:rich="http://richfaces.ajax4jsf.org/rich" rows="0"><div id="bestellungenForm:bestellungenTree:childs"><table border="0" cellpadding="0" cellspacing="0" class="dr-tree-full-width rich-tree-node" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten"><tbody><tr id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten:mainRow" onclick=" "><td class="dr-tree-h-ic rich-tree-node-handleicon dr-tree-h-ic-line-node"><div><a href="#" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten:handle" onclick="A4J.AJAX.Submit('_viewRoot','bestellungenForm',event,{'parameters':{'bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnotenNodeExpanded':'true','bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnotenAjaxExpanded':true} ,'actionUrl':'/hska/faces/kundenverwaltung/panelGridDetails.xhtml'} ); return false;"><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-collapsed" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten:handle:img:collapsed" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreePlusImage/DATB/eAH7....72fXGBgYACWpBbU_" /><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-expanded" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten:handle:img:expanded" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreeMinusImage/DATB/eAH7....72fXGBgYACWpBbU_" style="display: none;" /></a></div></td><td class="dr-tree-h-ic rich-tree-node-icon dr-tree-h-ic-line-clp" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten:icon" rich:draggableoptions="{'parameters':{'dragSourceId':'bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten','bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten':'bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten'} } " rich:dropzoneoptions="{} "><span class="dr-tree-h-ic-img-md dr-tree-h-ic-img dr-tree-h-ic-facets"></span></td><td class="dr-tree-h-text rich-tree-node-text " id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten:text" rich:highlightedclass="dr-tree-i-hl rich-tree-node-highlighted" rich:selectedclass="dr-tree-i-sel rich-tree-node-selected">Bestellung Nr. 51</td></tr></tbody></table><div id="bestellungenForm:bestellungenTree:bestellungenAdapter_:0:bestellungKnoten:childs" style="display: none;" class="dr-tree-layout-on dr-tree-h-ic-div rich-tree-node-cildren dr-tree-h-ic-line"></div><table border="0" cellpadding="0" cellspacing="0" class="dr-tree-full-width rich-tree-node" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten"><tbody><tr id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten:mainRow" onclick=" "><td class="dr-tree-h-ic rich-tree-node-handleicon dr-tree-h-ic-line-node"><div><a href="#" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten:handle" onclick="A4J.AJAX.Submit('_viewRoot','bestellungenForm',event,{'parameters':{'bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnotenNodeExpanded':'true','bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnotenAjaxExpanded':true} ,'actionUrl':'/hska/faces/kundenverwaltung/panelGridDetails.xhtml'} ); return false;"><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-collapsed" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten:handle:img:collapsed" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreePlusImage/DATB/eAH7....72fXGBgYACWpBbU_" /><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-expanded" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten:handle:img:expanded" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreeMinusImage/DATB/eAH7....72fXGBgYACWpBbU_" style="display: none;" /></a></div></td><td class="dr-tree-h-ic rich-tree-node-icon dr-tree-h-ic-line-clp" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten:icon" rich:draggableoptions="{'parameters':{'dragSourceId':'bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten','bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten':'bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten'} } " rich:dropzoneoptions="{} "><span class="dr-tree-h-ic-img-md dr-tree-h-ic-img dr-tree-h-ic-facets"></span></td><td class="dr-tree-h-text rich-tree-node-text " id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten:text" rich:highlightedclass="dr-tree-i-hl rich-tree-node-highlighted" rich:selectedclass="dr-tree-i-sel rich-tree-node-selected">Bestellung Nr. 52</td></tr></tbody></table><div id="bestellungenForm:bestellungenTree:bestellungenAdapter_:1:bestellungKnoten:childs" style="display: none;" class="dr-tree-layout-on dr-tree-h-ic-div rich-tree-node-cildren dr-tree-h-ic-line"></div><table border="0" cellpadding="0" cellspacing="0" class="dr-tree-full-width rich-tree-node" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten"><tbody><tr id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten:mainRow" onclick=" "><td class="dr-tree-h-ic rich-tree-node-handleicon dr-tree-h-ic-line-node"><div><a href="#" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten:handle" onclick="A4J.AJAX.Submit('_viewRoot','bestellungenForm',event,{'parameters':{'bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnotenNodeExpanded':'true','bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnotenAjaxExpanded':true} ,'actionUrl':'/hska/faces/kundenverwaltung/panelGridDetails.xhtml'} ); return false;"><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-collapsed" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten:handle:img:collapsed" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreePlusImage/DATB/eAH7....72fXGBgYACWpBbU_" /><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-expanded" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten:handle:img:expanded" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreeMinusImage/DATB/eAH7....72fXGBgYACWpBbU_" style="display: none;" /></a></div></td><td class="dr-tree-h-ic rich-tree-node-icon dr-tree-h-ic-line-clp" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten:icon" rich:draggableoptions="{'parameters':{'dragSourceId':'bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten','bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten':'bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten'} } " rich:dropzoneoptions="{} "><span class="dr-tree-h-ic-img-md dr-tree-h-ic-img dr-tree-h-ic-facets"></span></td><td class="dr-tree-h-text rich-tree-node-text " id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten:text" rich:highlightedclass="dr-tree-i-hl rich-tree-node-highlighted" rich:selectedclass="dr-tree-i-sel rich-tree-node-selected">Bestellung Nr. 120</td></tr></tbody></table><div id="bestellungenForm:bestellungenTree:bestellungenAdapter_:2:bestellungKnoten:childs" style="display: none;" class="dr-tree-layout-on dr-tree-h-ic-div rich-tree-node-cildren dr-tree-h-ic-line"></div><p class="dr-tree-last-node-marker"></p><table border="0" cellpadding="0" cellspacing="0" class="dr-tree-full-width rich-tree-node" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten"><tbody><tr id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten:mainRow" onclick=" "><td class="dr-tree-h-ic rich-tree-node-handleicon dr-tree-h-ic-line-last"><div><a href="#" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten:handle" onclick="A4J.AJAX.Submit('_viewRoot','bestellungenForm',event,{'parameters':{'bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnotenAjaxExpanded':true,'bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnotenNodeExpanded':'true'} ,'actionUrl':'/hska/faces/kundenverwaltung/panelGridDetails.xhtml'} ); return false;"><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-collapsed" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten:handle:img:collapsed" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreePlusImage/DATB/eAH7....72fXGBgYACWpBbU_" /><img border="0" class="dr-tree-pointer-cursor dr-tree-h-ic-img-md dr-tree-h-ic-img rich-tree-node-handleicon-expanded" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten:handle:img:expanded" src="/hska/faces/a4j_3_1_2.CR2org.richfaces.renderkit.html.images.TreeMinusImage/DATB/eAH7....72fXGBgYACWpBbU_" style="display: none;" /></a></div></td><td class="dr-tree-h-ic rich-tree-node-icon dr-tree-h-ic-line-clp" id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten:icon" rich:draggableoptions="{'parameters':{'dragSourceId':'bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten','bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten':'bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten'} } " rich:dropzoneoptions="{} "><span class="dr-tree-h-ic-img-md dr-tree-h-ic-img dr-tree-h-ic-facets"></span></td><td class="dr-tree-h-text rich-tree-node-text " id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten:text" rich:highlightedclass="dr-tree-i-hl rich-tree-node-highlighted" rich:selectedclass="dr-tree-i-sel rich-tree-node-selected">Bestellung Nr. 121</td></tr></tbody></table><div id="bestellungenForm:bestellungenTree:bestellungenAdapter_:3:bestellungKnoten:childs" style="display: none;" class="dr-tree-layout-on dr-tree-h-ic-div rich-tree-node-cildren"></div></div><input type="hidden" id="bestellungenForm:bestellungenTree:input" name="bestellungenForm:bestellungenTree:input" value="" /><script type="text/javascript">var Richfaces_Tree_bestellungenForm_bestellungenTree =
new Tree("bestellungenForm:bestellungenTree", "bestellungenForm:bestellungenTree:input", "ajax",
{
onselect: "",
onexpand: "",
oncollapse: ""
},
function(event) {
A4J.AJAX.Submit('_viewRoot','bestellungenForm',event,{'parameters':{'bestellungenForm:bestellungenTree:selectedNode':event.selectedNode} ,'actionUrl':'/hska/faces/kundenverwaltung/panelGridDetails.xhtml'} ); return false;
},
false,
true
);
Richfaces_Tree_bestellungenForm_bestellungenTree.drop = function(event,drag){var options = {'parameters':{'bestellungenForm:bestellungenTree':'bestellungenForm:bestellungenTree'} ,'actionUrl':'/hska/faces/kundenverwaltung/panelGridDetails.xhtml'} ;options.parameters['dropTargetId'] = 'bestellungenForm:bestellungenTree';Object.extend(options.parameters,drag.getParameters());var dzOptions = this.getDropzoneOptions(); if (dzOptions.ondrop) { if (!dzOptions.ondrop.call(this, event)) return; };A4J.AJAX.Submit('_viewRoot','bestellungenForm',event,options);};</script><div id="bestellungenForm:bestellungenTree:script"><script type="text/javascript"></script></div></div><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="_id5" />
</form>
--
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, 9 months
[JBoss JIRA] Created: (RF-1946) show modalPanel in oncomplete doesn't work
by Tomasz Jedzierowski (JIRA)
show modalPanel in oncomplete doesn't work
------------------------------------------
Key: RF-1946
URL: http://jira.jboss.com/jira/browse/RF-1946
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: Firefox 2.0, IE 7.0
Reporter: Tomasz Jedzierowski
I'm trying to show a modalPanel after initialization by user input. The following code does not work.
<a4j:commandButton image="/images/icons/edit.gif" action="#{SoftwareLicenceTypeBean.chooseRow}" reRender="edytuj_typ" oncomplete="cos();"/>
<rich:modalPanel id="edytuj_typ" minHeight="100" minWidth="250" height="100" width="250" zindex="2000" resizeable="false">
<f:facet name="header">
<h:outputText value="Edytowanie licencji - #{SelectedLicenceTypeBean.licence.name}" />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="/images/modal/close.png" style="cursor:pointer" onclick="javascript:Richfaces.hideModalPanel('edytuj_typ')" />
</f:facet>
<div>
<table cellspacing="1" cellpadding="0" class="tableEvidence">
<tr>
<td class="tName">Nazwa</td>
<td class="tValue">
<h:inputText value="#{SelectedLicenceTypeBean.licence.name}"/>
</td>
</tr>
</table>
<a4j:commandButton value="Dodaj" action="#{SoftwareLicenceTypeBean.editLicence}" onclick="javascript:Richfaces.hideModalPanel('edytuj_typ')" reRender="formularz_typy"/>
</div>
</rich:modalPanel>
<script>
function cos() {
Richfaces.showModalPanel('edytuj_typ',{width:450, top:200});
}
</script>
When I change the cos() function to:
<script>
function cos() {
alert();
Richfaces.showModalPanel('edytuj_typ',{width:450, top:200});
}
</script>
Suddenly the modalPanel start appearing. It looks like without, the alert(); function the cos() function doesn't get called.
--
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, 10 months