so give that link a target attribute

eg target="_blank"

-igor

On Sun, Jun 29, 2008 at 8:34 PM, Karen Schaper
<[EMAIL PROTECTED]> wrote:
> I can't use a Link.  This happens when the user clicks on a menu item from a 
> context menu I've created.
>
> It's in the onClick of IYuiMenuAjaxAction.
>
> Not sure I'm doing this right. I don't need to forward the request.  I just 
> need to open this url in it's own window.
>
>
>
>
>
>> -----Original Message-----
>> From: Martin Grigorov [mailto:[EMAIL PROTECTED]
>> Sent: Friday, June 27, 2008 4:17 AM
>> To: [email protected]
>> Subject: Re: New browser window on RedirectRequestTarget(url)
>>
>>
>> On Thu, 2008-06-26 at 23:02 -0400, Karen Schaper wrote:
>> > Hello Again,
>> >
>> > I'm hoping there is a simple solution for this.  I can't seem
>> to find the
>> > right place to look.
>> >
>> > Basically this line of code, I'd like to open a new browser window to
>> > display it in.
>> >
>> >              getRequestCycle().setRequestTarget(new
>> RedirectRequestTarget( url ) );
>> >
>> >
>> > Thanks for all your help.  It is REALLY appreciated.
>> >
>> > -Karen
>>
>> Hi Karen,
>>
>> Try with:
>>
>> link = new Link(wid)  {
>>
>>       public void onClick() {
>>                getRequestCycle().setRequestTarget(new
>> RedirectRequestTarget( url ) );
>>       }
>> }
>>
>> link.setPopupSettings(new PopupSettins(...));
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to