i noticed something strange today.
Here is the code:
Code: Select all
<h:selectOneMenu id="semModeSel2" value="#{announcement.holdingSemester}" rendered="#{announcement.managed}" disabled="#{announcement.disableHoldingMode}" valueChangeListener="#{announcement.holdingModeChanged}" >
<f:selectItems value="#{announcement.semestersSelection}" />
<p:ajax event="change" process="semModeSel2" update="globalMessagesPanel" />
</h:selectOneMenu>
When i am using f:ajax this takes about 500ms BUT when i am using p:ajax this takes about 250ms!!!
Another thing i noticed p:ajax doesn't execute the preRenderViewEvent ( which is good ) f:ajax does.
Can somebody try to reproduce or has a explanation why this happens?
Using PF 2.1 SS and MyFaces 2.0.2
best regards
gregor