Re: Test Page renders with Nested Panel

2017-02-13 Thread David Beer
Hi Martin Thanks for the PR. So the solution is to remove JavaEE EJB references rather than to use them and test them. Understand Spring doesn't care about EJB but and vice versa. I am only using spring for the security layer and JavaEE for everything else. So does @SpringBean just convert the EJ

Re: Test Page renders with Nested Panel

2017-02-13 Thread Martin Grigorov
https://github.com/dmbeer/wicket-7-spring-security/pull/1 There you go! I've removed/commented out the Java EE stuff. Spring doesn't care about @EJB/@Stateless. As JavaEE doesn't care about @Component & Co. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Feb

Re: Test Page renders with Nested Panel

2017-02-13 Thread David Beer
Hi Martin It appears there was an error when I tried to push the code. I am trying to test AdminPage, and failing to inject the mock from the application context. AdminPage https://github.com/dmbeer/wicket-7-spring-security/blob/wicket-7-test-spring-security/src/main/java/com/copperarrow/pages/Ad

Re: Test Page renders with Nested Panel

2017-02-13 Thread Martin Grigorov
Hi David, Please give more information what is not working. There are 3 tests and all pass. I have no idea where to look for a problem. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sat, Feb 11, 2017 at 11:12 PM, David Beer wrote: > Hi Martin > > Thanks for t

Re: Wicket 8 and servlet 3.1 async nio

2017-02-13 Thread Martin Grigorov
Hi, On Sun, Feb 12, 2017 at 9:37 AM, guillaume.mary wrote: > Hi there ! > > I had a look at the future Wicket 8 and I saw that the servlet 3.1 was the > target. So I looked a little bit at the code and I didn't see anything > about > async IO usage. I was looking for some code that looks like th

Re: How to do this in wicket

2017-02-13 Thread Ronny Pscheidl
You can also have a look at wicket-bootstrap. https://github.com/l0rdn1kk0n/wicket-bootstrap/wiki/Html https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/wicket-7.x/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/html/HtmlTag.java Viele Grüße Ronny > Am 13.02.20

Re: How to do this in wicket

2017-02-13 Thread Martin Grigorov
I was sure you have asked the same before: http://markmail.org/message/ku3a2za7p4uzbdso Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Feb 13, 2017 at 7:51 PM, Martin Grigorov wrote: > Hi, > > Your HTML snippet is not readable neither in GMail nor at Nabbl

Re: How to do this in wicket

2017-02-13 Thread Martin Grigorov
Hi, Your HTML snippet is not readable neither in GMail nor at Nabble. But I guess you talk about IE conditional comments. If this is the case then check: - https://issues.apache.org/jira/browse/WICKET-3433 - https://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx Martin Grigorov Wicket Tr

Re: How to do this in wicket

2017-02-13 Thread Maxim Solodovnik
Should this be dynamic? If no, you can hard-code it to the HTML template If yes you can add "Master" WebMarkupContainer which will be your html tag, and then all logic On Tue, Feb 14, 2017 at 12:53 AM, Entropy wrote: > Our web designer wants our pages to start like this so he can run his > moder

How to do this in wicket

2017-02-13 Thread Entropy
Our web designer wants our pages to start like this so he can run his modernizr thing. But I can't have this in our html before Wicket runs against it, because the html parser seems to be unable to handle this...and I don't blame it. So the thought came that we could write the classes out