Hi Alexei,

it's probably best to simply use regular HTML links for this, e.g. via 
qx.ui.embed.Html or qx.ui.basic.Label (with the "rich" property 
enabled). This allows you to set the "target" attribute to make sure the 
link is opened in a new tab/window.

The other option is to use a widget with a listener that calls 
window.open, but that will probably be intercepted by the browser's 
popup blocker. Also, you'd need to style the widget if you want it to 
look like a link.


Regards,
Daniel

Alexei Vinidiktov schrieb:
> Hello,
> 
> Is there a hyperlink control in qooxdoo? If not, how can I achieve the 
> effect of a hyperlink?
> 
> I want to be able to insert links to websites and email addresses in my 
> application, such that when a link is clicked the browser navigates to 
> the specified URL or opens a program for handling emails. In a word, I 
> want to imitate normal hyperlinks. 
> 
> -- 
> Alexei Vinidiktov
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to