PageReference#getPage return null

2014-01-14 Thread Marco Di Sabatino Di Diodoro
Hi all,

We upgrade Apache Syncope to Wicket 6.13.0 and PageReference#getPage is now 
returning null instead of the expectedPage instance [1].
What has changed from 6.12.0?

[1] https://issues.apache.org/jira/browse/SYNCOPE-476

Thanks
Marco
-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/



Re: PageReference#getPage return null

2014-01-14 Thread Martin Grigorov
Hi,

Wild guess: you have a reference to non-initialized page (
https://issues.apache.org/jira/browse/WICKET-5415)
Non-initialized pages are not stored because they were not rendered.

Try with page.internalInitialize() before page.getPageReference().

Martin Grigorov
Wicket Training and Consulting


On Tue, Jan 14, 2014 at 5:02 PM, Marco Di Sabatino Di Diodoro 
marco.disabat...@tirasa.net wrote:

 Hi all,

 We upgrade Apache Syncope to Wicket 6.13.0 and PageReference#getPage is
 now returning null instead of the expectedPage instance [1].
 What has changed from 6.12.0?

 [1] https://issues.apache.org/jira/browse/SYNCOPE-476

 Thanks
 Marco
 --
 Dott. Marco Di Sabatino Di Diodoro
 Tel. +39 3939065570

 Tirasa S.r.l.
 Viale D'Annunzio 267 - 65127 Pescara
 Tel +39 0859116307 / FAX +39 085973
 http://www.tirasa.net

 Apache Syncope PMC Member
 http://people.apache.org/~mdisabatino/




Re: PageReference#getPage return null

2014-01-14 Thread Marco Di Sabatino Di Diodoro
Hi Martin, 

Il giorno 14/gen/2014, alle ore 16:20, Martin Grigorov mgrigo...@apache.org 
ha scritto:

 Hi,
 
 Wild guess: you have a reference to non-initialized page (
 https://issues.apache.org/jira/browse/WICKET-5415)
 Non-initialized pages are not stored because they were not rendered.
 
 Try with page.internalInitialize() before page.getPageReference().
 

I solved the issue.

Thanks
Marco

 Martin Grigorov
 Wicket Training and Consulting
 
 
 On Tue, Jan 14, 2014 at 5:02 PM, Marco Di Sabatino Di Diodoro 
 marco.disabat...@tirasa.net wrote:
 
 Hi all,
 
 We upgrade Apache Syncope to Wicket 6.13.0 and PageReference#getPage is
 now returning null instead of the expectedPage instance [1].
 What has changed from 6.12.0?
 
 [1] https://issues.apache.org/jira/browse/SYNCOPE-476
 
 Thanks
 Marco
 --
 Dott. Marco Di Sabatino Di Diodoro
 Tel. +39 3939065570
 
 Tirasa S.r.l.
 Viale D'Annunzio 267 - 65127 Pescara
 Tel +39 0859116307 / FAX +39 085973
 http://www.tirasa.net
 
 Apache Syncope PMC Member
 http://people.apache.org/~mdisabatino/
 
 

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/



Re: PageReference#getPage return null

2014-01-14 Thread Martin Grigorov
I'll improve Wicket to store the page when it knows that it will be used in
a later request.
Once Jira is reachable ...

Martin Grigorov
Wicket Training and Consulting


On Tue, Jan 14, 2014 at 6:01 PM, Marco Di Sabatino Di Diodoro 
marco.disabat...@tirasa.net wrote:

 Hi Martin,

 Il giorno 14/gen/2014, alle ore 16:20, Martin Grigorov 
 mgrigo...@apache.org ha scritto:

  Hi,
 
  Wild guess: you have a reference to non-initialized page (
  https://issues.apache.org/jira/browse/WICKET-5415)
  Non-initialized pages are not stored because they were not rendered.
 
  Try with page.internalInitialize() before page.getPageReference().
 

 I solved the issue.

 Thanks
 Marco

  Martin Grigorov
  Wicket Training and Consulting
 
 
  On Tue, Jan 14, 2014 at 5:02 PM, Marco Di Sabatino Di Diodoro 
  marco.disabat...@tirasa.net wrote:
 
  Hi all,
 
  We upgrade Apache Syncope to Wicket 6.13.0 and PageReference#getPage is
  now returning null instead of the expectedPage instance [1].
  What has changed from 6.12.0?
 
  [1] https://issues.apache.org/jira/browse/SYNCOPE-476
 
  Thanks
  Marco
  --
  Dott. Marco Di Sabatino Di Diodoro
  Tel. +39 3939065570
 
  Tirasa S.r.l.
  Viale D'Annunzio 267 - 65127 Pescara
  Tel +39 0859116307 / FAX +39 085973
  http://www.tirasa.net
 
  Apache Syncope PMC Member
  http://people.apache.org/~mdisabatino/
 
 

 --
 Dott. Marco Di Sabatino Di Diodoro
 Tel. +39 3939065570

 Tirasa S.r.l.
 Viale D'Annunzio 267 - 65127 Pescara
 Tel +39 0859116307 / FAX +39 085973
 http://www.tirasa.net

 Apache Syncope PMC Member
 http://people.apache.org/~mdisabatino/