Inserting a Zen Page inside a Tab

8 views
Skip to first unread message

Luca

unread,
Feb 27, 2009, 11:36:46 AM2/27/09
to InterSystems: Zen Community
Hi:

I need to embedd few zen pages into various zenTab I have.
How do you do it?

in std html,
I'd do something like

<iframe id="frame1" width=500 height=300 src="http://www.google.com"></
iframe>

any help appreciated

thank you

Bill McCormick

unread,
Feb 27, 2009, 11:48:57 AM2/27/09
to InterSys...@googlegroups.com
Tabbed component, put the content under each tab

Or use a template with panes defined. And then subclass the template
and overwrite the panes.


Bill McCormick
Product Manager
Development Technologies
+1 617 621 0600
bill.mc...@intersystems.com

Dawn Wolthuis

unread,
Feb 27, 2009, 12:51:33 PM2/27/09
to InterSys...@googlegroups.com
I am not recalling the issues we had with this, but we ended up putting all tab code in a big page class rather than using iframes. Here is what we did have when testing out iframes, in case it is helpful.  --dawn

<tabGroup id="tabGroup">
<tab id="tab1" title="tab1" caption="Tab Caption 1">
<pane paneName="Tab1Pane"/>
</tab>
<tab id="tab2" title="tab2" caption="Tab 2 Caption">
<pane paneName="Tab2Pane"/>
</tab>
</tabGroup>
</pane>
}

XData Tab1Pane
{
<pane xmlns="http://www.intersystems.com/zen">
<iframe id="tab1iframe" src="Sample.Page.cls" frameBorder="0" width="900" height="1600" scrolling="no" /> 
</pane>
}

--
Dawn M. Wolthuis

Take and give some delight today

Luca

unread,
Feb 27, 2009, 3:45:50 PM2/27/09
to InterSystems: Zen Community
Thank you All!
Very useful!
Reply all
Reply to author
Forward
0 new messages