ajax
  1. ajax
  2. AJAX-378

Receiving "a is undefiend" when using dcontainer

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: netbeans plugin
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: All

    • Issuezilla Id:
      378

      Description

      When using the Dynamic Container, I'm getting "a is undefined" for the content.

      page1.jsp

      <input type="button" value=" Edit List "
      onclick="jmaki.publish('/jmaki/dcontainer/setInclude', { value :
      '/MyApp/faces/current/page2.jsp?Id=<h:outputText value="#

      {item.id}

      "
      />'});dijit.byId('listDialog').show();"/>

      <div dojoType="dijit.Dialog" id="listDialog" title="List" class="popupDialog"
      style="width: 750px;height:500px;">
      <div id="listDisplayDiv" style="width:
      100%;height:400px;overflow:auto;border:1px solid silver">
      <a:widget name="jmaki.dcontainer" id="myDContainer" />
      </div><br/>
      <a href="#" onclick="dijit.byId('listDialog').hide();">Close</a>
      </div>

      page2.jsp
      test

      I even tried changing page1.jsp to this (with setting the contents through
      javascript):

      <a:widget name="jmaki.dcontainer" value="{ items : [ { include :
      '/MyApp/faces/current/page2.jsp?Id==#

      {loc.id}

      '}]}" />

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            ludo
            Reporter:
            groverblue
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: