Hi,

i have a problem with the target-attribute of the <tc:link> or 
<tc:button>-Tag.

<tc:page id="page" width="800px" height="600px" label="Print">
...
<tc:link label="Show it" id="sendStream" action
="#{streamingBean.doStream}" target="myiframe" />
...
<f:verbatim>
        <iframe id="pdfiframe" name="myiframe" width="100%" height="100%" 
frameborder="0"></iframe>
</f:verbatim>
...

When i click on the link then it works fine and the content is displayed 
in the Iframe. 


But when i submit the action by javascript then the content is displayed 
in the main window (like target="_self").
...
<tc:script onload="Tobago.submitAction('page:sendStream')"></tc:script>
...

What's the problem? Is it a bug?



kind regards

Adam A. Henne

Reply via email to