[Zope] value problem in textarea and input

2007-10-03 Thread kamal hamzat
Dear All,

I am having problem when using input and textarea 

input type=text name=summary size=40 value=#
tal:attributes=value here/summary|nothing /



when i submitted the form and loaded it back the summary shown in the input 
tag, may be because value is part of input attributes.

 textarea name=summary size=40 tal:attributes=value here/summary|nothing
/textarea

But when I use the textarea tag as above, submitted the form and loaded it back 
the summary was not showing.

Thanks.
Kamal

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] value problem in textarea and input

2007-10-03 Thread Andreas Jung



--On 3. Oktober 2007 16:57:20 +0100 kamal hamzat [EMAIL PROTECTED] 
wrote:




 textarea name=summary size=40 tal:attributes=value
here/summary|nothing /textarea



Please read the basic HTML documentation about HTML forms.
textarea does not store the content as attribute but as content within
the textarea.../textarea. That's why you have to use tal:content

-aj

pgpIJSdQ5FXC6.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )