tag:robotlegs.tenderapp.com,2009-10-18:/discussions/robotlegs-2/12888-parent-application-mapping-removed-after-sub-app-unloadRobotlegs: Discussion 2015-06-24T13:36:13Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/367205142015-04-30T16:24:39Z2015-04-30T16:24:39ZParent application mapping removed after sub app unload.<div><p>Hi</p>
<p>I am working on an app which load another sub app. Both of the
application uses robotlegs 2, having separate context and sub app
is loaded in the parent application using SwfLoader. Sub can be
loaded/unloaded based on the user interaction. Every things work
fine until sub app is unloaded, on unload of sub app (done using
swfloader.unloadAndStop()) some of the mappings of the parent
application is removed. Swfloader loaderContext is
ApplicationDomain.currentDomain and
SecurityDomain.currentDomain.</p>
<p>I am not able to find out why this is happening. Plz help.</p></div>Maddytag:robotlegs.tenderapp.com,2009-10-18:Comment/367205142015-05-01T09:26:22Z2015-05-01T09:26:22ZParent application mapping removed after sub app unload.<div><p>Hi Maddy,</p>
<blockquote>
<p>... some of the mappings of the parent application is
removed</p>
</blockquote>
<p>What kind of mappings? Could you be more specific? Are the
mapped classes used in the sub application or just in the parent
application? Can you show me the mappings in question and explain
the role of the classes in your parent and sub apps? Are you using
a shared library for the 2 apps?</p>
<p>It would be easier for me to help you, if I could take a look at
the code. Is it possible to reproduce the issues in a very simple
application, actually 2 apps, and attach them as a zip?</p>
<p>Ondina</p></div>Ondina D.F.