--- Rahul Agarwal <[EMAIL PROTECTED]> wrote: > I'm using HTML serializer to display a HTML file. Page flow controller is > able to load the file but it is not able to find the files referred from > within the main HTML file. The reason is that all relative paths in HTML > file are converted into full path taking "oxf" path as root. Say for > example, if HTML contains <img src="./images/top_gray.gif">, it tries to find > the "images" folder at "oxf" path instead of in the > folder where main HTML file is placed.
Rahul, What is the URL of your page? If your page is under /a/b (i.e. in the page flow, path-info="/a/b") and you have a <img src="./images/top_gray.gif"> then the browser should try to load /a/images/top_gray.gif, independently of where the HTML file (view) is in the resources directory. Do you experience a different behavior? Alex ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user
