SD-WAN

 View Only
last person joined: 2 days ago 

Forum to discuss HPE Aruba EdgeConnect SD-WAN and SD-Branch solutions. This includes SD-WAN Orchestration WAN edge network functions - routing, security, zone-based firewall, segmentation and WAN optimization, micro-branch solutions, best practics, and third-party integrations. All things SD-WAN!
Expand all | Collapse all

UI Project, JavaScript load

This thread has been viewed 0 times
  • 1.  UI Project, JavaScript load

    Posted Sep 09, 2014 10:09 AM

    Hi friends,

     

    I spent almost two days to identify what caused Admin Console crash, so that only title bar appears.

    I found out, that js.html located in myapp-ui/src/main/resources/com/mycompany/myapp/ui is being loaded two times.

     

    My question is: What inside UI project could raise js.html to be loaded two times?

     

     


    #js
    #UI


  • 2.  RE: UI Project, JavaScript load

    Posted Sep 15, 2014 10:01 AM

    Hello TurboLuk,

     

    We are glad to know that your problem is solved now.

    However As per the programming guide2.3 [page 200 -201] Integrating Views to the SDN Controller GUI,

    The second parameter (“com/hp/hm/ui”) of the super(…) call in the constructor of the UIExtension.java listing specifies the location of the two files the

    framework uses to integrate the views: css.hml and js.html. These files act as links to the application’s cascading style sheets [41] and

    the application’s JavaScript files respectively.

    So it looks like while integrating views to the SDN Controller GUI that super(…) call was not correctly coded.

     

    Please let us know what exactly you were trying to do.

     

    Thanks,

    HP SDN Team