Figure 9 shows the initial DB-Access Database option menu.
图9显示了初始的DB - AccessDatabase选项菜单。
The list of items in the division option menu depends on the lab selected in the lab option menu.
部门选项菜单中的项目列表由实验室选项菜单中所选的实验室决定。
The division option menu now contains the divisions for the selected lab. Next, select a division.
Division选项菜单现在包含所选实验室的部门。接下来,选择一个部门。
After the administrator selects the lab, the division option menu is enabled, but only contains the divisions for the selected lab.
管理员选择实验室之后,部门选项菜单将启用,但其中仅包含所选实验室的部门。
The updateDivisions function from lines 28 to 39 sends a request to the RESTful Web service to get the divisions that the lab NCAR administrator selects in the lab option menu.
到39行的 updateDivisions函数发送一个请求给REST 风格的Web服务,以获取实验室NCAR管理员在实验室选项菜单中所选择的部门。
When you select a lab option menu field, the Ajax script invokes a GET Web service in DivisionsResource in the Resource Request Handler, which returns an array of divisions for the selected lab.
当您选择某实验室选项菜单字段时,ajax脚本将调用资源请求处理程序的DivisionsResource中的一个GETWeb服务,后者将返回所选实验室的部门数组。
Figure 17 shows the sequence of requests between the tiers after the Ajax script sends a RESTful Web service request to get the divisions for given lab and displays them in the Division option menu.
图17展示了Ajax脚本发送REST 风格的Web服务请求以获取特定实验室的部门并在Division选项菜单中显示它们之后,各分层之间的请求序列。
Figure 17 shows the sequence of requests between the tiers after the Ajax script sends a RESTful Web service request to get the divisions for given lab and displays them in the Division option menu.
图17展示了Ajax脚本发送REST 风格的Web服务请求以获取特定实验室的部门并在Division选项菜单中显示它们之后,各分层之间的请求序列。
应用推荐