Hi

About "hard-coded" picture's URL in FilePortlet's pointing html doc - it's don't work 8(
- or not find resource
- or show byte stream instead pictures (may be FilePortlet did a recognize html[encoding] ? - I wont look to src FilePortlet... but later) maximum that I getted from combination "html with <img.../> throws FilePortlet" - in Mozilla browser - the blank area with corrected size as picture's size (the tag IMG was without size definitions)


About WebClipping & JIRA - I try it, but in near post the Woonsan Ko to write about suggested workaround:


Woonsan Ko wrote:

Hi Vladimir,

Do you mean WebContentPortlet of apa-webcontent project by WebClipping portlet? If so, can you try to make the web server write contentType header with charset=UTF-8? You could also test if it works by changing the html files to jsp files with contentType page directive:
<%...@page contentType="text/html; charset=UTF-8" %>

Regards,

Woonsan




David Sean Taylor wrote:


On Nov 22, 2009, at 9:29 PM, Vladimir Figurov wrote:

Hi

I want a put in some portal's pages a some html docs... (as view- portlets)

If my html document contained is only text - no problem - use a FilePortlet's clone from J2-ADMIN PA and enjoy... But,... dizign requared a one or more pictures (jpg,png,...) in my html docs. And here a FilePortlet cannot help me - his don't make a URI resolve for <img scr='picture.jpg'>


Right, you just need to point the URL at your file. Of course these must be hard-coded with html to something like

<img src='/j2-admin/images/picture.jpg'>

or just store your image outside your webapp and serve them up through apache

Anyway the File Portlet isn't exactly an advanced portlet. If you were to use JSPs you wouldn't have to hard code the "/j2-admin" part


I try usage a WebClipping portlet - exellent work,... but only with "en" 1-byte locale... I usage a UTF8 encoded html files - the WebClipping display a broken chars...


Im surprised to hear that. Could you please create a bug report in our JIRA issue tracking system?

Thanks

---------------------------------------------------------------------
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