二维码

[教程] ASSIGNING VIEW TO WINDOW

Twilight发表于 2015-12-03 00:21Twilight 最后回复于 2015-12-03 00:21 [复制链接] 2319 0

When we tested the component in the previous chapter, we could not see anything on the WEBUI.

Why?
Because, we did not assign our view to any window. As discussed, we need to put the view inside a window to make it visible on the web ui. We will do it in the runtime repository.

Open the component and click on RUNTIME REPOSITORY and choose EDIT button. right click on the window and choose the option add view as shown below.
分配视图 1.jpg

In the next popup, choose the view that exists in our application and continue.
分配视图 2.jpg

Save the runtime repository by pressing on save button. Now our view is assigned to the MAIN WINDOW of our component.

Test the application again by clicking on the button TEST APPLICATION. In the browser window, we can see the output as shown below.
分配视图 3.jpg

It’s just showing some fields that can be used to search. We cannot perform any search as there are no buttons.
If you click on first drop down list, you will a there are number fields available. Sometimes user does not want to see all this fields in the list. In the next chapter, we will provide such facility with the help of configuration.
回复

使用道具 举报

快速回帖

本版积分规则
您需要登录后才可以回帖 登录 | 注册有礼

快速回复 返回顶部 返回列表