[opencms-dev] JSP
Steele, Jeffrey
steelej at DCSC.GOV
Tue May 27 15:28:01 CEST 2003
Hello:
I am a new OpenCMS user and I am attempting to deploy OpenCMS for a Intranet
project at the District of Columbia Superior Court. I have the folowing code
in a JSP template. I am trying to link to a picture which has its "alt",
"name" and "height/width" and "caption" info stored in properties:
<img alt="<cms:property name="caption" />"
src="<cms:link>../resources/<cms:property name="picture" /></cms:link>"
<cms:property name="picdimensions" /> />
In the offline site, the resulting html is correct. Here is an example:
<img alt="Anne B. Wicks <br />Executive Officer"
src="/opencms/opencms/system/modules/com.opencms.dccweb/resources/AWicks01.j
pg" height="183" width="144" />
However, it the exported or online sites, the html get corrupted as such:
<img alt=""
src="/opencms/opencms/system/modules/com.opencms.dccweb/resources/Anne B.
Wicks <br />Executive Officer" AWicks01.jpg />
<br />
It seems like all the cms:property stuff gets shifted one posistion. Has
anybody run into this before or do you know of a solution?
Thanks much. Any assistance is greatly appreciated.
Jeff
More information about the opencms-dev
mailing list