On Oct 10, 2008, at 5:14 PM, GAEFans wrote:
>
> OS: windows XP
> SDK: Google App Engine 1.1.3 (Django / 0.96.1)
>
> template snippets:
> ...
> <form action="/delemployeeinfo/" method="post">
>
> <input type="hidden" name="myKey" vlaue="{{myKey}}" />
> <input type="hidden" name="numkeys" vlaue="{{numkeys}}" />
You've got "value" misspelled for these two fields, correct that and
try again...
E
> <table cellspacing="2" cellpadding="2" border="0" class="rowmajor">
> <tbody>
> <tr>
> <th class="vt">E-mail:</th>
> <td class="inplace" colspan="2">
> <input value="{{email}}" name="email" id="email"
> readonly="readonly"/>
> </td>
> </tr>
>
> <tr>
> <th class="vt">password:</th>
> <td class="inplace" colspan="2">
> <input value="{{password}}" name="password" id="password"
> readonly="readonly"/>
> </td>
> </tr>
>
> <tr>
> <th class="vt">realName:</th>
> <td class="inplace" colspan="2">
> <input value="{{realName}}" name="realName" id="realName"
> readonly="readonly"/>
> </td>
> </tr>
> </tbody>
> </table>
>
> <div style="padding: 6px;">
> <input type="submit" value="Delete" name="submit" id="submit" />
> </div>
> </form>
>
>
> Debug infos:
> BadKeyError at /delemployeeinfo/
> Invalid string key
>
> numkeys ''
> realName '\xe9\x87\x91\xe5\x81\xa5\xe5\xba\xb7'
> submit '\xe5\x88\xa0 \xe9\x99\xa4'
> password '1'
> email '[EMAIL PROTECTED]'
> myKey ''
>
> view source by right click on FireFox:
> ...
> <form action="/delemployeeinfo/" method="post">
>
> <input type="hidden" name="myKey"
> vlaue="agxtZWV0aW5nLXJvb21yDgsSCEVtcGxveWVlGBUM" />
> <input type="hidden" name="numkeys" vlaue="1" />
>
> <table cellspacing="2" cellpadding="2" border="0" class="rowmajor">
> <tbody>
> <tr>
> <th class="vt">E-mail:</th>
> <td class="inplace" colspan="2">
> <input value="[EMAIL PROTECTED]" name="email" id="email"
> readonly="readonly"/>
> </td>
> </tr>
>
> <tr>
>
> <th class="vt">password:</th>
> <td class="inplace" colspan="2">
> <input value="1" name="password" id="password"
> readonly="readonly"/>
> </td>
> </tr>
>
> <tr>
> <th class="vt">realName:</th>
> <td class="inplace" colspan="2">
>
> <input value="Tom" name="realName" id="realName"
> readonly="readonly"/>
> </td>
> </tr>
> </tbody>
> </table>
>
> <div style="padding: 6px;">
> <input type="submit" value="Delete" name="submit" id="submit" />
> </div>
> </form>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---