Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation from react-listview page to dojo-listview page results in error #69

Open
viktororosso opened this issue Aug 12, 2022 · 0 comments

Comments

@viktororosso
Copy link

Hi,

I've implemented the anysearch widget in a Mendix 9.6.11 application and used a HTMLSnippet in my list view to get the widget working, as suggested. However, I get a client error now when I navigate from a page containing a regular (react) listview to the page containing the listview with the html snippet (dojo listview), which also prohibits opening the page:

e.getAttribute is not a function TypeError: e.getAttribute is not a function
at Object.byNode (http:https://localhost:8081/mxclientsystem/mxui/mxui.js?637958932127847693:5:159513)
at HTMLDivElement._connectOneGrid (http:https://localhost:8081/widgets/GridSearch/widget/Core.js:89:30)

A possible solution would be to implement in the react listview a HTMLSnippet as well, but since the page with the dojo-listview is an overview page being accessible from the navigation menu, this would imply that on any page in our application containing a listview, we have to put a HTMLSnippet on, which is obviously not desired.

I have tried to implement a close page in the microflow calling the dojo-listview page, and also tried to implement a show page activity (opening a page without any listviews, from which the dojo-listview page can be opened correctly) in between, but both solutions did not result in preventing the error and opening the dojo-listview page correctly.

Do you know how to get another workaround for this issue? Will the widget be converted from dojo to react in the near future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant