myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yazid <sm_ya...@yahoo.fr>
Subject [Tobago] Compoment Refresh inside a popup
Date Mon, 21 May 2007 10:38:30 GMT

Hi All;
I've two selectOnechoice inside a Popup; the selected value of the first
refresh the second list.
But one I select a value in the fist list; all my page is being refreshed. I
want to refresh only the seconde list, not the whole page.

Please help;




Here's the code :
***************
<tx:selectOneChoice label="Type" readonly="false"
                             value="#{bean.type}" id="type"  tip="">
			<f:selectItems value="#{bean.typeItems}"/>
	<f:facet name="change"  >
		<tc:command action="#{bean.typeChanged}" immediate="false" 
	
onclick="Tobago.reloadComponent(:page:sheetRuleConfigPopup:type2Pan:subTy1,'@autoId'')"/>
	</f:facet>
 </tx:selectOneChoice>
							        
<tc:panel id="type2Pan" >
    <tx:selectOneChoice label="SubType" readonly="false"
value="#{bean.subType}" id="subTy1"  tip="">
			<f:selectItems value="#{bean.subTypeItems}"/>
				</tx:selectOneChoice>
	</tx:selectOneChoice>
</tc:panel>

********************
I've tried also with renderPratiavly param in the command tag; 
-- 
View this message in context: http://www.nabble.com/-Tobago--Compoment-Refresh-inside-a-popup-tf3789411.html#a10716422
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message