<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Remove &amp;quot;change comment&amp;quot; in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/remove-quot-change-comment-quot/m-p/315708#M2709</link>
    <description>&lt;P&gt;If you speak about the 'Comment' text area in the edit tab, you should remove it simply by overriding the template &lt;STRONG&gt;document_edit.xhtml&lt;/STRONG&gt; (in nuxeo.war/incl/tabs) by your own file.&lt;/P&gt;
&lt;P&gt;You just need to comment lines below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;table class="dataInput"&amp;gt;
  &amp;lt;tbody&amp;gt;
    &amp;lt;tr&amp;gt;
     &amp;lt;td class="iconColumn" style="vertical-align:top;" /&amp;gt;
     &amp;lt;td class="labelColumn"&amp;gt;
       &amp;lt;h:outputText value="#{messages['label.comment']}" /&amp;gt;
     &amp;lt;/td&amp;gt;
     &amp;lt;td class="fieldColumn"&amp;gt;
       &amp;lt;h:inputTextarea value="#{currentDocument.contextData['request/comment']}" /&amp;gt;
     &amp;lt;/td&amp;gt;
    &amp;lt;/tr&amp;gt;
  &amp;lt;/tbody&amp;gt;
 &amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Else if you don't want override the default template a proper way IMO is to create your own layout (see &lt;A href="http://doc.nuxeo.com/display/NXDOC/Layout+display"&gt;http://doc.nuxeo.com/display/NXDOC/Layout+display&lt;/A&gt;) like this you keep the default behavior when you upgrade your version of Nuxeo.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2011 20:46:21 GMT</pubDate>
    <dc:creator>Clément_Lardeur</dc:creator>
    <dc:date>2011-11-07T20:46:21Z</dc:date>
    <item>
      <title>Remove "change comment"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/remove-quot-change-comment-quot/m-p/315707#M2708</link>
      <description>&lt;P&gt;When I edit my document I see the "Change comment" text area, is there anyway not to show it?
My document doesn't have any facets.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 18:15:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/remove-quot-change-comment-quot/m-p/315707#M2708</guid>
      <dc:creator>hgonzalez_</dc:creator>
      <dc:date>2011-11-07T18:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove "change comment"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/remove-quot-change-comment-quot/m-p/315708#M2709</link>
      <description>&lt;P&gt;If you speak about the 'Comment' text area in the edit tab, you should remove it simply by overriding the template &lt;STRONG&gt;document_edit.xhtml&lt;/STRONG&gt; (in nuxeo.war/incl/tabs) by your own file.&lt;/P&gt;
&lt;P&gt;You just need to comment lines below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;table class="dataInput"&amp;gt;
  &amp;lt;tbody&amp;gt;
    &amp;lt;tr&amp;gt;
     &amp;lt;td class="iconColumn" style="vertical-align:top;" /&amp;gt;
     &amp;lt;td class="labelColumn"&amp;gt;
       &amp;lt;h:outputText value="#{messages['label.comment']}" /&amp;gt;
     &amp;lt;/td&amp;gt;
     &amp;lt;td class="fieldColumn"&amp;gt;
       &amp;lt;h:inputTextarea value="#{currentDocument.contextData['request/comment']}" /&amp;gt;
     &amp;lt;/td&amp;gt;
    &amp;lt;/tr&amp;gt;
  &amp;lt;/tbody&amp;gt;
 &amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Else if you don't want override the default template a proper way IMO is to create your own layout (see &lt;A href="http://doc.nuxeo.com/display/NXDOC/Layout+display"&gt;http://doc.nuxeo.com/display/NXDOC/Layout+display&lt;/A&gt;) like this you keep the default behavior when you upgrade your version of Nuxeo.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2011 20:46:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/remove-quot-change-comment-quot/m-p/315708#M2709</guid>
      <dc:creator>Clément_Lardeur</dc:creator>
      <dc:date>2011-11-07T20:46:21Z</dc:date>
    </item>
  </channel>
</rss>

