Re: Relative paths in files retrieved by RequestBuilder

2011-04-07 Thread Thomas Broyer

On Thursday, April 7, 2011 8:55:17 AM UTC+2, Sekhar Ravinutala wrote:
>
> Not sure what you mean. Say you have a file foo.html referencing bar1.jpg 
> and bar2.jpg all in the same directory. If you just use http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Relative paths in files retrieved by RequestBuilder

2011-04-06 Thread Sekhar Ravinutala
Not sure what you mean. Say you have a file foo.html referencing bar1.jpg 
and bar2.jpg all in the same directory. If you just use http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Relative paths in files retrieved by RequestBuilder

2011-04-06 Thread A. Stevko
I suggest you hunt around your deployed app and you'll find the relative
path that works.
It may likely be src='../../my.jpg' or something similar

On Tue, Apr 5, 2011 at 5:01 PM, Sekhar Ravinutala wrote:

> I'm loading some HTML on the fly using RequestBuilder (GWT/GAE). The files
> load OK, but the images in the file referenced by relative paths won't load.
> E.g., img src="whatever.jpg" won't work, but absolute path
> "/path-to-file/whatever.jpg" does. Is there way to make relative paths work
> when using RequestBuilder? It's not practical to use absolute paths in the
> files...so hope there's an easy solution.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
-- A. Stevko
===
"If everything seems under control, you're just not going fast enough." M.
Andretti

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Relative paths in files retrieved by RequestBuilder

2011-04-05 Thread Sekhar Ravinutala
I'm loading some HTML on the fly using RequestBuilder (GWT/GAE). The files 
load OK, but the images in the file referenced by relative paths won't load. 
E.g., img src="whatever.jpg" won't work, but absolute path 
"/path-to-file/whatever.jpg" does. Is there way to make relative paths work 
when using RequestBuilder? It's not practical to use absolute paths in the 
files...so hope there's an easy solution.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.