Re: XForms: choice problem on solaris 2.7 with 0.89

From: Steve Lamont (spl@szechuan.ucsd.edu)
Date: Tue Jan 25 2000 - 09:46:42 EST

  • Next message: Liviu Burcusel: "XForms: Update for documentation ???"

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

    > I've recently installed the sparc solaris 0.89 version on our systems and
    > came across a problem with choice objects demonstrated by the attached
    > source. ...
    > [...]
    > Any ideas? The same works fine under 0.88...

    Looks like a bug to me -- I'll pass a possible fix along to TC.

    The problem is that when the Choice object is initialized, it expects
    at least one item in the choice list. This is clearly a Wrong Thing.

    There are two workarounds:

            1) Initialize your choice list with fl_addto_choice() or one
               if its ilk before you call fl_show_form(), or

            2) Clear the choice list with fl_clear_choice() before calling
               fl_show_form().

                                    - - -

    BTW: my logs show better than 20 downloads a day on the new FTP server
    <ftp://ncmir.ucsd.edu/pub/xforms> since the switchover. It looks as
    if XForms is alive and well!

    I believe we are converging on a version 1.0 release Real Soon Now and
    that release will more than likely be Open Source for all you source
    lovers. :-)

                                                            spl
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Tue Jan 25 2000 - 09:50:36 EST