[Zope-DB] URL Loading Error - Zope+MySQL

oknam park ponda7777 at hotmail.com
Thu Nov 16 00:23:08 EST 2006

Hi All,

I'm trying to add data in mysql database using DTML in Zope.

But, all other fields are okay. But, url fiels does not call URL I entered. 
Instead it
generates the url for add dtml method like 

Could you give me some piece of advice how to handle?
Any advice would be really appreciated. Best regards, Nam

Here is my add dtml method:
<dtml-var standard_html_header>
<dtml-if submit>
<dtml-call contactadd3>
<h2>New Member Information Added!!</h2>
<a href="memberlist2">View all Member Information</a>|
<a href="selectcall?SiteID:string=<dtml-var SiteID>">View Added 
<a href="edit1">Edit Member Information</a> |
<a href="delete">Delete Member Information</a> |
<a href="contactadd">Add Member Information</a>

<h1>Member Information Add</h1>
<form action="contactadd" method="POST">
<table width="95%" cellspacing="0" >
    <td width="20%"><div align="center"><strong>SiteID:</strong></div></td>
    <td width="80%"><input name="SiteID" width=30 value=""></td>

    <td width="20%"><div align="center"><strong>Agency:</strong></div></td>
    <td width="80%"><input name="Agency" width=30 value=""></td>

    <td width="20%"><div align="center"><strong>URL:</strong></div></td>
    <td width="80%"><input name="URL" width=30 value=""></td>

    <td width="20%"><div align="center"><strong>Last 
    <td width="80%"><input name="LastName" width=30 value=""></td>

<td colspan=2 align=left>
type="submit" name="submit" value="Add">
<input type="reset" name="cancel" value="Cancel">
</form></dtml-if><dtml-var standard_html_footer>

Here is memberlist2 page:
<dtml-var standard_html_header>
<h2>Member Information Update</h2>
<dtml-in selectAllMethod>
<li> <dtml-var SiteID>

<font size="-1"><a href="editcall?SiteID=<dtml-var SiteID>">Edit</a>|<a 
href="delete?SiteID=<dtml-var SiteID>">delete</a></font>


<a href="contactadd">Add a New Member Information</a>
<dtml-var standard_html_footer>

Get the latest Windows Live Messenger 8.1 Beta version. Join now. 

More information about the Zope-DB mailing list