Gordon Augat 8年 前 Thanks for the post! Very helpful. Can Vaadin portlets be instanceable? If I put 2 of the same Vaaadin 7 portlets on the same page, 1 of them displays correctly and the other one throws an exception.Caused by: java.lang.IllegalMonitorStateException at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:155) at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260) at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:460) at com.vaadin.server.VaadinSession.unlock(VaadinSession.java:1004) at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:43) at com.vaadin.server.communication.PortletBootstrapHandler.handleRequest(PortletBootstrapHandler.java:48) at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409)I am using Liferay 6.2 and Vaadon 7.6. 投票するためにはログインが必要です。 次として送信する: キャンセル Ingrid Martinez Gordon Augat 5年 前 Hi, I have the same problem with adding more than one vaadin portlet in the same page. Did you fix the error? 投票するためにはログインが必要です。 次として送信する: キャンセル David H Nebinger Ingrid Martinez 5年 前 Since the stack points to an issue inside of the VaadinSession, you'd probably need to customize the class to work around the issue. This is a common issue for frameworks that are not "portal aware", they often never consider ramifications of having two of the same thing running inside of a single page. 投票するためにはログインが必要です。 次として送信する: キャンセル Gordon Augat Ingrid Martinez 5年 前 https://vaadin.com/forum/thread/12006293/instanceable-liferay-vaadin-portlet 投票するためにはログインが必要です。 次として送信する: キャンセル
Ingrid Martinez Gordon Augat 5年 前 Hi, I have the same problem with adding more than one vaadin portlet in the same page. Did you fix the error? 投票するためにはログインが必要です。 次として送信する: キャンセル David H Nebinger Ingrid Martinez 5年 前 Since the stack points to an issue inside of the VaadinSession, you'd probably need to customize the class to work around the issue. This is a common issue for frameworks that are not "portal aware", they often never consider ramifications of having two of the same thing running inside of a single page. 投票するためにはログインが必要です。 次として送信する: キャンセル Gordon Augat Ingrid Martinez 5年 前 https://vaadin.com/forum/thread/12006293/instanceable-liferay-vaadin-portlet 投票するためにはログインが必要です。 次として送信する: キャンセル
David H Nebinger Ingrid Martinez 5年 前 Since the stack points to an issue inside of the VaadinSession, you'd probably need to customize the class to work around the issue. This is a common issue for frameworks that are not "portal aware", they often never consider ramifications of having two of the same thing running inside of a single page. 投票するためにはログインが必要です。 次として送信する: キャンセル
Gordon Augat Ingrid Martinez 5年 前 https://vaadin.com/forum/thread/12006293/instanceable-liferay-vaadin-portlet 投票するためにはログインが必要です。 次として送信する: キャンセル
Swetha Harshini 7年 前 Thanks for the informative post. Since ajaxable has to be set to false for all vaadin portlets, is there a workaround to render a page before rendering the (vaadin) portlet? The vaadin portlet which I use for multiple functionalities takes longer to load hence the page too. Is there way I can render the page first and then the portlet.Thank you. 投票するためにはログインが必要です。 次として送信する: キャンセル