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]

Reply via email to