Wicket 6 + EJB

2012-09-24 Thread Michael Zhavzharov
Hello Everyone. I have a question about how to include EJB into my wicket web application. When I was looking for solution for this problem in google, I have found two ways to solve it: 1) Extend my Application class from org.jboss.weld.wicket.WeldApplication and then simply add @Inject

Re: Wicket 6 + EJB

2012-09-24 Thread Michael Zhavzharov
Thank you, heapifyman! Your post solved my problem! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-EJB-tp4652286p4652297.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket 6 + EJB

2012-09-24 Thread Michael Zhavzharov
Thank you, Bruno! I will choose from this two frameworks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-EJB-tp4652286p4652298.html Sent from the Users forum mailing list archive at Nabble.com.

Multiple AjaxLazyLoadingPanel's never load

2012-10-12 Thread Michael Zhavzharov
Hi, all! I have a problem with list of AjaxLazyLoadingPanels. Only the first panel loads, but others never. It's looks like this: http://apache-wicket.1842946.n4.nabble.com/file/n4652907/lazyloading.jpg I need to load N lazyPanels, and I trying to do next: *In Java:* List components = new

Re: Multiple AjaxLazyLoadingPanel's never load

2012-10-12 Thread Michael Zhavzharov
Hi, Martin! Thank You for your reply. I realized, that it is not an option for me to use ALLP. I need to load different data - Labels, Link and Image in one lazy panel, also I should be able to interact with other components in page, while ALLP loads it's content. You can use Wicket IResource

Re: Multiple AjaxLazyLoadingPanel's never load

2012-10-15 Thread Michael Zhavzharov
you'll need to acquire the page lock, i.e. you will face the same problem. i.e. there is no way to load components in page, showing loading indicator and give user an opportunity to work with another elements on page? Thank you for your concern. I don't know were to load app, that's why I

Re: Multiple AjaxLazyLoadingPanel's never load

2012-10-15 Thread Michael Zhavzharov
Thank You very much, Martin! I am ashamed that I did not solve this problem by myself. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multiple-AjaxLazyLoadPanel-s-never-load-tp4652907p4652975.html Sent from the Users forum mailing list archive at Nabble.com.

Session creates multiple times

2013-05-15 Thread Michael Zhavzharov
Hello! I have a webApp, that have a webSession witch creates a connector and many managers. When I starts an app, session creates 2 times. When the page is starting to render it creates another 2 times and every user, when connecting to this app, creates another 2 sessions. I just realized that

Re: Possible bug with AjaxLazyLoadPanel

2013-05-16 Thread Michael Zhavzharov
Hm, I just tried to do what you are talking about and it works for me. I have an ALLP: add(new AjaxLazyLoadPanel(lazy) { @Override public Component getLazyLoadComponent(*String id*) { return new ContentPanel(*id*); } }); and AjaxLink:

Re: Session creates multiple times

2013-05-16 Thread Michael Zhavzharov
Thank you, Martin! I have such stackTrace for all of the newSession() calls: 1)com.alee.urait.web.Urait.newSession(Urait.java:89) 2)org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1557) 3)org.apache.wicket.Session.get(Session.java:168)

Re: Session creates multiple times

2013-05-16 Thread Michael Zhavzharov
Thank you, Sven! I have created an issue, but I don't know it it right in it's description. https://issues.apache.org/jira/browse/WICKET-5191 But can I do any hack now to get rid of this problem? -- View this message in context: