0
我有一個帶有一些組件的模塊面板(例如,一棵樹)。在我的行動和actionListners工作corretity。一段時間後(從5到10分鐘),行動完全停止。該帖子被觸發,但AjaxViewRoot操作爲空。我沒有驗證錯誤。 所有頁面組件id都是固定的(不生成)以防止轉換錯誤。 我的bean是Conversation作用域,超時時間超過30分鐘。JSF actionListner在一段時間後不會調用
<rich:modalPanel id="modalId" resizeable="false" autosized="true">
<a4j:include id="myPage" viewId="#{bean.viewId}"/>
</rich:modalPanel>
這裏是我的空間(包括頁)代碼:
<ui:composition>
<h:form id="frmPage">
<h:panelGrid columns="1">
<a4j:region id="treeRegion">
<rich:panel id="tbPanelTrees">
<h:panelGrid columns="2" >
<h:panelGroup layout="block" style="height:#{(height-150)/2}px; width:#{(width-20)/2}px; overflow:visible; overflow-y:auto; overflow-x:auto;">
<rich:tree id="subjectTree"
style=" height: 100%"
switchType="ajax"
var="item"
nodeFace="#{item.nodeType}"
value="#{bean.subjTree.rootSubjectsTree}"
adviseNodeOpened="#{bean.subjTree.adviseNodeOpened}"
changeExpandListener="#{bean.subjTree.changeExpandListener}"
nodeSelectListener="#{bean.subjTree.nodeSelectListener}"
ajaxSubmitSelection="true"
reRender="elements outside region"
ajaxSingle="true"
ignoreDupResponses="true">
<rich:treeNode type="root" icon="#{item.subjectsIcon}" iconLeaf="#{item.subjectsIcon}" id="subjectRootNode">
<a4j:commandLink value="#{item.nodeName}" id="subjectRootNodeLink"/>
</rich:treeNode>
<rich:treeNode type="user" icon="#{item.userIcon}" iconLeaf="#item.userIcon}" id="userNode">
<a4j:commandLink value="#{item.nodeName}" id="userNodeLink"/>
</rich:treeNode>
</rich:tree>
</h:panelGroup>
</a4j:region>
</h:panel:Grid>
</h:form>
</ui:composition>
沒有任何人有一個想法,有什麼問題呢?
您是否檢查過您的JavaScript控制檯上的網絡選項卡以獲取任何錯誤消息?你正在運行什麼版本的射頻? – kolossus
@kolossus,我在firebug中檢查過我的js concole。沒有錯誤。我的RF版本是3.3.1。 – Ermintar