<!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.1522" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>Hi all,
</FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>I defined a new
property. I don't like to change the property manually using the context menu. I
like to change this property using a jsp script. It is no problem to read
the property like this:</FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>String value =
cmso.readPropertyObject(currFile, "xxx", false).getValue(); //
</FONT></SPAN><SPAN class=609051410-26102005><FONT face=Arial size=2>cmso is a
CmsObject</FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>Now I like to change
the value of this property. How can I achieve this? I tried to do this as
follows:</FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>//get the property
</FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>CmsProperty prop =
cmso.readPropertyObject(currFile, "xxx", false); </FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>//change the value
of the property</FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT
face=Arial><!--StartFragment --><CODE>prop.setValue("true", type); //what type
should I use???</CODE></FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>//write the
property</FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2>cmso.
writePropertyObject<FONT
size=3><!--StartFragment --><CODE>(currFile, prop);</CODE></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2><FONT
size=3><CODE></CODE></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2><FONT
size=3><CODE>Many thanks in advance</CODE></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2><FONT
size=3><CODE></CODE></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2><FONT
size=3><CODE>Best regards </CODE></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial size=2><FONT
size=3><CODE>Matthias</CODE></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=609051410-26102005></SPAN><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; mso-ansi-language: EN-GB">---------------------------------------------------------------------------------------------------------<BR>Matthias
Neher <SPAN
style="mso-tab-count: 4">
</SPAN>Fon: +49-7541-6047-143<BR>doubleSlash Net-Business GmbH <SPAN
style="mso-tab-count: 2">
</SPAN>Fax: +49-7541-6041-111<BR></SPAN><SPAN style="FONT-SIZE: 10pt">Müllerstr.
12 B <SPAN
style="mso-tab-count: 4">
</SPAN><A
href="mailto:Matthias.Neher@doubleSlash.de">Matthias.Neher@doubleSlash.de</A><BR>D-88045
Friedrichshafen<SPAN
style="mso-tab-count: 3">
</SPAN>http://www.doubleSlash.de<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV>
<DIV> </DIV></BODY></HTML>