I guess you could consider it a bug but I wouldn’t fight it. In your binding convert the ArrayList to an NSArray :-)
> On Aug 3, 2025, at 7:17 PM, Paul Hoadley via Webobjects-dev > <[email protected]> wrote: > > On 4 Aug 2025, at 02:11, Ondra Cada via Webobjects-dev > <[email protected]> wrote: > >> whatever I try, it looks like ERXOptGroupPopupButton does not support lists >> like other list bindings do, and insists on an NSArray instead, yielding for >> other lists >> >> java.util.ArrayList cannot be cast to com.webobjects.foundation.NSArray >> (ClassCastException) >> >> Is this a Wonder-side bug, or do I overlook something of importance? > > It certainly does look like ERXOptGroupPopupButton attempts an explicit cast > to NSArray right here: > > https://github.com/wocommunity/wonder/blob/11e2f351eb6caed2071bcaf1db6396d31e1a8169/Frameworks/Core/ERExtensions/Sources/com/webobjects/appserver/_private/ERXOptGroupPopupButton.java#L86 > > <https://github.com/wocommunity/wonder/blob/11e2f351eb6caed2071bcaf1db6396d31e1a8169/Frameworks/Core/ERExtensions/Sources/com/webobjects/appserver/_private/ERXOptGroupPopupButton.java#L86> > > > -- > Paul Hoadley > https://logicsquad.net/ > https://www.linkedin.com/company/logic-squad/ > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
