on 03-02-2006 12:35 PM
wishes to all,
Here the thing is how should i bind the source file to the iframe in wdModifyView()
see the code below
if(firstTime)
{
IWDIFrame frame=(IWDIFrame)view.createElement(IWDIFrame.class,"frame");
frame.setEnabled(true);
frame.setBorder(false);
}
I have html file is there in src->mimes->components
how should i bind that file.
KYAN...................
Hi,
One way is u create a context "source" and bind it to the iFrame source.
iFrame.bindSource("source");
and set the context with the file name "page.html".
wdContext.currentContextElement.setSource("page.html');
or u can use
iFrame.setSource("page.html");
regards,
Piyush.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.