[Zope] Display problems

DA Loeffler David.Loeffler@bristol.ac.uk
Thu, 8 Aug 2002 14:19:44 +0100 (BST)


On Thu, 8 Aug 2002, McDonnell, Larry wrote:

> 
> Hi,
> 
> I have come across a strange problem. I have created a Zope application to
> collect information through a Zope form. The input form works. I also give
> the users the ability to update. But I notice something strange.
> 
>       <tr> 
>       <td width="27%">Item Number Required:</td>
>       <td width="73%"> 
>         <input type="text" name="item_num_required" size="50"
> value=<dtml-var item_num_required>>


Try value="<dtml-var item_num_required>">. All tag attribute values
in HTML which have spaces in them must be quoted. (For XHTML compliance
_all_ attribute values should be quoted anyway!)

David


>       </td>
>     </tr>
> 
> When get the record only the first word in the field will appear. But if I
> use this -
> 
>       <tr> 
>       <td width="27%">Part Number Required:</td>
>       <td width="73%"> 
>           <textarea name="part_num_required" rows="1" cols="50"><dtml-var
> part_num_required> </textarea>
>       </td>
>     </tr>
> I see the entire field using this method. Any thoughts??
> 
> 
> Larry McDonnell
> 
> Proton Energy Systems
> 50 Inwood Rd.
> Rocky Hill, CT 06067
> (860) 571-6533 ext. 531
> Email:lmcdonnell@protonenergy.com
> www.protonenergy.com
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
>