Re: XForms: fl_set_oneliner bug?

Steve Lamont (spl@szechuan.ucsd.edu)
Mon, 23 Feb 98 12:47:13 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> If I call fl_set_oneliner... within an fl_bgn_form/fl_end_form
> block, I get an error. If I move the calls to before
> fl_bgn_form, the program works fine. Is there a problem, or
> is this a known behavior? By the way, this error did not
> occur in v0.86.

Reminds me of the old Henny Youngman joke: A guy got to the doctor and
says "It hurts when I do that". The doctor says "Don't do that."
Okay, it works better for Henny Youngman.

Seriously, a call to any of the `oneliner' functions causes the
`oneliner' object to be created, meaning a fl_bgn_form() is invoked.

You're essentially creating a new form, causing the error message.

"Don't do that." :-)

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/