Uploaded image for project: 'Cubby'
  1. Cubby
  2. CUBBY-112

Mayaaとの連携時にリクエストスコープに存在するmessages、contextPathが使用できない

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.2, 1.1.0-rc1
    • 1.0.1
    • None
    • None

    Description

      [cubby-user:33] Mayaaとの連携について

      cubby-examplesのMayaaの連携でmessages.propertiesよりメッセージを取得、
      表示しようとしたところ、Mayaaのエラー画面になり以下のエラーメッセージが表示されました。

      TypeError: Cannot read property "msg.sample1" from undefined in
      script=messages['msg.sample1']

      追記したのは以下の二カ所なのですが、他に設定が必要なのでしょうか?

      • components.html
        <span id="test">test</span>
      • components.mayaa
        <m:write m:id="test" value="${messages['msg.sample1']}" />

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: