Re: Creating google-sitemap for wicket application

2007-10-25 Thread John Patterson
You can also mount whole packages at a time.  Or if you have too many  
packages you can add your own IRequestTargetUrlCodingStrategy and  
mount that and write your own logic for finding Bookmarkable pages  
pages with nice URL's.


John

On 25 Oct 2007, at 09:09, martinf wrote:



Hi,

basically yes. Depending on your package structure one of the other  
'mount'

implementations in WebApplication might be of help to you.
About the performace I can't say much. But 500 path/Page associations
doesn't sound too scary in my ears. At least worth a try.

mf


BatiB80 wrote:


Hi,

thanks for the answer, I tried it out and it seems to be working.  
But one

more question on this:

If I have 500 pages in my webapplication, would this mean, that I  
have to

call the method:

   mountBookmarkablePage(/somelink, SomePage.class);

500 times during the initialisation of my application. If yes,  
what is the

limit of having such bookmarks?

Thanks, Sebastian



--
View this message in context: http://www.nabble.com/Creating-google- 
sitemap-for-wicket-application-tf4690334.html#a13408731

Sent from the Wicket - User mailing list archive at Nabble.com.


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





Re: Creating google-sitemap for wicket application

2007-10-25 Thread Nino Saturnino Martinez Vazquez Wael
if some of your pages are predictable you could just have a masterpage 
using parameters, and making that bookmarkable.. Like this:


http://mynicesite.com/masterpage/products/toys

This will give the parameter called products with the value toys to the 
master page you could then redirect appropaitely..


or this:

http://mynicesite.com/sitemap/pages/pageA

eek lousy spelling today..

martinf wrote:

Hi,

basically yes. Depending on your package structure one of the other 'mount'
implementations in WebApplication might be of help to you.
About the performace I can't say much. But 500 path/Page associations
doesn't sound too scary in my ears. At least worth a try.

mf


BatiB80 wrote:
  

Hi,

thanks for the answer, I tried it out and it seems to be working. But one
more question on this: 


If I have 500 pages in my webapplication, would this mean, that I have to
call the method: 


   mountBookmarkablePage(/somelink, SomePage.class);

500 times during the initialisation of my application. If yes, what is the
limit of having such bookmarks? 


Thanks, Sebastian




  


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