[Twisted-web] Re: form attributes in an html file

vicky vlupien at drummonddesigns.com
Tue Jun 29 09:59:38 MDT 2004

I'm using the latest version of nevow and I'm not able to use the nevow:attr
in my html file.  Do I have to put something special in my file.  I want to
fill the attribute action with form-action but I get this error : 

exceptions.KeyError: "Slot named 'form-action' was not filled."

I've done the same thing with an xml file and everything was alright.


-----Message d'origine-----
De : twisted-web-bounces at twistedmatrix.com
[mailto:twisted-web-bounces at twistedmatrix.com] De la part de Matt Goodall
Envoyé : 21 juin, 2004 19:23
À : twisted-web
Objet : Re: [Twisted-web] Re: form attributes in an html file

On Mon, 2004-06-21 at 17:57 -0400, Alex Levy wrote:
> On 6/21/2004, "vicky" <vlupien at drummonddesigns.com> wrote:
> >I looked at the customform.tac example which uses the loaders.xmlstr and
> >filled the attributes this way:
> -(snip)-
> >I've done the same thing in my HTML file and that doesn't works. I was
> >wondering if there's another way to do this.
> As far as I remember, nevow:attr only works with xmlstr/xmlfile, not
> htmlstr/htmlfile.

No, I fixed that a while ago now. IIRC, it was before the 0.2.0 release.

Cheers, Matt

More information about the Twisted-web mailing list