zoukankan      html  css  js  c++  java
  • ABAP Webdynpro和WebClient UI不同的会话管理机制

    in the sample ABAP webdynpro component ZPOST, the content of search result table is bound to context node POSTRESULT of component controller:

    The runtime instance of component controller will change each time when we navigate to detail page and back to search page, see testing below.
    The first time ZPOST is launched:

    Navigate back to search page, the WDDOINIT is called the second time:

    The third time:

    This means UI developers should develop their own logic to store the search result data before navigation to detail page (store it somewhere) , and restore it from somewhere when UI is navigated back to search page.

    Below is one example of data store and restore via assistant class:

    (1) store the search result when search button is clicked and search result is available:

    (2) When inbound plug of MAIN window is called, which means the search view will be rendered again, fetch the stored data from assistant class and bind it to component controller context node again.

    While in Webclient UI component,

    There is central, consistent and efficient way to store the data for navigation:


    要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    linux启动流程
    控制nginx并发链接数量和客户端请求nginx的速率
    MySQL修改密码
    nginx站点目录及文件URL访问控制
    nginx日志相关优化安全
    根据参数优化nginx的服务性能
    nginx基本安全优化
    nginx rewrite
    nginx location
    nginx访问日志(access_log)
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13445964.html
Copyright © 2011-2022 走看看