Skip to content

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

@viktororosso

Description

@viktororosso

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://localhost:8081/mxclientsystem/mxui/mxui.js?637958932127847693:5:159513)
at HTMLDivElement._connectOneGrid (http://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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions