Hello

Is it possible to create an XModel standalone, i.e. not part of any frame.
For example by Desktop.loadComponentfromURL(_blank", "Hidden" ... and then
keeping a handle to XModel.
This works fine. I then "load" it into a visible frame by adding a "Model"
property to the arguments for the loadComponentFromURL of the visible
frame. This also works (Discussed on an earlier thread).

Howevwer if I now load a different XModel into this visible frame, any
current XModel gets disposed automatically - I wan't (under certain
circumstances) to prevent this, i.e. I want to keep the XModel handle in
my code for reuse later but still load the new model.

Basically I do this because I don't want multiple XFrames open, but still
want concurrent editing of multiple documents.

I am trying to reduce the overhead of temporarily writing a stream for the
XModel I remove from the frame and rereading, parsing etc... the stream
again later.

Keeping with this, where is the most overhead in the API, i.e. creating
the model, or creating the frame and controller and which uses more
resources?

All this is in java.

Any help would be appreciated

Thanks
Malte von der Lancken

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to