English 中文(简体)
Ajax部分在行动之前更新 被称作名单者?
原标题:Ajax component updates before actionListener called?

我正在使用以下几部新法文本:<p:dialog>,以发射一个波及第html页和<p:commandButton>,以关闭:

这是我在什么时候做的。 奥克顿受到压力:

<p:commandButton id="submitButton" 
    value="OK" 
    actionListener="#{MultiFileSelectMgmtBean.actionOk}" 
    update=":formID:fileTreeID" 
    oncomplete="dlg1.hide();"/>

Problem is that fileTreeID is updated before action listener is done. How do I force actionOk() to be called first, and then fileTreeID to be updated?

http://www.ohchr.org。

问题是,B(BackingBeanB)需要计算和节省A组装和在其中使用的一些数值。 当时的情况是,A号母体的构造是<><>><>><><>>在之前的>儿童网页B上:actionOk(。 需要更新的内容是<代码>fileTreeID, 载于A页,取决于A组的数值,因此,它得到更新时采用了旧数值,而不是以BackingBeanB:actionOk()计算的新数值。

问题回答

你的神父显然处于申请范围。 而是将豆类推到底。

@ManagedBean
@ViewScoped
public class BeanA {}
@ManagedBean
@ViewScoped
public class BeanB {}

那么,只要你本着同样的观点重新互动,并且不根据每一个吉大港定居地的申请进行重建,这些豆类就会如此生活。

<>t>update/code>在<>>>> 援引该项行动之前无疑未履行。 只有在做出答复时,才可能建造背书的豆类。 可以在已经恢复的观察阶段进行。





相关问题
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 ...