Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3296

Dialogs opened by clicking on buttons generated by cms:button tag doesn't support i18n (if enabled)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.7, 4.5
    • 4.3.6
    • i18n, taglibs
    • None

      I have i18n support enabled and the following code in my jsp

      <cms:mainBar paragraph="page-properties">
        <cms:button dialogName="service-properties" label="Service" position="right" />
      </cms:mainBar>
      

      The "service-properties" dialog has some fields with i18n enabled.
      When i click on "Service" button in the main bar, i18n on opened dialog doesn't work.

      Looking at ButtonTag class, where the mgnlOpenDialog javascript function call is created, there is no check for i18n support and (even if it is enabled) the current locale is not added to parameters list.

        Acceptance criteria

              manuelmolaschi Manuel Molaschi
              manuelmolaschi Manuel Molaschi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD