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的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    前端工具Rythem介绍
    Redis持久化————AOF与RDB模式
    Hessian——轻量级远程调用方案
    JavaScript中的类数组对象
    在SpringMVC中获取request对象
    linux下,远程连接mysql
    nohup后台运行jar与关闭
    Vi常用命令
    spring mvc 重定向问题
    eclipse修改jdk后版本冲突问题
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13445964.html
Copyright © 2011-2022 走看看