[Twisted-Python] woven

Kölle Wolfgang wolfgang.koelle at tiwag.at
Tue Mar 23 07:06:31 EST 2004


hello, i am a new python programmer and i have a problem. i hope someone can help me. i have started my webserver on port 80, then i will get a url('//matlink-so-su5/Weiterleiten/Index.asp?DatumZeit=02.02.2004%22:00:00&TA=Meine%20Textadresse&langtext=MeinLangtext&Kommentar=mein%20Kommentar'). 
i want split this url and i should insert in this template and hand this to the HTTP server. This side should be the starting side for the user.
i work with python 2.2 and twisted 1.1.1
thank you

<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body,td,th {
	color: #000000;
}
body {
	margin-left: 12px;
	margin-top: 50px;
	margin-right: 12px;
	margin-bottom: 0px;
}
-->
</style>
<link href="test.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
..Stil1 {color: #FF0000}
-->
</style>
</head>
<body>
<form name="form1" method="post" action="test_file_gen.rpy">
  <table width="100%"  border="1" cellspacing="0" cellpadding="5">
    <tr bgcolor="#FFFFCC">
      <th colspan="4" valign="bottom" class="arial16bold" scope="row"><div align="left">
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td valign="bottom" class="arial16boldÜberschrift1"><div align="left"></div>
                <div align="left"></div>
                <div align="left" class="Stil1"></div>
                <div align="left" class="Stil1"></div>
                <div align="left" class="Stil1"></div>
                <div align="left" class="Stil1"></div>
              <div align="left" class="arial16boldÜberschrift1 Stil1">Eintr&auml;ge bearbeiten</div></td>
              <td><div align="right"><img src="TWKc60px.gif" width="61" height="60"></div></td>
            </tr>
          </table>
          </div>        </th>
    </tr>
    <tr>
      <th width="24%" bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">
          <p>Datum</p>
      </div></th>
      <td width="45%" bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtDatum" type="text" class="arial10" id="txtDatum" value="02.02.2004" size="15" maxlength="10"></td>
      <td width="16%" bgcolor="#CCCC99" class="arial12bold">AV tel. verst&auml;ndigt</td>
      <td width="15%" bgcolor="#CCCC99" class="arial12bold">&nbsp;&nbsp;        <select name="popupAVVerständigt" class="arial10" id="popupAVVerständigt">
        <option>ja/nein</option>
        <option>ja</option>
        <option>nein</option>
      </select></td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Zeit</div></th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;
        <input name="txtZeit" type="text" class="arial10" id="txtZeit" value="22:00:00" size="10">
      &nbsp;</td><td bgcolor="#CCCC99" class="arial12bold">Einsatz erforderlich </td>
      <td bgcolor="#CCCC99" class="arial12bold">&nbsp;&nbsp;        <select name="popupEinsatzErforderlich" class="arial10" id="popupEinsatzErforderlich">
        <option>ja/nein</option>
        <option>ja</option>
        <option>nein</option>
      </select></td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Strukturplatz</div></th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtStrukturplatz" type="text" id="<% txtStrukturplatz %>" value=""></td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Erzeugungsbereich</div></th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtErzeugungsbereich" type="text" id="txtErzeugungsbereich" value=""></td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Kraftwerksbereich</div></th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtKraftwerksbereich" type="text" id="txtKraftwerksbereich" value=""></td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Unterstandort</div></th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtUnterstandort" type="text" id="txtUnterstandort" value=""></td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left"></div>        
        <div align="left">Technologische Adresse </div>        </th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtTechnologischeAdresse" type="text" id="txtTechnologischeAdresse" value="Meine Textadresse"></td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Meldetext</div></th>
      <td colspan="3" bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtMeldetext" type="text" id="txtMeldetext" value="MeinLangtext" size="163"></td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Weitergeleitet von </div></th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;        <select name="popupWeitergeleitetVon" size="1" id="popupWeitergeleitetVon">
        <option>mike thin</option>
      </select></td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Kommentar Warte Mitarbeiter </div></th>
      <td colspan="3" bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtKommentarWarteMitarbeiter" type="text" id="txtKommentarWarteMitarbeiter" value="mein Kommentar" size="163"></td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Zur Kenntnis genommen von </div></th>
      <td bgcolor="#CCCC99">&nbsp;&nbsp;        <select name="select">
        <option>king mike</option>
      </select></td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left">Kommentar Anlagenverantwortlichen </div></th>
      <td colspan="3" bgcolor="#CCCC99">&nbsp;&nbsp;        <input name="txtKommentarAnlagenverantwortlichen" type="text" id="txtKommentarAnlagenverantwortlichen" value="" size="163"></td>
    </tr>
    <tr>
      <th rowspan="2" bgcolor="#FFFFCC" class="arial12bold" scope="row"><div align="left"></div>        <div align="left"></div></th>
      <td bgcolor="#CCCC99">&nbsp;</td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <td bgcolor="#CCCC99">&nbsp;</td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
    <tr>
      <th class="arial12bold" scope="row"><div align="left">
        <input name="SubmitUpdate" type="submit" class="arial12bold" id="SubmitUpdate" value="update">
        <input name="SubmitDelete" type="submit" class="arial12bold" id="SubmitDelete" value="delete">
      </div></th>
      <td bgcolor="#CCCC99">&nbsp;</td>
      <td colspan="2" bgcolor="#CCCC99">&nbsp;</td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
<hr align="left" width="100%">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="25%"><a href="http://www.google.at">&Uuml;bersicht</a></td>
    <td width="22%"><a href="http://www.google.at">neuer Eintrag </a></td>
    <td width="28%"><a href="http://www.google.at">neu/bearbeiten</a></td>
    <td width="25%"><a href="http://www.google.at">IMS-Auftrag</a></td>
  </tr>
</table>
<hr align="left" width="100%">
</body>
</html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20040323/13580464/attachment.htm 


More information about the Twisted-Python mailing list