Mar 10, 2011, 4:05 PM
Ext.Msg.notify
I have a combobox that I have added a notification. How I can display the contents of the combobox in the notification?
If for example I use camp.mode I get me out remote
Thanks and sorry for my bad English
<ext:ComboBox ID="camp"
runat="server"
Editable="false"
FieldLabel="Campaña"
StoreID="dsCampas"
DisplayField="Name"
ValueField="CampaignID"
ForceSelection="true"
TypeAhead="true"
TriggerAction="All"
Mode="Remote"
AllowBlank="false"
PageSize="10"
SelectOnFocus="false"
AnchorHorizontal="100%"
DataIndex="Name"
>
<Listeners>
<BeforeSelect Handler="#{Button2}.setDisabled(false);Ext.Msg.notify('Button Click', camp.ValueField );" />
</Listeners>
</ext:ComboBox>
I've tried #{camp}.getvalue(), camp.value, camp.displayvalue .... and I did not succeed. If for example I use camp.mode I get me out remote
Thanks and sorry for my bad English