Hello Adam,
Tobago.submitAction has following signature
Tobago.submitAction(actionId, transition, target)
But you may try the action facet of page.
In the current snapshot the target and transition attribute are
supported, too.
<tc:page>
<f:facet name="action">
<tc:link action=".." target=".." />
</f:facet>
you can also try the tc:object tag instead of using a iframe in the
current snapshot.
Regards
Bernd
[EMAIL PROTECTED] wrote:
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