Changes between Initial Version and Version 1 of Ticket #12960


Ignore:
Timestamp:
May 17, 2011, 12:00:23 PM (9 years ago)
Author:
bill
Comment:

I think you mean set(content, ...) with markup for the parser, like this?

<div dojoType=dijit.layout.ContentPane> ... </div>
<div dojoType=dijit.layout.ContentPane> ... </div>
<div dojoType=dijit.layout.ContentPane> ... </div>

I can see why you are asking for that, but it would require loading the parser, which isn't currently required by BorderContainer. So I can't see adding that.

I can imagine a set("children", ...) method though, where you would maybe download JSON over XHR and then use it to construct child widgets.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12960

    • Property Status changed from new to closed
    • Property Resolution changed from to wontfix
  • Ticket #12960 – Description

    initial v1  
    11Hi,
    22
    3 when trying to change the content of a dijit.layout.BorderContainer with some xhrGet()'ed html-content I realized there is no .set('content', content)-method for BorderContainer. So my current workaround is to wrap the BorderContainer into a dijit.layout.ContentPane and call .set('content', content) on the ContenPane...
     3when trying to change the content of a dijit.layout.!BorderContainer with some xhrGet()'ed html-content I realized there is no .set('content', content)-method for !BorderContainer. So my current workaround is to wrap the !BorderContainer into a dijit.layout.!ContentPane and call .set('content', content) on the !ContenPane...
    44
    5 Is there a chance to get a method with the same behaviour as dijit.layout.ContentPane.set('content', content) in BorderContainer in a future release?
     5Is there a chance to get a method with the same behaviour as dijit.layout.!ContentPane.set('content', content) in !BorderContainer in a future release?
    66
    77Regards,