<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=801020021-15122003><FONT face=Arial color=#ff0000 size=2>You
seem to have an extra closing bracket. Try: -</FONT></SPAN></DIV>
<DIV><SPAN class=801020021-15122003><FONT face=Arial color=#ff0000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=801020021-15122003><FONT face=Arial color=#ff0000
size=2>cmso.writeProperty(resource, "acceptance", "2");</FONT></SPAN></DIV>
<DIV><SPAN class=801020021-15122003><FONT face=Arial color=#ff0000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=801020021-15122003><FONT face=Arial color=#ff0000
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=801020021-15122003><FONT face=Arial color=#ff0000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=801020021-15122003><FONT face=Arial color=#ff0000
size=2>Olli</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #ff0000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org]<B>On
Behalf Of </B>Ernesto De Santis<BR><B>Sent:</B> 15 December 2003
18:52<BR><B>To:</B> OpenCms List<BR><B>Subject:</B> [opencms-dev]
writeProperty fail<BR><BR></FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>Hello</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I canīt write a property.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>look simple, but not work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The resources, is a html page. And a property is
defined for me. "acceptance". cmso is a CmsObject.</FONT></DIV>
<DIV><FONT face=Arial size=2>resource is a String variable, with de cms path
of the resource.</FONT></DIV>
<DIV><FONT face=Arial size=2>this code run in jsp page.</FONT></DIV>
<DIV><FONT face=Arial size=2>I proof this codeīs:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> - cmso.writeProperty(resource,
"acceptance", "2"));</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> [javac] ......\si_jsp_jsp.java:91: ';'
expected<BR> [javac] cmso.writeProperty(resource, "acceptance",
"2")); <BR> [javac]
^</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> - cmso.writeProperty(resource, "title",
"titulo de prueba"));<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>[javac] ....\si_jsp_jsp.java:92: ';'
expected<BR>[javac]
cmso.writeProperty(resource, "title", "titulo de
prueba"));<BR>[javac]
^
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In this same jsp, I read the property fine,
without problems. I try lock the resource for write property, but not
work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bye, Ernesto.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV></DIV></BLOCKQUOTE></BODY></HTML>