<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText>I was going through the mailing list archive, when I saw
this post.<o:p></o:p></p>

<p class=MsoPlainText>Have you solved adding "comment" to a file
issue?<o:p></o:p></p>

<p class=MsoPlainText>If not, then I can give some ideas. I just implemented it
yesterday using custom display widget.<o:p></o:p></p>

<p class=MsoPlainText>Am storing comments in a custom database table. I created
two widgets. One to store the comments and one to display them.<o:p></o:p></p>

<p class=MsoPlainText>They are part of the (XML) authoring template, so when
you edit the article, these fields are displayed and when you save it, the code
in custom widget is executed, that saves the comments in a table.<o:p></o:p></p>

<p class=MsoPlainText>And of course, when you open the file to edit it, the
display widget gets the data from that comments table and displays it.<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>Here$B!G(Bs how it looks:<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText><img width=665 height=180 id="Picture_x0020_1"
src="cid:image001.png@01C9C9AF.95399B10"><o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>Thanks<o:p></o:p></p>

<p class=MsoPlainText>Amit Chauhan<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>-----Original Message-----<br>
From: opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] On
Behalf Of Chirouze Olivier<br>
Sent: Wednesday, September 10, 2008 12:21 AM<br>
To: The OpenCms mailing list<br>
Subject: Re: [opencms-dev] Best Practices forSettingup 'staging'environment for
Content?<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>Hi Mathias and Shi,<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>Thanks for your comments. Mathias, you have perfectly
understood my needs. What we would like to have is a module or any means to put
comments on parts of a file, ideally dated and signed by the author of the
comment, but only on the backend (the offline project). It's a workflow where
authors can be multiple and need to collaborate before the file is actually
published.<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>The published file is eventually a very basic html page
without any commenting features... A basic monthly newsletter.<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>I won't have the time to investigate much more at the
moment, but I will keep your suggestions in mind for later, Mathias.<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>Any other "full featured module" is also
welcome!<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>Olivier<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>PS: very nice pictures Shi! :-)<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>> -----Original Message-----<o:p></o:p></p>

<p class=MsoPlainText>> From: opencms-dev-bounces@opencms.org <o:p></o:p></p>

<p class=MsoPlainText>> [mailto:opencms-dev-bounces@opencms.org] On Behalf
Of Mathias Lin<o:p></o:p></p>

<p class=MsoPlainText>> Sent: 10 September 2008 08:13<o:p></o:p></p>

<p class=MsoPlainText>> To: opencms-dev@opencms.org<o:p></o:p></p>

<p class=MsoPlainText>> Subject: Re: [opencms-dev] Best Practices for Settingup
<o:p></o:p></p>

<p class=MsoPlainText>> 'staging'environment for Content?<o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> Hi Shi,<o:p></o:p></p>

<p class=MsoPlainText>> I think Olivier is looking for a commenting module
for the <o:p></o:p></p>

<p class=MsoPlainText>> backend, where<o:p></o:p></p>

<p class=MsoPlainText>> the validator can add notes to any kind of file (not
just one certain<o:p></o:p></p>

<p class=MsoPlainText>> filetype) for the editor to review. Something that
integrates into the<o:p></o:p></p>

<p class=MsoPlainText>> workplace.<o:p></o:p></p>

<p class=MsoPlainText>> I think your module is meant more for frontend
usage, right? <o:p></o:p></p>

<p class=MsoPlainText>> But can this<o:p></o:p></p>

<p class=MsoPlainText>> functionality be integrated into the
backend/workplace?<o:p></o:p></p>

<p class=MsoPlainText>> Frontend commenting module has recently been
published by <o:p></o:p></p>

<p class=MsoPlainText>> Alkacon, but it's<o:p></o:p></p>

<p class=MsoPlainText>> also just for frontend usage from my understanding. <o:p></o:p></p>

<p class=MsoPlainText>>
http://www.nabble.com/Alkacon-OAMP-Comments-module-available-t<o:p></o:p></p>

<p class=MsoPlainText>d19197079.html<o:p></o:p></p>

<p class=MsoPlainText>> Mathias<o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> Shi Yusen wrote:<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > Something like this?<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> http://www.cphoto.com.cn/cn/yingxiang/zhuanti/mlzgy308/mlzgzpz<o:p></o:p></p>

<p class=MsoPlainText>> sy08.html<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > If so, we have such a commercial module. :)<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > Regards,<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > Shi Yusen/Beijing Langhua Ltd.<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > <span style='font-family:"MS Mincho"'>$B:_(B</span>
2008-09-09<span style='font-family:"MS Mincho"'>$BFsE*(B</span> 15:47 +0200<span
style='font-family:"MS Mincho"'>$B!$(B</span>Chirouze Olivier<span style='font-family:
"MS Mincho"'>$B<LF;!'(B</span><o:p></o:p></p>

<p class=MsoPlainText>> >> Thanks a lot for this information Mathias.<o:p></o:p></p>

<p class=MsoPlainText>> >> <o:p></o:p></p>

<p class=MsoPlainText>> >> I will have a look at both soon.<o:p></o:p></p>

<p class=MsoPlainText>> >> <o:p></o:p></p>

<p class=MsoPlainText>> >> By any chance, do you know any module that
would allow users to set<o:p></o:p></p>

<p class=MsoPlainText>> >> comments on files? (a "comment"
field by file, or ideally, comments<o:p></o:p></p>

<p class=MsoPlainText>> >> directly on the file, "a la
Word")...<o:p></o:p></p>

<p class=MsoPlainText>> >> <o:p></o:p></p>

<p class=MsoPlainText>> >> Thanks<o:p></o:p></p>

<p class=MsoPlainText>> >> <o:p></o:p></p>

<p class=MsoPlainText>> >> Olivier<o:p></o:p></p>

<p class=MsoPlainText>> >> <o:p></o:p></p>

<p class=MsoPlainText>> >> <o:p></o:p></p>

<p class=MsoPlainText>> >> > -----Original Message-----<o:p></o:p></p>

<p class=MsoPlainText>> >> > From: opencms-dev-bounces@opencms.org <o:p></o:p></p>

<p class=MsoPlainText>> >> >
[mailto:opencms-dev-bounces@opencms.org] On Behalf Of Mathias Lin<o:p></o:p></p>

<p class=MsoPlainText>> >> > Sent: 09 September 2008 15:18<o:p></o:p></p>

<p class=MsoPlainText>> >> > To: opencms-dev@opencms.org<o:p></o:p></p>

<p class=MsoPlainText>> >> > Subject: Re: [opencms-dev] Best
Practices for Setting up <o:p></o:p></p>

<p class=MsoPlainText>> >> > 'staging'environment for Content?<o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > Hi Olivier,<o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > yes, it's a missing feature. For very
basic and quite static <o:p></o:p></p>

<p class=MsoPlainText>> >> > (fix rules)<o:p></o:p></p>

<p class=MsoPlainText>> >> > workflow functionality we've extended
the OpenCms (6.2.3) <o:p></o:p></p>

<p class=MsoPlainText>> >> > core class (mainly<o:p></o:p></p>

<p class=MsoPlainText>> >> > CmsXmlContentEditor.java) and some
workplace jsp files (edit.js,<o:p></o:p></p>

<p class=MsoPlainText>> >> > editor_forms.jsp, editor_buttons.jsp
under<o:p></o:p></p>

<p class=MsoPlainText>> >> > /system/workplace/editors/xmlcontent/)
- our approach:<o:p></o:p></p>

<p class=MsoPlainText>> >> > We added a button into the editor's
tool bar named 'save, <o:p></o:p></p>

<p class=MsoPlainText>> >> > notify and exit',<o:p></o:p></p>

<p class=MsoPlainText>> >> > which looks up the 'responsible' group
of the edited <o:p></o:p></p>

<p class=MsoPlainText>> file, and send a<o:p></o:p></p>

<p class=MsoPlainText>> >> > notification mail with a link in it to
the group members, so <o:p></o:p></p>

<p class=MsoPlainText>> >> > the validator<o:p></o:p></p>

<p class=MsoPlainText>> >> > can go right to the editor screen to
approve the content. A <o:p></o:p></p>

<p class=MsoPlainText>> >> > second publish<o:p></o:p></p>

<p class=MsoPlainText>> >> > button also has the option to notify
that the file has been <o:p></o:p></p>

<p class=MsoPlainText>> >> > approved and<o:p></o:p></p>

<p class=MsoPlainText>> >> > published.<o:p></o:p></p>

<p class=MsoPlainText>> >> > That would be the very basic approach.<o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > For enhanced workflow, there exists a
third-party module:<o:p></o:p></p>

<p class=MsoPlainText>> >> > see <o:p></o:p></p>

<p class=MsoPlainText>>
http://mail.opencms.org/pipermail/opencms-dev/2007q4/028561.html<o:p></o:p></p>

<p class=MsoPlainText>> >> > and
http://sourceforge.net/projects/bp-cms-commons/<o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > Mathias<o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > Chirouze Olivier wrote:<o:p></o:p></p>

<p class=MsoPlainText>> >> > > <o:p></o:p></p>

<p class=MsoPlainText>> >> > > What is missing is the
"go" on a file and some <o:p></o:p></p>

<p class=MsoPlainText>> >> > collaborative work tools:<o:p></o:p></p>

<p class=MsoPlainText>> >> > > that would be great if
"validators" could comment on <o:p></o:p></p>

<p class=MsoPlainText>> files and set a<o:p></o:p></p>

<p class=MsoPlainText>> >> > > flag on them to make them ready
to publish. If anyone can make<o:p></o:p></p>

<p class=MsoPlainText>> >> > > suggestions?<o:p></o:p></p>

<p class=MsoPlainText>> >> > > <o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > -- <o:p></o:p></p>

<p class=MsoPlainText>> >> > View this message in context: <o:p></o:p></p>

<p class=MsoPlainText>> >> >
http://www.nabble.com/Re%3A-Best-Practices-for-Setting-up-%27s<o:p></o:p></p>

<p class=MsoPlainText>> >> > taging%27-environment%09for-Content--tp19136042p19392198.html<o:p></o:p></p>

<p class=MsoPlainText>> >> > Sent from the OpenCMS - Dev mailing
list archive at Nabble.com.<o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> >
_______________________________________________<o:p></o:p></p>

<p class=MsoPlainText>> >> > This mail is sent to you from the
opencms-dev mailing list<o:p></o:p></p>

<p class=MsoPlainText>> >> > To change your list options, or to
unsubscribe from the list, <o:p></o:p></p>

<p class=MsoPlainText>> >> > please visit<o:p></o:p></p>

<p class=MsoPlainText>> >> >
http://lists.opencms.org/mailman/listinfo/opencms-dev<o:p></o:p></p>

<p class=MsoPlainText>> >> > <o:p></o:p></p>

<p class=MsoPlainText>> >> <o:p></o:p></p>

<p class=MsoPlainText>> >>
_______________________________________________<o:p></o:p></p>

<p class=MsoPlainText>> >> This mail is sent to you from the opencms-dev
mailing list<o:p></o:p></p>

<p class=MsoPlainText>> >> To change your list options, or to
unsubscribe from the <o:p></o:p></p>

<p class=MsoPlainText>> list, please<o:p></o:p></p>

<p class=MsoPlainText>> >> visit<o:p></o:p></p>

<p class=MsoPlainText>> >>
http://lists.opencms.org/mailman/listinfo/opencms-dev<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> > _______________________________________________<o:p></o:p></p>

<p class=MsoPlainText>> > This mail is sent to you from the opencms-dev
mailing list<o:p></o:p></p>

<p class=MsoPlainText>> > To change your list options, or to unsubscribe
from the <o:p></o:p></p>

<p class=MsoPlainText>> list, please visit<o:p></o:p></p>

<p class=MsoPlainText>> >
http://lists.opencms.org/mailman/listinfo/opencms-dev<o:p></o:p></p>

<p class=MsoPlainText>> > <o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> -- <o:p></o:p></p>

<p class=MsoPlainText>> View this message in context: <o:p></o:p></p>

<p class=MsoPlainText>>
http://www.nabble.com/Re%3A-Best-Practices-for-Setting-up-%27s<o:p></o:p></p>

<p class=MsoPlainText>taging%27-environment%09for-Content--tp19136042p19406940.html<o:p></o:p></p>

<p class=MsoPlainText>> Sent from the OpenCMS - Dev mailing list archive at
Nabble.com.<o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText>> _______________________________________________<o:p></o:p></p>

<p class=MsoPlainText>> This mail is sent to you from the opencms-dev
mailing list<o:p></o:p></p>

<p class=MsoPlainText>> To change your list options, or to unsubscribe from
the list, <o:p></o:p></p>

<p class=MsoPlainText>> please visit<o:p></o:p></p>

<p class=MsoPlainText>>
http://lists.opencms.org/mailman/listinfo/opencms-dev<o:p></o:p></p>

<p class=MsoPlainText>> <o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

<p class=MsoPlainText>_______________________________________________<o:p></o:p></p>

<p class=MsoPlainText>This mail is sent to you from the opencms-dev mailing
list<o:p></o:p></p>

<p class=MsoPlainText>To change your list options, or to unsubscribe from the
list, please visit<o:p></o:p></p>

<p class=MsoPlainText>http://lists.opencms.org/mailman/listinfo/opencms-dev<o:p></o:p></p>

<p class=MsoPlainText><o:p> </o:p></p>

</div>

</body>

</html>