how to change the panel data from a modal window opened from AjaxLink.onClick() ?

2014-06-12 Thread Duke
Hi all, dear wicket experts! I have some issue in my code, I suspect that it is because of ajax behavior, that I not quite understand. I have a MyPanel extends CheckedFolderT, that I create in NestedTree.newContentComponent() {}. This MyPanel has some public data, boolean bChanged for example.

Re: how to change the panel data from a modal window opened from AjaxLink.onClick() ?

2014-06-12 Thread Duke
Addition: NestedTree and ModalWindow is placed on a TreePage: TreePage.html div wicket:id=modaleditdialog/div div wicket:id=tree[tree]/div TreePage.java public TreePage () { dialog = new ModalEditDialog(modaleditdialog); dialog.setResizable(true); dialog.setAutoSize(true);

Re: how to change the panel data from a modal window opened from AjaxLink.onClick() ?

2014-06-12 Thread Duke
Thanks Martin! I tried to use a reference to bChanged through the first page, but it permanently bind ModalWindow with first page and I cant use it in another pages. For the first way - There will be no serialization/deserialization when I will use Panel insted of a Page in ModalWindow? Best

Re: Wicket CDI application junit test

2014-04-17 Thread Duke
Hi Stepan! Do you try DeltaSpike yourself? I try to run cdi in tests just like in this guide http://struberg.wordpress.com/2012/03/27/unit-testing-strategies-for-cdi-based-projects/ . And weld-se is failed in a simple test debuuging on a cdiContainer.boot(); with many WELD-001409 exceptions,

Re: Wicket CDI application junit test

2014-04-15 Thread Duke
Thanks Martin, I read WICKET-5264, but I don't understand... I havn't any injections in anonymous inner classes in my code. I try to inject EntityManager in public class LoginPage. If I remove any injections, fail remains. It disappers only if I remove { new CdiConfiguration().configure(this); }

Re: Wicket CDI application junit test

2014-04-15 Thread Duke
I'm sorry, I did not immediately explained. At first I tried to create tests for an existing application that uses wicket-cdi 1.0 and Glassfish 3.1.2. I did not succeed because of 'javax.naming.NamingException: Lookup failed for 'java:comp/BeanManager''. Then I think that with wicket-cdi1.1 it

Re: Wicket CDI application junit test

2014-04-15 Thread Duke
Found some info in mail archives. I will try to upgrade gf4 with weld 2.1.x as I read. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665416.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket CDI application junit test

2014-04-14 Thread Duke
Hi all. Tried to build simple example with EntityManager injection: public class LoginPage extends BasePage { @Inject EntityManager em; ... } public class Application extends WebApplication { @Override protected void init() { super.init(); new

Re: Wicket CDI application junit test

2014-04-11 Thread Duke
Thanks, Stephan. I will try to use DeltaSpike with wicket-cdi1.0 in tests. PS Maybe using wicket-cdi1.1 version will be more easy and it will not need any additional libraries? PPS I don't understand about wicket-cdi 1.1 version. Will it work correctly with glassfish 4.0? I tryed cdi1.0, but it

Re: Wicket CDI application junit test

2014-04-11 Thread Duke
Found your thread, David :) Many thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665373.html Sent from the Users forum mailing list archive at Nabble.com.

Wicket CDI application junit test

2014-04-10 Thread Duke
Hi everyone. I'm trying to write some tests for my wicket-cdi application. But I can't init wicket WebApplication, resulting: javax.naming.NamingException: Lookup failed for 'java:comp/BeanManager' in

Re: [ANN] wicket-dnd project

2014-03-11 Thread Duke
Hi all, I'm try to use wicket-dnd 0.6.0 in my project. I got a strange behavior in my NetBeans 7.4 IDE when I add wicket-dnd library to my project library list. After adding and saving project, if I close IDE and open it, it stop to highlight errors in code editor. It highlihgt a file in a list,

Re: [ANN] wicket-dnd project

2014-03-11 Thread Duke
Thanks for reply. Unfortunately I can't change IDE now, its not my choice. Also, I found some strange code in wicket-dnd theme.css files: div.dnd-hover-cover { display: none; } table.dnd-hover-table { border-spacing: 0px; *border-collapse: collapse:* } Maybe it is a missprint? And right will be

Re: [ANN] wicket-dnd project

2014-03-11 Thread Duke
Thanks Sven, I am newbe in css/html, thats why I was in doubt. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-project-tp1889824p4664899.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How get wiki Framework Documentation for offline reading

2014-02-12 Thread Duke
Hi, Martin. Hi everyone! What about a offline wicket api documentation http://ci.apache.org/projects/wicket/apidocs/6.x/ ? Sometime it's usefull to get it without any internet connection. Can we download it anyware? Best regards, Andrey -- View this message in context: