Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-13 Thread Jeremy Thomerson
Create a quickstart and attach it to a JIRA.

On Tue, Oct 5, 2010 at 4:05 AM, virtualizer jan.bic...@ppimedia.de wrote:



 Altuğ Bilgin Altıntaş wrote:
 
  Also could you please try without Test1  just
 
  add(new BookmarkablePageLink(testlink1, Test1.class, pp));
 
  Which wicket version ?
 

 Without generic type it is the same problem.

 I´m using 1.4.9.

 I have the same problem if I don´t use PageParameters and
 mount(/some/path, PackageName.forClass(Test1.class))

 Thanks!
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage-and-BookmarkablePageLink-with-PageParameters-tp2954926p2955651.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Jeremy Thomerson
http://www.wickettraining.com


Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-05 Thread Altuğ Bilgin Altıntaş
Also could you please try without Test1  just

add(new BookmarkablePageLink(testlink1, Test1.class, pp));

Which wicket version ?

Altug

2010/10/4 virtualizer jan.bic...@ppimedia.de


 Hello,

 in my tomcat I have a context (home.xml) with the path home. So I open my
 wicket-stuff with localhost:8080/home. Fine!

 Now I have two pages Test1 and Test2. For both I´ve called
 mountBookmarkablePage...

 mountBookmarkablePage(/test1, Test1.class)
 mountBookmarkablePage(/test2, Test2.class)

 And I have two BookmarkablePageLink (one for each page) with PageParameters
 on every Page...

 add(new BookmarkablePageLinkTest1(testlink1, Test1.class, pp));
 add(new BookmarkablePageLinkTest2(testlink2, Test1.class, pp));

 ...where pp is test=hello.

 If I´ve loaded the page with url http://localhost:8080/home/test1 the
 links
 are still ok. Bt if I click on a link and call a page with the
 pageparameters the links are suddenly without the home-part:
 http://localhost:8080/test1/test/hello and
 http://localhost:8080/test2/test/hello.

 So, if I use no pageparameters everthing is ok. But if I use pageparameters
 (and I really want to do this!) the the home-url is wrong.

 What couold I´ve done wrong?
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage-and-BookmarkablePageLink-with-PageParameters-tp2954926p2954926.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-05 Thread virtualizer


Altuğ Bilgin Altıntaş wrote:
 
 Also could you please try without Test1  just
 
 add(new BookmarkablePageLink(testlink1, Test1.class, pp));
 
 Which wicket version ?
 

Without generic type it is the same problem. 

I´m using 1.4.9. 

I have the same problem if I don´t use PageParameters and
mount(/some/path, PackageName.forClass(Test1.class))

Thanks!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage-and-BookmarkablePageLink-with-PageParameters-tp2954926p2955651.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-05 Thread Altuğ Bilgin Altıntaş
Quickstart please ...



2010/10/5 virtualizer jan.bic...@ppimedia.de



 Altuğ Bilgin Altıntaş wrote:
 
  Also could you please try without Test1  just
 
  add(new BookmarkablePageLink(testlink1, Test1.class, pp));
 
  Which wicket version ?
 

 Without generic type it is the same problem.

 I´m using 1.4.9.

 I have the same problem if I don´t use PageParameters and
 mount(/some/path, PackageName.forClass(Test1.class))

 Thanks!
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage-and-BookmarkablePageLink-with-PageParameters-tp2954926p2955651.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




mountBookmarkablePage and BookmarkablePageLink with PageParameters

2010-10-04 Thread virtualizer

Hello, 

in my tomcat I have a context (home.xml) with the path home. So I open my
wicket-stuff with localhost:8080/home. Fine! 

Now I have two pages Test1 and Test2. For both I´ve called
mountBookmarkablePage... 

mountBookmarkablePage(/test1, Test1.class) 
mountBookmarkablePage(/test2, Test2.class) 

And I have two BookmarkablePageLink (one for each page) with PageParameters
on every Page... 

add(new BookmarkablePageLinkTest1(testlink1, Test1.class, pp)); 
add(new BookmarkablePageLinkTest2(testlink2, Test1.class, pp)); 

...where pp is test=hello. 
  
If I´ve loaded the page with url http://localhost:8080/home/test1 the links
are still ok. Bt if I click on a link and call a page with the
pageparameters the links are suddenly without the home-part: 
http://localhost:8080/test1/test/hello and
http://localhost:8080/test2/test/hello. 

So, if I use no pageparameters everthing is ok. But if I use pageparameters
(and I really want to do this!) the the home-url is wrong. 

What couold I´ve done wrong?  
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage-and-BookmarkablePageLink-with-PageParameters-tp2954926p2954926.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org