ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* SubmitForm interaction
@ 2010-11-29 14:37 Daniel Grycman
  2010-11-29 18:19 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Grycman @ 2010-11-29 14:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi lists,

I'm working with some pdf interactions and using the line
"\button{Absenden}[SubmitForm{mailto::daniel.grycman@rub.de,Kommentar}]"
to create the submit button. But there is no new mail created, after
initiating the submit process. Missed I something?

Daniel


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SubmitForm interaction
  2010-11-29 14:37 SubmitForm interaction Daniel Grycman
@ 2010-11-29 18:19 ` Hans Hagen
  2010-11-29 18:26   ` Daniel Grycman
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2010-11-29 18:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 29-11-2010 3:37, Daniel Grycman wrote:
> Hi lists,
>
> I'm working with some pdf interactions and using the line
> "\button{Absenden}[SubmitForm{mailto::daniel.grycman@rub.de,Kommentar}]"
> to create the submit button. But there is no new mail created, after
> initiating the submit process. Missed I something?

a more complete example is needed


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SubmitForm interaction
  2010-11-29 18:19 ` Hans Hagen
@ 2010-11-29 18:26   ` Daniel Grycman
  2010-11-29 18:34     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Grycman @ 2010-11-29 18:26 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

Hi Hans,
Hi list,

the whole source attached.

Daniel

On 11/29/10 7:19 PM, "Hans Hagen" <pragma@wxs.nl> wrote:

>On 29-11-2010 3:37, Daniel Grycman wrote:
>> Hi lists,
>>
>> I'm working with some pdf interactions and using the line
>> "\button{Absenden}[SubmitForm{mailto::daniel.grycman@rub.de,Kommentar}]"
>> to create the submit button. But there is no new mail created, after
>> initiating the submit process. Missed I something?
>
>a more complete example is needed
>
>
>-----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
>-----------------------------------------------------------------


[-- Attachment #2: kvv.tex --]
[-- Type: application/octet-stream, Size: 3816 bytes --]

\enableregime[utf]
\mainlanguage[de]
\language[de]
\setupcolors[state=start]
\setupinteraction[state=start, author=Daniel Grycman, date=\currentdate]
\setupfields[methods=xml]
\setuppapersize [A4][A4]
\usemodule [simplefonts]
\setmainfont[rubscalamz]
\setsansfont[rubflama]
\setupheader[style=\ss]
\setupfooter[style=\ss]
\setupbackend[export=yes]
\setuppagenumbering[state=stop]
\setupheadertexts[Veranstaltungsbeleg zur Kommentareinreichung Sommersemester 2011]
\setupfootertexts[Studienbüro Germanistik][germanistik-studienfuehrer@rub.de]
\setupfield[TextSetup] [width=10cm, height=2.75cm, rulethickness=1pt, regionin=JS(Initialize_TeX_Key), afterkey=JS(Convert_TeX_key), validate=JS(Convert_TeX_String)]
\setupfield[TextSetup2] [width=10cm, height=1.25cm, rulethickness=1pt, regionin=JS(Initialize_TeX_Key), afterkey=JS(Convert_TeX_key), validate=JS(Convert_TeX_String)]
\definefield [Kommentar] [text] [TextSetup] [Ihr Veranstaltungskommentar...]
\definefield [Literatur][text][TextSetup2][Literatur zur Veranstaltung]
\definefield [Scheinerwerb][text][TextSetup2][Informationen zum Erwerb eines TN/LN]
\definefield [Voraussetzungen][text][TextSetup2][ggfs. Voraussetzung für die Teilnahme, z.B. Vorklausur, Essay]
\setupfield [Anmeldeverfahren] [width=10cm, height=0.75cm, rulethickness=1pt]
\setupfield [Bearbeitung] [width=5cm, height=0.75cm, rulethickness=1pt]
\definefield [Anmeldung] [popup] [Anmeldeverfahren] [manuelle Zuteilung, automatische Zuteilung, Losverfahren, Zuteilungsverfahren, Modulanmeldeverfahren] [Losverfahren]
\definefield [Bearbeiter][popup] [Bearbeitung] [Dennis, Jenny, Tina] []

\startxmlsetups xml:kvv:base % associate setups with elements
    \xmlsetsetup{kvv}{verzeichnis|veranstaltung}{xml:kvv:*}
\stopxmlsetups
\xmlregisterdocumentsetup{kvv}{xml:kvv:base}

\startxmlsetups xml:kvv:verzeichnis
    \xmlflush{#1}
\stopxmlsetups

\startxmlsetups xml:kvv:veranstaltung % associate setups with elements
    \setupTABLE[frame=off,background=color,rulethickness=5pt]
    \bTABLE
    \setupTABLE[column][1][backgroundcolor=black,color=white,style=\ss\bf]
        \bTR \bTD Veranstaltungsnummer: \eTD \bTD \xmltext{#1}{/LV-Nummer} \eTD \eTR
        \bTR \bTD Art der Veranstaltung: \eTD \bTD \xmltext{#1}{/LV-Art}  \eTD \eTR
        \bTR \bTD Titel der Veranstaltung: \eTD \bTD \xmltext{#1}{/Titel} \eTD \eTR
        \bTR \bTD Modul(e): \eTD \bTD \xmltext{#1}{/Modul1}\\ \xmltext{#1}{/Modul2}\\ \xmltext{#1}{/Modul3}\\ \xmltext{#1}{/Modul4}\\ \xmltext{#1}{/Modul5}\\ \xmltext{#1}{/Modul6}\\ \xmltext{#1}{/Modul7}\\ \eTD \eTR
        \bTR \bTD Dozent(en): \eTD \bTD \xmltext{#1}{/Dozent1Name}, \xmltext{#1}{/Dozent1Vorname}, \xmltext{#1}{/Dozent1Titel}\\ \xmltext{#1}{/Dozent2Name}, \xmltext{#1}{/Dozent2Vorname}, \xmltext{#1}{/Dozent2Titel} \eTD \eTR
        \bTR \bTD Raum und Zeit: \eTD \bTD \xmltext{#1}{/Termine} \eTD \eTR
        \bTR \bTD weitere Informationen: \eTD \bTD \xmltext{#1}{/Anmerkung} \eTD \eTR
        \bTR \bTD Erstmals am: \eTD \bTD \xmltext{#1}{/Erstmals_am} \eTD \eTR
        \bTR \bTD Kommentar: \eTD \bTD  \field [Kommentar] [Ihr Kommentar...] \eTD \eTR
		\bTR \bTD Literatur: \eTD \bTD \field [Literatur] [Ihre Literaturhinweise...] \eTD \eTR
        \bTR \bTD Anmeldeverfahren: \eTD \bTD \field [Anmeldung] \eTD \eTR
		\bTR \bTD Teilnahmevoraussetzung: \eTD \bTD \field [Voraussetzungen] [benötigte Voraussetzungen...] \eTD \eTR
		\bTR \bTD Informationen zum Scheinerwerb: \eTD \bTD \field [Scheinerwerb] [Informationen zum Erwerb eines TN/LN] \eTD \eTR
    \eTABLE
    \blank
    \button{Absenden}[SubmitForm{mailto::daniel.grycman@rub.de,Kommentar}]
    \bTABLE
        \bTR \bTD {\ss Eingereicht am:} \eTD \bTD {\ss bearbeitet von:} \field [Bearbeiter] \eTD \eTR
    \eTABLE
    \page
\stopxmlsetups

\starttext
\xmlprocessfile{kvv}{kvv.xml}{}
\stoptext

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SubmitForm interaction
  2010-11-29 18:26   ` Daniel Grycman
@ 2010-11-29 18:34     ` Wolfgang Schuster
  2010-11-29 18:48       ` Daniel Grycman
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2010-11-29 18:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.11.2010 um 19:26 schrieb Daniel Grycman:

> Hi Hans,
> Hi list,
> 
> the whole source attached.

Short examples like this are preferred:

\setupinteraction[state=start]
\starttext
\button{Absenden}[SubmitForm{mailto::daniel.grycman@rub.de,Kommentar}]
\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SubmitForm interaction
  2010-11-29 18:34     ` Wolfgang Schuster
@ 2010-11-29 18:48       ` Daniel Grycman
  2010-11-30  7:56         ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Grycman @ 2010-11-29 18:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Here comes the short one :-).

\setupcolors[state=start]
\setupinteraction[state=start, author=Daniel Grycman, date=\currentdate]
\setupfields[methods=xml]

\setupfield[TextSetup] [width=10cm, height=2.75cm, rulethickness=1pt,
regionin=JS(Initialize_TeX_Key), afterkey=JS(Convert_TeX_key),
validate=JS(Convert_TeX_String)]
\definefield [Kommentar] [text] [TextSetup] [Ihr
Veranstaltungskommentar...]
\starttext
\bTABLE
\bTR \bTD Kommentar: \eTD \bTD  \field [Kommentar] [Ihr Kommentar...] \eTD
\eTR
\eTABLE
\button{Absenden}[SubmitForm{mailto::daniel.grycman@rub.de,Kommentar}]
\stoptext


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SubmitForm interaction
  2010-11-29 18:48       ` Daniel Grycman
@ 2010-11-30  7:56         ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 0 replies; 6+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-11-30  7:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

In my case, when I press "Absenden", the "Kommentar" field gets cleared (or: the default value "Ihr Veranstaltungskommentar..." appears), but no mail is sent nor any mail client starts; I supposed some mailing should occur.

- WinXP, AR 8.

Lukas


On Mon, 29 Nov 2010 19:48:01 +0100, Daniel Grycman <daniel.grycman@rub.de> wrote:

> Here comes the short one :-).
>
> \setupcolors[state=start]
> \setupinteraction[state=start, author=Daniel Grycman, date=\currentdate]
> \setupfields[methods=xml]
>
> \setupfield[TextSetup] [width=10cm, height=2.75cm, rulethickness=1pt,
> regionin=JS(Initialize_TeX_Key), afterkey=JS(Convert_TeX_key),
> validate=JS(Convert_TeX_String)]
> \definefield [Kommentar] [text] [TextSetup] [Ihr
> Veranstaltungskommentar...]
> \starttext
> \bTABLE
> \bTR \bTD Kommentar: \eTD \bTD  \field [Kommentar] [Ihr Kommentar...] \eTD
> \eTR
> \eTABLE
> \button{Absenden}[SubmitForm{mailto::daniel.grycman@rub.de,Kommentar}]
> \stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-30  7:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-29 14:37 SubmitForm interaction Daniel Grycman
2010-11-29 18:19 ` Hans Hagen
2010-11-29 18:26   ` Daniel Grycman
2010-11-29 18:34     ` Wolfgang Schuster
2010-11-29 18:48       ` Daniel Grycman
2010-11-30  7:56         ` Procházka Lukáš Ing. - Pontex s. r. o.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).