Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Reorganized
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Dialog (deprecated)
    • Labels:
    • Environment:
      Windows 7: Internet Explorer 9, Firefox 10, Opera 11
      Windows XP: Internet Explorer 8, Internet Explorer 6, Firefox 5
      OS X: Firefox 10, Safari 5
      Debian: Firefox 10
    • Similar Issues:
      Show 5 results 

      Description

      Working on Liferay CE 6.1.0 the Dialog component doesn't show the buttons' text (see image attachment).
      The buttons work perfectly but without text shown.
      Tested on all the environments indicated, on different physical machine.

      Even with this simple JSP no text is shown for the button called 'BUTTON'.

      <%@ taglib uri="http://alloy.liferay.com/tld/aui" prefix="aui"%>
      <aui:script>
      function showPopup() {
      AUI().use('aui-dialog', 'aui-overlay-manager', 'dd-constrain', function(A) {
      var dialog = new A.Dialog({
      height: 200,
      width: 250,
      title: 'TITLE',
      bodyContent: 'BODY',
      centered: true,
      buttons: [{
      text: 'BUTTON',
      handler: function()

      { alert('Button pressed'); }

      }]
      }).render();

      dialog.show();
      });
      }
      </aui:script>
      <aui:button value="Apri dialog" onClick="showPopup()"/>

        Activity

        Hide
        Marco Napolitano added a comment -

        The problem can be solved changing the name of the field ffrom "text" to "label":

        buttons: [{
        label: 'BUTTON',
        handler: function()

        { alert('Button pressed'); }

        }]

        But the official documentation must be changed!

        Show
        Marco Napolitano added a comment - The problem can be solved changing the name of the field ffrom "text" to "label": buttons: [{ label: 'BUTTON', handler: function() { alert('Button pressed'); } }] But the official documentation must be changed!
        Hide
        Marc Lundgren (Inactive) added a comment -

        Thank you for reporting this issue. Please report any Liferay-Portal issues against Public-LPS. Public - Alloy UI is reserved for AlloyUI-framework-specific issues.

        Show
        Marc Lundgren (Inactive) added a comment - Thank you for reporting this issue. Please report any Liferay-Portal issues against Public-LPS. Public - Alloy UI is reserved for AlloyUI-framework-specific issues.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response:
              Days since last comment:
              1 year, 10 weeks, 1 day ago

              Development

                Structure Helper Panel