Apr 13, 2010, 3:08 PM
[CLOSED] [1.0] Confirmation Message
is there a way to dynamically create confirmation message based on treepanel selection? so the message will show "Are you sure you would like to delete menuitem111"?
Thank you!
Thank you!
<ext:Button ID="btDelete" runat="server" Text="Delete" Icon="Delete">
<DirectEvents>
<Click OnEvent="DeleteItem">
<Confirmation ConfirmRequest="true" Title="Delete" Message="Are you sure you would like to delete selected item? "/>
<ExtraParams>
<ext:Parameter Name="selectedMenu" Value="#{TreePanel1}.getSelectionModel().getSelectedNode().id"
Mode="Raw">
</ext:Parameter>
</ExtraParams>
</Click>
</DirectEvents>
</ext:Button>