Error: open new page

0
Hey,   I’m new to Mendix and currently testing around. I already created a list of restaurants. By clicking on “page”, a new Page should open, were you can see the menu of the restaurant. Thats the point were I’m stuck, since the “page” button doesn’t work. Any ideas how I can fix that? Please let me know if u need further informationen for helping.   Screenshots: https://prnt.sc/24q2wx7 https://prnt.sc/24q3f66 https://prnt.sc/24q33vd Thanking you in advance!
asked
2 answers
0

Hi Shayan,

 

The new page should have “restaurant” dataview wraps “menu” list. Then the users can see menu lists of the restaurant.

Give the “page” button the restaurant object the user selected, to show the “page”.

 

To achieve the goal above, here is the steps you can follow

DOMAIN MODEL

0.Create an association between entitites “restaurant” and “menu”.(1-*)

------

NEW PAGE

1.Set a dataview on “page” which shows “restaurant”.

2.Place list view or datagird of menu inside the dataview. 

------

RESTAURANT EASY PAGE

3.Give the button a restaurant object.

 

 

※To see the data, You need to set the association between menu and restaurant as you create a menu object.
menu-restaurant association may be N:M association, the procedure above is simplified version.

answered
0

Thanks you very much!

 

There is just one little thing, that doesn't work.. When i go to "preview", it says "no items found".

This is how it looks: https://www.youtube.com/watch?v=GzcwrBAK8GA

answered