Łukasz Pachciarek wrote:

Hi
I want to insert image into web page this way:
in html template :
<img jwcid="@Image" image="ognl:assets.pg"/>
and in page spec
<context-asset name="pg" path="WEB-INF/pic/test.png"/>
and finally I have this in browser:
Unable to locate asset "pg" of component Menu as context:/WEB-INF/pic/test.png.
file exists in filesystem.

thanks

Hello
I used <private-asset> element instead of <context-asset> in my .page
and pictures placed in my java package, now it's working...
If someone has any idea inform me please..

--
Łukasz Pachciarek



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • Re: Image ? Łukasz Pachciarek

Reply via email to