This package contains all Vaadin web components (free and commercial).
See https://github.com/vaadin/web-components for more details.
Example application of using Portlets with Vaadin 14.2
Home Page: https://vaadin.com
This package contains all Vaadin web components (free and commercial).
See https://github.com/vaadin/web-components for more details.
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
.
Generate IT tests for addressbook that in the portlet module runs tests on the multimodule
addressbook.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.