[Zope] a very simple question

pbiot@imexpert.com pbiot@imexpert.com
Fri, 21 Jul 2000 10:11:44 +0200


This is a multipart message in MIME format.
--=_alternative 002D4C76C1256923_=
Content-Type: text/plain; charset="us-ascii"

        Sorry for this question, but I want to understand a DTML example 
which is in the DTML.pdf

The sendmail example oblige to put the different variables on :
- the variables subject and body are supplied from the FeedbackForm
-  the variables support and feedback are supplied from Folder properties 

I don't understand why (the different variables may be defined on the 
Feedbacksend dtml document no ???)
Another problem is : on my feedback Form I can change the subject and 
object value, but, when I add an input to change the support value, the 
parameter on the line command is change, but the mail is send on the 
default adress. 
 
The example :

<dtml-var standard_html_header>
<dtml-sendmail smtphost="gator.digicool.com">
To: Product Support <<dtml-var support>>
From: Web Feedback Form <<dtml-var feedback>>
Subject: <dtml-var subject>
<dtml-var body>
</dtml-sendmail>
Thank you for your input!
<dtml-var standard_html_footer>

Figure 14. A sample document that uses the dtml-sendmail tag

<dtml-var standard_html_header>
<H2>We want your input!</H2>
<form action=SendFeedback>
Destination : <input type=text name=support size=40> 
<br>
Subject: <input type=text name=subject size=40>
<br>
<textarea name=body rows=10 cols=50>
</textarea><br>
<input type=submit value="Send Feedback">
</form>
<dtml-var standard_html_footer>

Figure 15. A feedback form that collects a subject and body from a user 
and submits them to the SendFeedback document
shown in figure 14.

Excuse me for my English, but I'm a little french developper without any 
experience ....
--=_alternative 002D4C76C1256923_=
Content-Type: text/html; charset="us-ascii"




<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Sorry for this question, but I want to understand a DTML example which is in the DTML.pdf</font>
<br>
<br><font size=2 face="sans-serif">The sendmail example oblige to put the different variables on :</font>
<br><font size=2 face="sans-serif">- the variables subject and body are supplied from the FeedbackForm</font>
<br><font size=2 face="sans-serif">- &nbsp;the variables support and feedback are supplied from Folder properties </font>
<br>
<br><font size=2 face="sans-serif">I don't understand why (the different variables may be defined on the Feedbacksend dtml document no ???)</font>
<br><font size=2 face="sans-serif">Another problem is : on my feedback Form I can change the subject and object value, but, when I add an input to change the support value, the parameter on the line command is change, but the mail is send on the default adress. </font>
<br><font size=2 face="sans-serif">&nbsp;</font>
<br><font size=2 face="sans-serif">The example :</font>
<br>
<br><font size=2 face="sans-serif">&lt;dtml-var standard_html_header&gt;</font>
<br><font size=2 face="sans-serif">&lt;dtml-sendmail smtphost=&quot;gator.digicool.com&quot;&gt;</font>
<br><font size=2 face="sans-serif">To: Product Support &lt;&lt;dtml-var support&gt;&gt;</font>
<br><font size=2 face="sans-serif">From: Web Feedback Form &lt;&lt;dtml-var feedback&gt;&gt;</font>
<br><font size=2 face="sans-serif">Subject: &lt;dtml-var subject&gt;</font>
<br><font size=2 face="sans-serif">&lt;dtml-var body&gt;</font>
<br><font size=2 face="sans-serif">&lt;/dtml-sendmail&gt;</font>
<br><font size=2 face="sans-serif">Thank you for your input!</font>
<br><font size=2 face="sans-serif">&lt;dtml-var standard_html_footer&gt;</font>
<br>
<br><font size=2 face="sans-serif">Figure 14. A sample document that uses the dtml-sendmail tag</font>
<br>
<br><font size=2 face="sans-serif">&lt;dtml-var standard_html_header&gt;</font>
<br><font size=2 face="sans-serif">&lt;H2&gt;We want your input!&lt;/H2&gt;</font>
<br><font size=2 face="sans-serif">&lt;form action=SendFeedback&gt;</font>
<br><font size=2 face="sans-serif">Destination : &lt;input type=text name=support size=40&gt; </font>
<br><font size=2 face="sans-serif">&lt;br&gt;</font>
<br><font size=2 face="sans-serif">Subject: &lt;input type=text name=subject size=40&gt;</font>
<br><font size=2 face="sans-serif">&lt;br&gt;</font>
<br><font size=2 face="sans-serif">&lt;textarea name=body rows=10 cols=50&gt;</font>
<br><font size=2 face="sans-serif">&lt;/textarea&gt;&lt;br&gt;</font>
<br><font size=2 face="sans-serif">&lt;input type=submit value=&quot;Send Feedback&quot;&gt;</font>
<br><font size=2 face="sans-serif">&lt;/form&gt;</font>
<br><font size=2 face="sans-serif">&lt;dtml-var standard_html_footer&gt;</font>
<br>
<br><font size=2 face="sans-serif">Figure 15. A feedback form that collects a subject and body from a user and submits them to the SendFeedback document</font>
<br><font size=2 face="sans-serif">shown in figure 14.</font>
<br>
<br><font size=2 face="sans-serif">Excuse me for my English, but I'm a little french developper without any experience ....</font>
--=_alternative 002D4C76C1256923_=--