Hi,
I have solved the problem, overriding valueUnbound in my custom session and
updating the database
with my @SpringBeans works when the session is expiring. My problem was
that I was using data
from my session in the @Repository Dao impl class like this:
MyCustomSession.get() and that issued the
Thanks, tis is very helpful.
Bruce
Sent from my iPad
> On Mar 17, 2014, at 4:52 AM, Ernesto Reinaldo Barreiro
> wrote:
>
> You can see it at work here
>
> http://107.170.4.97:9080/client-sign-out-demo/
>
>
> On Mon, Mar 17, 2014 at 9:18 AM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com>
On Mon, 17 Mar 2014 13:58:59 +0200
Martin Grigorov wrote:
MG> This method doesn't add the children components.
MG> So trying to render this panel (via #startComponentInPag(panelInstance))
MG> will fail because there are HTML elements with wicket:id in the markup
MG> which have no Java counterpart
OK,
I think I understand now.
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 17, 2014 at 1:31 PM, Jens Jahnke wrote:
> Hi,
>
> On Mon, 17 Mar 2014 13:05:57 +0200
> Martin Grigorov wrote:
>
> MG> This is the right way.
> MG> Can you show us the code that causes this error ?
> MG>
On Mon, 17 Mar 2014 13:38:29 +0200
Martin Grigorov wrote:
MG> I meant the test code that leads to the exception.
Okay, here it is:
private WicketTester tester;
@Before
public void setUp() throws Exception {
tester = new WicketTester(new MyApplication());
}
@Test
public void testRenderPane
Hi,
I meant the test code that leads to the exception.
On Mon, Mar 17, 2014 at 1:31 PM, Jens Jahnke wrote:
> Hi,
>
> On Mon, 17 Mar 2014 13:05:57 +0200
> Martin Grigorov wrote:
>
> MG> This is the right way.
> MG> Can you show us the code that causes this error ?
> MG> #startComponentInPage()
Hi,
On Mon, 17 Mar 2014 13:05:57 +0200
Martin Grigorov wrote:
MG> This is the right way.
MG> Can you show us the code that causes this error ?
MG> #startComponentInPage() should not fail with such error ...
the exception is thrown at the line with tester.startComponentInPage,
but here is the c
Hi,
This is the right way.
Can you show us the code that causes this error ?
#startComponentInPage() should not fail with such error ...
Martin Grigorov
Wicket Training and Consulting
On Mon, Mar 17, 2014 at 1:00 PM, Jens Jahnke wrote:
> Hi,
>
> I'm trying to test a panel in isolation using `
Hi,
I'm trying to test a panel in isolation using `startComponentInPage(C)`.
The test goes as follows:
MyDataModel d = ...
Panel p = new MyCustomPanel("id", new LoadableDataModel(d));
tester.startComponentInPage(p);
Upon execution I get this output:
Unable to find component with id 'id' in [MyC
You can see it at work here
http://107.170.4.97:9080/client-sign-out-demo/
On Mon, Mar 17, 2014 at 9:18 AM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Martin,
>
> What I mean is something that triggers the sign out before serve side
> session expires... and trigger this expire eve
Martin,
What I mean is something that triggers the sign out before serve side
session expires... and trigger this expire event.
https://github.com/reiern70/antilia-bits/blob/master/client-sign-out-parent/client-sign-out/src/main/java/com/antilia/signout/InactivitySignOutPanel.java
https://github.
Hi,
On Fri, Mar 14, 2014 at 9:25 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:
> Hi,
>
> I would implement this as..
>
> 1- A JS function that counts how much time has passed since last AJAX
> request. Once a certain threshold is passed an AJAX request is sent to the
> page.
> 2- An
Hi,
Put a breakpoint at
org.apache.wicket.core.request.mapper.BasicResourceReferenceMapper#mapRequest(Request)
and see what happens.
If you are able to reproduce it with a quickstart application then please
attach it to a ticket in Jira and we will check it.
Martin Grigorov
Wicket Training and Co
Hi,
On Sun, Mar 16, 2014 at 1:58 AM, lumo wrote:
> I cant get rid of the message, nor can I log to a file.
>
>
> Im my pom.xml I have the following dependency:
>
>
> org.slf4j
> slf4j-log4j12
> 1.7.6
>
Hi,
Thanks for sharing your solution!
If you use Wicket 1.5+ it will be a bit easier - with your own impl of
IRequestMapper you can read the passed request's url. This Url has
#getSegments() method that returns a list of all path parameters. If the
last segment is "productDetails" then you have t
15 matches
Mail list logo