# same page with different adapter

**URL:** <https://techcommunity.softwareag.com/t/same-page-with-different-adapter/57472>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [September 7, 2006, 3:35pm UTC](https://techcommunity.softwareag.com/t/same-page-with-different-adapter/57472 "2006-09-07T15:35:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![awende](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@awende](https://techcommunity.softwareag.com/u/awende)\
**Post date:** [September 7, 2006, 3:35pm UTC](https://techcommunity.softwareag.com/t/same-page-with-different-adapter/57472/1 "2006-09-07T15:35:52Z")

</div>

Hello,  
I have the following problem:  
I have a Page e.g. index.xml with the adapter class TestAdapter.  
Now I want to open in this page a popup with a same layout (index.xml) but with different data. The Problem is that CIS uses for both pages the same instance of TestAdapter. Is there a solution for this problem?

---

<div class="post-metadata">

**Author:** ![Bjoern\_Mueller](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@Bjoern\_Mueller](https://techcommunity.softwareag.com/u/Bjoern_Mueller)\
**Post date:** [September 7, 2006, 7:04pm UTC](https://techcommunity.softwareag.com/t/same-page-with-different-adapter/57472/2 "2006-09-07T19:04:00Z")

</div>

…yes, there is a solution: you can pass an “adapterid” (sometimes also called “modelid”) with the openPopup command (same with switchToPage etc.). vai this id you can have multiple instances. In order to prepare the adapter via findAdapter function you also have to pass this id in the findAdapter function.

Bjoern

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/same-page-with-different-adapter/57472/3 "2021-04-02T14:38:39Z")

</div>


