[XForms] Question #2: Relying on menu subitem IDs after fl_delete_menu_item().

Jens Thoms Toerring jt at toerring.de
Thu Jul 3 19:05:28 EDT 2008

To subscribers of the xforms list

Hi Jason,

On Thu, Jul 03, 2008 at 06:35:53PM -0400, Jason Cipriani wrote:
> Attached is a test program I've created.

Thanks, that confirms my own observations...
> The form has a single menu with 3 items, 3 buttons to remove each
> item, and a button to clear the entire menu (as a sanity check).
> Clearing the menu works properly. Attempting to remove items does not
> work at all.
> There's not a way to hide/show individual items, is there? I couldn't
> find anything looking through the documentation. If there is, that
> would work as a workaround for now.

It looks as if the stuff for removing a menu item is badly
broken already in 1.0.0. I guess nobody ever has tried to use
it, so it went unnoticed for all those years. I will try to
come up with a fix that also works for 1.0.90 or 1.0.0 (tell
me what you are using) but since it's getting a bit late here
where I'm living I guess I better get a bit of sleep before I
make a complete mess out of it. I hope you will get something
tomorrow morning (when it is morning in yor time zone that is;-)
but I don't know at the moment how complicated it's going to
be, so please don't hold your breath until then;-)

                             Best regards, Jens
  \   Jens Thoms Toerring  ________      jt at toerring.de
   \_______________________________      http://toerring.de
To unsubscribe, send any message to
xforms-leave at bob.usuhs.mil or see: 
List Archive: http://bob.usuhs.mil/pipermail/xforms and
Development: http://savannah.nongnu.org/files/?group=xforms

More information about the Xforms mailing list