Ok, both issues are fixed. Thank you.
But there's another problem with the progress bar. I'll start a new
thread for this.
Regards
Helmut
>I think it is fixed for link now
>
>Bernd Bohmann wrote:
>> Hello Helmut,
>>
>> should be fixed for button now.
>>
>> TOBAGO-41 doesn't works very well with TOBAGO-103
>>
>> I will look at the link renderer, but this take some time.
>>
>> Regards
>>
>> Bernd
>>
>> H. Swaczinna wrote:
>>> Hello,
>>>
>>> I want to display the result of an action in a new window. I understand,
>>> this can be done with the target attribute of tc:button and tc:link.
>>> But there're two problems:
>>>
>>> First, if I specify a target in tc:link, the action of the link is not
>>> invoked and the newly opened window remains empty.
>>>
>>> Sesond, when I use a tc:button instead, the action is invoked and the
>>> result is displayed in the new window. But the parent window remains
>>> disabled with a progress bar running for ever. I think, the window
>>> waits for result, which was redirected to the new window.
>>>
>>> JSP:
>>>
>>> <tc:link id="newWindoLink"
>>> label="New window"
>>> action="#{anlagenController.action}"
>>> target="New window"/>
>>>
>>> <tc:button id="newWindowButton"
>>> label="New window"
>>> action="#{anlagenController.action}"
>>> target="New window"/>
>>>
>>> AnlagenController.java:
>>>
>>> public String action() {
>>> LOG.debug("action");
>>> return "newWindow";
>>> }
>>>
>>> faces-config.xml:
>>>
>>> <navigation-case>
>>> <from-outcome>newWindow</from-outcome>
>>> <to-view-id>/main.jsp</to-view-id>
>>> </navigation-case>
>>>
>>>
>>> Regards
>>> Helmut
>>>
>>