Hi Shoan,

you can embed the other view by using a slot.
In the view you want to embed the other do
        $layer = $this->getLayer('content');
        $layer->setSlot('search', $this->createSlotContainer('Search',  
'Search'));

And in the template place
        $slots['search']

Hope this helps ya
Benjamin

Am 26.08.2009 um 05:02 schrieb Shoan Motwani:

> Hi,
>
> How do I embed one view into another view of the same action? I am
> building a search engine and by default would like to display only the
> search box. But after searching, would like to see the search box on
> top of the table of results. Currently the search box is the 'Input'
> view and the tabular results is the 'ListView'. I looked at slots, but
> it felt like the purpose of slots was to embed one action into an
> another.
>
> Is there a cleaner way to do this other than using slots?
>
> Peace,
> Shoan.
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users

---
Dipl.-Betriebsw. (BA)
Benjamin Börngen-Schmidt
Kaupstraße 33
64289 Darmstadt

fon: +49 6151 6795935
email: [email protected]


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to