Hello,
I want to change the Label for the AjaxButton, when it is clicked. Iam
not able to work out this.
new AjaxButton("preview"){
public void onSubmit(AjaxRequestTarget target, Form form){
// need to get the label name here...how to get the label name?
if(AjaxButton.label.equal("click")) then set label to "Unclick"
if "UnClick" then show "click"
}
Need urgently, stopping my work. Could you please give me hint, how to
do this Implementation.
Thanks,
Praveen
--- Begin Message ---
Hello,
I want to change the Label for the AjaxButton, when it is clicked. Iam not
able to work out this.
new AjaxButton("preview"){
public void onSubmit(AjaxRequestTarget target, Form form){
if(AjaxButton.label.equal("click")) then set label to "Unclick"
if "UnClick" then show "click"
}
Need urgently, stopping my work. Could you please give me hint, how to do this.
Implementation.
Thanks,
Praveen
--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org