Hi, thank you for tour help...

This is a very strange behavior. I have tried to display this page, so I
have created a link to this page, and everything is good, I have my Page,
and it enters into the constructor.

I have tried to put this timer class into a WebPage put, unfortunately it
does'nt enter into the constructor!!

And finally, I have made a simpleThread like this :

public class GestionThread extends java.lang.Thread{
        private boolean stopThread = false;

        public void run() {
                
                boolean fin = false;
                GestionEmail g = new GestionEmail();
                g.emailTimer(new Date());

        } 

It does'nt enter into the constructor to!!
It stops at this line :

.....
log.info(Testing1"); -> display
EmailPage emailcontent = new EmailPage(user,list_sous_domaine,
abo.getDateAncienne() , abo.getDateFuture());

.....

.....
        public EmailPage(TUtilisateur user, List list_sousdomaine, Date ancien,
Date futur){
                log.info(Testing2"); -> never display
                this.user = user;
                this.list_sousdomaine = list_sousdomaine;
                this.ancien = ancien;
                this.futur = futur;
                this.initPage();
        }
.....

If someone have an idea to solve this problem! Thank you in advance.
-- 
View this message in context: 
http://www.nabble.com/Create-WebPage-inside-a-TimerTask-Class-tp17693737p17728018.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to