As a follow up to this, I can see why it isn't working but don't know yet how
to fix it.
The following is the extracted html from the drop down when it is intially
rendered via normal PPR
<select id="_id270:0:_id288:0:_id291" name="_id270:0:_id288:0:_id291"
onchange="TrPage._autoSubmit('_id3','_id270:0:_id288:0:_id291',event,1);return
true;" class="af_selectOneChoice_content"><option
value="">All</option><option
value="0:getFeature_Value02:All">All</option><option
value="0:getFeature_Value02:LG">LG</option><option
value="0:getFeature_Value02:MOTOROLA">MOTOROLA</option><option
value="0:getFeature_Value02:NOKIA">NOKIA</option><option
value="0:getFeature_Value02:PALM TREO">PALM TREO</option><option
value="0:getFeature_Value02:RESEARCH IN MOTION">RESEARCH IN
MOTION</option><option
value="0:getFeature_Value02:SAMSUNG">SAMSUNG</option><option
value="0:getFeature_Value02:SONY ERICSSON">SONY ERICSSON</option><option
value="0:getFeature_Value02:VODAFONE">VODAFONE</option></select>
</code>
and when it is updated via jquery ajax load:
<select id="_id14:0:_id17" name="_id14:0:_id17"
class="af_selectOneChoice_content"><option value="">All</option><option
value="0:getFeature_Value02:All">All</option><option
value="0:getFeature_Value02:LG">LG</option><option
value="0:getFeature_Value02:MOTOROLA">MOTOROLA</option><option
value="0:getFeature_Value02:NOKIA">NOKIA</option><option
value="0:getFeature_Value02:PALM TREO">PALM TREO</option><option
value="0:getFeature_Value02:RESEARCH IN MOTION">RESEARCH IN
MOTION</option><option
value="0:getFeature_Value02:SAMSUNG">SAMSUNG</option><option
value="0:getFeature_Value02:SONY ERICSSON">SONY ERICSSON</option><option
value="0:getFeature_Value02:VODAFONE">VODAFONE</option></select>
The latter is missing the onchange javascript call:
onchange="TrPage._autoSubmit('_id3','_id270:0:_id288:0:_id291',event,1);return
true;"
--
View this message in context:
http://old.nabble.com/-TRINIDAD--non-PPR-ajax-update-tp31592524p31592604.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.