Re: [wiQuery] Custom Link to wiQuery Page doest not initialize target page

2010-08-30 Thread Ernesto Reinaldo Barreiro
Can you create a quick-start and attach it to a new issue at http://code.google.com/p/wiquery/issues/list Regards, Ernesto On Mon, May 10, 2010 at 6:17 PM, Jens Zastrow wrote: > Hi experts, > > The following code (Link-example-code) breaks all of my wiQuery-enabled > Pages. > > add(new Link("l

Re: [wiQuery] Custom Link to wiQuery Page doest not initialize target page

2010-08-30 Thread Sam Zilverberg
Hi, I have the same problem, but my page is a non-bookmarkable page which has only one constructor : public MyPage(Page backpage, Model model). I don't see how setResponsePage can solve the problem for me unless I create a default constructor. I'm reluctant to do so because the page is some sort

Re: [wiQuery] Custom Link to wiQuery Page doest not initialize target page

2010-05-10 Thread Zilvinas Vilutis
Why don't you try: setResponsePage( MyPage.class ); In your case - the constructor is invoked earlier, that may cause problems. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 10, 2010 at 9:17 AM, Jens Zastrow wrote: > Hi experts, > > The following code (L

[wiQuery] Custom Link to wiQuery Page doest not initialize target page

2010-05-10 Thread Jens Zastrow
Hi experts, The following code (Link-example-code) breaks all of my wiQuery-enabled Pages. add(new Link("link", listItem.getModel()) { public void onClick() { setResponsePage(new MyPage()); } } The specified MyPage() ist entered, but without initializing the "wiQuery-Subsyste