myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H. Swaczinna" <swaczi...@wlp-systems.de>
Subject RE: Re: [Tobago] Problems with target attribute
Date Thu, 25 Jan 2007 11:31:39 GMT
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
>>>
>>

Mime
View raw message