Giter VIP home page Giter VIP logo

addressbook-portlet's Introduction

addressbook-portlet's People

Contributors

bbmarkus avatar caalador avatar dependabot[bot] avatar mehdi-vaadin avatar mshabarov avatar mstahv avatar ujoni avatar

Watchers

 avatar  avatar  avatar  avatar

addressbook-portlet's Issues

Remove the dependency on flow-server from back-end module

Despite the fact that the backend module doesn't use any class from flow-server, it has a dependency on flow-server to use classes in the dependency hierarchy of flow-server E.g. HashCodeGenerator, elemental.json.* and LoggerFactory. I the required direct dependencies should be added to avoid making backend depend on flow-server.

Event from grid to form is not working.

Running addressbook on 1.0.0.alpha5 for some reason the event fired by grid doesn't make the from portlet get an event.

On the client it would seem that both portlets have registered to the hub and the event from the grid seems to be handled correctly by the hub.:

Received xhr message: for(;;);[{"syncId":5,"clientId":5,"execute":[[5,null,[0,9],"return (function() { this.$server['}p']($0, true, $1)}).apply($2)"],[6,null,[0,9],"return (function() { this.$server['}p']($0, true, $1)}).apply($2)"],[[0,12],"return (function() { window.Vaadin.Flow.Portlets.fireEvent('Pluto_address_book_grid_ContactList_510736053_2_', 'contact-selected', {contactId: ['7']})}).apply($0)"]],"timings":[7865,2]}]
VM1014 client-2968C9E98973969FFAE746FDEDC2EE09.cache.js:990 Handling message from server
VM1014 client-2968C9E98973969FFAE746FDEDC2EE09.cache.js:937 Handling dependencies
VM1014 client-2968C9E98973969FFAE746FDEDC2EE09.cache.js:198 handleUIDLMessage: 0 ms
VM1014 client-2968C9E98973969FFAE746FDEDC2EE09.cache.js:198  Processing time was 1ms
portletHub.js:2792 Executing action for portlet: Pluto_address_book_form_ContactForm_510736053_1_
portletHub.js:2833 form element null
portletHub.js:786 impl: executing action. parms=[object Object], element=null
portletHub.js:797 ajax action URL: /pluto/portal/About Apache Pluto/__pdaddress-book-grid.ContactList!510736053%7C2;0/__pdaddress-book-form.ContactForm!510736053%7C1;1/__aa1/__av1;vaadin.ev:contact-selected/__av1;vaadin.uid:0/__av1;vaadin.wn:contextpathservletpath-279733526-0.39708119268467224/__av1;contactId:7/__av1;_csrf:81d1c152-6d4d-408d-a74b-0a1cfb2836f8
portletHub.js:847 ajax action: POST using URL with parameters
portletHub.js:648 Decoding string: >>{"portlets" : {
   "Pluto_address_book_grid_ContactList_510736053_2_" : {
      "state" : {
         "parameters" : {
         }, 
         "portletMode" : "view", 
         "windowState" : "normal"
      },
      "pubParms" : {},
      "allowedPM" : ["view"],
      "allowedWS" : ["normal", "maximized", "minimized"],
      "renderData" : {
         "content" : null,
         "mimeType" : "text/plain"
      },
      "urlpid" : "address-book-grid.ContactList!510736053|2"
   },
   "Pluto_address_book_form_ContactForm_510736053_1_" : {
      "state" : {
         "parameters" : {
         }, 
         "portletMode" : "view", 
         "windowState" : "normal"
      },
      "pubParms" : {},
      "allowedPM" : ["view", "edit"],
      "allowedWS" : ["normal", "maximized", "minimized"],
      "renderData" : {
         "content" : null,
         "mimeType" : "text/plain"
      },
      "urlpid" : "address-book-form.ContactForm!510736053|1"
   }
},
"prpMap" : {
}}<<
portletHub.js:668 decoded state for 2 portlets. # changed = 0
VM1014 client-2968C9E98973969FFAE746FDEDC2EE09.cache.js:198 Sending xhr message to server: {"csrfToken":"b099ef85-8231-4973-8bd5-5b15403125bd","rpc":[{"type":"event","node":1,"event":"ui-poll"}],"syncId":4,"clientId":4}
VM1014 client-2968C9E98973969FFAE746FDEDC2EE09.cache.js:198 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.