Hi!

I want to suggest a modification for the DTML Document/Method dtml-file
documentEdit.dtml

On default the textarea will be displayd with wrap="off" . If I imported
XML-Files without line breaks it is difficult to edit the files via
DTML-Webfrontend. A property wrapmode could solve this:

documentEdit.dtml:

 <textarea name="data:text" wrap="<dtml-if wrapmode><dtml-var
wrapmode><dtml-else>
off</dtml-if>" style="width: 100%;"<dtml-if
   dtpref_cols> cols="<dtml-var dtpref_cols>"<dtml-else
   > cols="50"</dtml-if><dtml-if dtpref_rows> rows="<dtml-var
   dtpref_rows>"<dtml-else> rows="20"</dtml-if>><dtml-var
   __str__></textarea>


Regards,
Dirk


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to