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.
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);
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
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,
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); }
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
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.
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
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
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.
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
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,
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
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.
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:
15 matches
Mail list logo