Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
callout does not work
Terence
Hi all,
I'm trying to create a callout to display a html in TeamSite.
Follows is my code.
<callout> in DCT:
<callout url="/iw/dhk_layout.html" label="Preview Layout" window-features="width=800, height=600, resizable=yes, toolbar=no, scrollbars=yes"/>
dhk_layout.html :
<html>
<head>
<title>Preview</title>
</head>
<body>
<img src="/iw-icons/dhk_tabstyle_layout.gif">
</body>
</html>
However, there is an error when user press callout button in DCT.
The new popup windows display an error msg:
****
Method Not Allowed
The requested method POST is not allowed for the URL /iw/dhk_layout.html.
****
I'm not understand why the dhk_layout.html cannot display.
And I would like to ask, how can I display the dhk_tabstyle_layout.gif correctly when user press the callout button in DCT?
Thank you very much.
Terence.
Find more posts tagged with
Comments
stefanmaier
Hi Terence,
I don't believe, that it is possible to set a HTML page as a callout target.
If you check the documentation, you'll find something like callout url="/iw-bin/iw_cgi_wrapper.cgi/example_datacapture_callout.ipl...
It is necessary to choose a CGI as callout target, cause there're a lot of HTML-post values given to the CGI if you start it.
Perhaps you try to change the callout target into a little CGI script...
Stefan
Terence
Hi Stefan,
Thank you to your advice.
I'll try to change my coding and try once more.
Terence.