Description: Declares a button for the dialog

JavaDoc: Click here

Body content: JSP content.


Name Description Data type Required Default value
id the dialog ID String No Auto-generated
title The title for the Dialog window String Yes -


        <dif:dialog title="Confirm operation" bindTo="formName:submit">
          <p>the following tasks will be executed:</p
          <p>Are you sure?</p>

      <dif:dialogButton id="yes", title="Yes, go ahead!" />
      <dif:dialogButton id="no", title="NO, please stop!" />
      <dif:dialogJSHandler>if (btn == 'yes') document.forms.formName.submit();</dif:dialogJSHandler>
      <dif:dialogJSCondition>document.forms.formName.fieldName.value == 'S'</dif:dialogJSCondition>

See also:

Back to tag reference