[PB3.1.0.Beta3] Uncaught ReferenceError: RichFaces is not defined
jpadula35 Oct 26, 2012 10:20 PMKen,
Using PortletBridge 3.1.0.Beta3
RichFaces4.2.3.Final
GateIn3.4.0_jbossAS6.Final
JSF 2.1.13
Spring 3.1.12
Now that I can see errors in Developer Tools, I am getting closer to debugging an error that we've been having for over two years, going back to using GateIn3.1.0.GA with an older PortletBridge. But we are still seeing these problems even with an upgraded GateIn and PortletBridge and Richfaces, so there must be something wrong with what we are doing. Every now an then when we switch from one portlet to another the main table of the portlet page looses all of the grid. When it used to happen before we could refresh the page and it would come back to life. Now when it happens, I have to log out of Portal and then back in. In Chrome Developer Tools, Console tab, I am seeing these error messages, but can't make heads or tails out of them, any ideas on how to debug this?
In this one case, first it says toolbarHandlers is not defined, then also RichFaces is not defined.
</a></td><td class="rf-tb-emp"> </td></tr></table><script type="text/javascript">toolbarHandlers({"id":"pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt66","events":{} ,"groups":[] } );</script>
<p></p>
<div class="scroller"><table id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable" class="rf-dt"><colgroup span="6"></colgroup><thead id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:th" class="rf-dt-thd"><tr id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:ch" class="rf-dt-shdr"><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:j_idt85">Type</th><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:j_idt89">Class</th><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:j_idt92">Label</th><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:j_idt95"></th><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:j_idt98"></th><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:j_idt101"></th></tr></thead><tbody id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:tb" class="rf-dt-b"><tr class="rf-dt-nd"><td colspan="6" class="rf-dt-nd-c" style="display: none;"></td></tr></tbody><tbody id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable:sc"><tr><td style="display: none"><script type="text/javascript">new RichFaces.ui.DataTable("pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:elementTable",{"ajaxEventOptions":{} } )</script></td></tr></tbody></table>
</div></div></div><span id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:sensorInterfaceEditorOkCancel" style="display:block; text-align:center"><input id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt104" name="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt104" onclick="RichFaces.ajax("pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt104",event,{"incId":"1"} );return false;" value="OK" style="width:80px" type="submit" /><input id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt105" name="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt105" onclick="RichFaces.ajax("pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt105",event,{"incId":"1"} );return false;" value="Cancel" style="width:80px" type="submit" /></span></div></div></div><script type="text/javascript">new RichFaces.ui.PopupPanel("pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPopupSensorInterfaceEditor",{"autosized":true,"domElementAttachment":"form"} );</script></div></div></div><div class="rf-p " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt106" style="border-style:none;"><div class="rf-p-b " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt106_body"><div id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPropertiesEdit" style="visibility: hidden;"><div class="rf-pp-shade" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPropertiesEdit_shade" style="z-index:100;"><button class="rf-pp-btn" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPropertiesEditFirstHref"></button></div><div class="rf-pp-cntr " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPropertiesEdit_container" style="position: fixed; z-index:100; "><div class="rf-pp-shdw" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPropertiesEdit_shadow"></div><div class="rf-pp-cnt-scrlr" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPropertiesEdit_content_scroller"><div class="rf-pp-cnt" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:modalPanelPropertiesEdit_content"><div class="rf-p " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:propsPanel" style="border-style:none;"><div class="rf-p-b " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:propsPanel_body"><div class="rf-p " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt122" style="border-style:none;"><div class="rf-p-hdr " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt122_header">User Defined Properties</div><div class="rf-p-b " id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt122_body">
<div class="scroller_small"><table id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable" class="rf-dt"><colgroup span="3"></colgroup><thead id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:th" class="rf-dt-thd"><tr id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:ch" class="rf-dt-shdr"><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:j_idt125"><span class="headerText">Key</span></th><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:j_idt128"><span class="headerText">Value</span></th><th class="rf-dt-shdr-c" scope="col" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:j_idt131"></th></tr></thead><tbody id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:tb" class="rf-dt-b"><tr id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0" class="rf-dt-r rf-dt-fst-r"><td id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt125" class="rf-dt-c colStyleRight"><input type="text" name="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt127" value="" maxlength="128" style="width:95%" /></td><td id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt128" class="rf-dt-c colStyleLeft"><input type="text" name="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt130" value="" maxlength="256" style="width:95%" /></td><td id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt131" class="rf-dt-c colStyleCentered"><a href="#" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt132" name="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt132" onclick="RichFaces.ajax("pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:0:j_idt132",event,{"incId":"1"} );return false;"><img src="/stcs-portlet-sensor-interfaces/images/minus.png" alt="delete" title="delete" /></a></td></tr></tbody><tbody id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable:sc"><tr><td style="display: none"><script type="text/javascript">new RichFaces.ui.DataTable("pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:userPropertiesTable",{"ajaxEventOptions":{} } )</script></td></tr></tbody></table>
</div><a href="#" id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt135" name="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt135" onclick="RichFaces.ajax("pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:j_idt135",event,{"incId":"1"} );return false;"><img src="/dev-portlet-sensor-interfaces/images/plus.png" />add new row</a></div></div></div></div><table id="pbGe8e0e590_2db335_2d4fb5_2d98fa_2df535b48c56e7_j_id1:j_idt5:prpOkCancel">
<tbody
Thanks for your help.
Joe