Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » browser.setText() with relative links
browser.setText() with relative links [message #453536] Thu, 07 April 2005 09:43 Go to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

Is there anyway to pass the browser html with setText() and then configure
the browser to resolve the relative links from location x?
Re: browser.setText() with relative links [message #453595 is a reply to message #453536] Thu, 07 April 2005 17:45 Go to previous messageGo to next message
Eclipse UserFriend
kent wrote:

>Is there anyway to pass the browser html with setText() and then configure
>the browser to resolve the relative links from location x?
>
>
>
>
Use the <base> Tag with the URL of the website. Relative links will be
resolved
versus that site.

Ben
Re: browser.setText() with relative links [message #453745 is a reply to message #453595] Fri, 08 April 2005 09:38 Go to previous messageGo to next message
Eclipse UserFriend
And an example of that can be found under the SWT Snippets Browser "render
HTML that includes relative links from memory"
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet137.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

SWT Snippets:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets

Chris
Re: browser.setText() with relative links [message #453756 is a reply to message #453745] Fri, 08 April 2005 13:27 Go to previous message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

cool thanks.
"Christophe Cornu" <christophe_cornu@ca.ibm.com> wrote in message
news:d361o7$rhj$1@news.eclipse.org...
> And an example of that can be found under the SWT Snippets Browser "render
> HTML that includes relative links from memory"
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet137.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
>
> SWT Snippets:
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets
>
> Chris
>
Previous Topic:Problem adding a drop down ToolItem in a ToolBarManager
Next Topic:saving the font state of a tree item
Goto Forum:
  


Current Time: Sat Jul 12 12:17:38 EDT 2025

Powered by FUDForum. Page generated in 0.15197 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top