From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9213 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Sending FDF data from a ConTeXt pdf form Date: Sat, 14 Sep 2002 20:59:22 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020914205842.03252b90@remote-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399553 1392 80.91.224.250 (23 Oct 2002 18:59:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:59:13 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Daniel Graham In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:9213 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9213 At 08:51 PM 9/12/2002 -0400, Daniel Graham wrote: >I have created a c program using Adobe's FDF toolkit (with a python >wrapper) and would like to use a pdf form created with context to >submit FDF data to a specified URL. My context file includes the >following: > >\button{Submit}[SubmitForm{http://localhost/cgi-bin/fdf/record.py\#FDF}] > >This apparently sends URL-encoded data (using get?) instead of FDF >data. A similar pdf form created using latex and pdftex with > >\begin{Form}[action=http://localhost/cgi-bin/fdf/record.py\#FDF, >method=post] > >works perfectly. What am I missing in the setup for context? \setupfields[method=XML] or \setupfields[methods=FDF] will give you the other methods Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------