Saturday, July 30, 2022

Re: Gxt/GWT Element has been deprecated

@SuppressWarnings( "deprecation" )

Should do the trick, no?

Lorenzo Aditi <dhia.xdk.bingo@gmail.com> schrieb am Sa. 30. Juli 2022 um 16:42:

I migrated to gwt 2.8.1 and I am using gxt 2.2.5

I am using the method onRender from com.exts.gxt.ui.client.widget.LayoutContainer:

nRender(com.google.gwt.user.client.Element parent, int index)

The issue is that com.google.gwt.user.client.Element was deprecated and replaced by com.google.gwt.dom.client.Element.

So I am getting this warning Element in com.google.gwt.user.client has been deprecated

Is there a workaround to avoid this warning and keep using gwt 2.8.1 & gxt 2.2.5.

Thanks







--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/bebb78bb-2390-4c9f-a4e8-a6b264eb382fn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACwwWxOji-6Haj-6ODai6%3DzZy-R8yhTg19ipo%2BwCMgM3BBYMcQ%40mail.gmail.com.

No comments:

Post a Comment