English 中文(简体)
ui:4号富余文件仅以第二次点击更新。
原标题:ui:include in richfaces 4 only gets updated on second click

我是Richs4和JSF2的新篇,有许多问题。 后一种守则开始迅速工作,然后中断。 目前,我有一个ui子:在点击了4j:commandlink时更新网页。 我利用lip片的 de光特征,可以发现,这些方法被点名,正确的价值被储存在床上,但在我第二次点击之前,网页从未更新过。 这页似乎在背后的标语中确定价值之前更新。 下面是我的法典。 在我向我的法则2.1.3更新之前,我还在My Faces 2.02中做了同样的工作。

<a4j:outputPanel id="pagePanel" layout="block">
  <ui:include src="#{panelMenu.currentPage}"></ui:include>
</a4j:outputPanel>

<h:panelGrid>
    <p><a4j:commandLink value="View Member" render="pagePanel" execute="pagePanel">
        <a4j:param value="/pages/group_member.xhtml" assignTo="#{panelMenu.currentPage}"/>
    </a4j:commandLink></p>
    <p><a4j:commandLink value="View/Edit Groups" render="pagePanel" execute="pagePanel">
    <a4j:param value="/pages/group_detail.xhtml" assignTo="#{panelMenu.currentPage}"/>
    </a4j:commandLink></p>
</h:panelGrid>
问题回答

暂无回答




相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签