You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by brucemaki <cs...@gmail.com> on 2009/01/13 10:11:14 UTC

PPR problems on valueChangeListener event in selectOneChoice component

Hi,
i'm using trinidad-1.2.10 release (the last), but this is an old problem,
and it happens sometimes with Internet Explorer 6 and rarely with Internet
Explorer 7.
This is the snippet:
<tr:selectOneChoice id="cmbTestate" autoSubmit="true"
binding="#{uploadAdQ.selectTestate}" 
label="#{msgs.label_testataQ}"
valueChangeListener="#{uploadAdQ.testataChanged}" 
unselectedLabel="#{uploadAdQ.unselLabel}" onchange="clearFileValue();">
     <f:selectItems value="#{uploadAdQ.listaTestate}"></f:selectItems>
</tr:selectOneChoice>

In the rest of the form (multipart) there are other selectOneChoice elements
that must be refreshed after the above item change. The problem is that
sometimes, after the user change the option item in the first combo, the
entire form appears freezed, and the "public void
testataChanged(ValueChangeEvent vce)" method has not be invoked. The PPR
"statusIndicator" icon is busy but the user have to close the browser to
exit from this kind of crash.
Tomcat don't log anything and in debug a can't reproduce this problem.
The onchange="clearFileValue();" call a little Javascript that checks if the
inputFile field is null or not...

What i'm doing wrong and what i can do?
Thanks a lot.

Cristiano

-- 
View this message in context: http://www.nabble.com/PPR-problems-on-valueChangeListener-event-in-selectOneChoice-component-tp21431779p21431779.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.