-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello
Any news about this issue? I know that Matt was looking into it, but I guess that he's buried alive under his job tasks. Is there anybody that can have a look and possibly patch the problem? Thanks Ciao - --Marco Marco Marongiu ha scritto: > Hello > > I am having a problem with PerForm. I am using version 1.83 and the CVS > header is the following: > > # $Id: PerForm.pm,v 1.24 2003/08/10 16:43:56 matt Exp $ > > When I submit a form, only the state of text fields is mantained across > posts. Checkboxes and single-select, for example, get resetted to the > default value. The real form is a bit complicated, so I shortened it to > this simple example: > > ---8<------8<------8<------8<------8<------8<------8<------8<------8<--- > <?xml version="1.0" encoding="iso-8859-1"?> > <?xml-stylesheet type="application/x-xsp" href="NULL"?> > <?xml-stylesheet type="application/x-xpathscript" > href="/style/page-perform.xps"?> > > <xsp:page > ~ language="Perl" > ~ xmlns:f="http://axkit.org/NS/xsp/perform/v1" > ~ xmlns:xsp="http://apache.org/xsp/core/v1" > ~ > > > ~ <html> > ~ <head> > ~ <title>Test</title> > ~ </head> > > ~ <body> > ~ <f:form name="new_storage"> > ~ <f:textfield name="servizio" width="30" maxlength="30"/> > > ~ <f:textfield name="identificativo" width="30" maxlength="30"/> > ~ <f:checkbox name="in_produzione" value="In produzione" > checked="1"/> > ~ <f:single-select name="allocazione" default="temp"> > ~ <f:options> > ~ <option><name>temporanea</name><value>temp</value></option> > ~ <option><name>definitiva</name><value>def</value></option> > ~ </f:options> > ~ </f:single-select> > ~ <f:submit name="sabmitt" value=" SABMITT " /> > ~ </f:form> > ~ </body> > ~ </html> > </xsp:page> > ---8<------8<------8<------8<------8<------8<------8<------8<------8<--- > > (the page-perform.xps stylesheet just loads the XPS stylesheet that > comes with PerForm). > > I check the checkbox, select "definitiva" in the selection box, write > "raga" in the first field and "muffin" in the second, then push the > "SABMITT" button, and what I get is the form with the text boxes still > containing "raga" and "muffin", but the checkbox is unchecked and the > selection box is back to "temporanea". > > I expected the state to be kept between posts... what's going wrong? > Where am I wrong? > > Thanks in advance for your help > --bronto - -- Marco Marongiu Tiscali Services s.r.l. System Administrator S.S. 195, km 2,300 IT Systems Management Dept. Loc. "Sa Illetta" Phone: +39 070 460 1684 09122 Cagliari (CA) Fax: +39 070 460 9684 Sardegna - Italia - ----------------------------------------------------------------------- Questo secolo ormai alla fine / saturo di parassiti senza dignit� mi spinge solo ad essere migliore / con pi� volont�. --Franco Battiato, "E ti vengo a cercare", 1988 - ----------------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCkwgb93TBccTUZLIRAmOHAKCL69bbR0APStDDMsUP79CSAsmfigCePoVw nTolm+nJBZAbiaeUT67BJ9s= =jxyn -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
