Hi,

I think I'm the minority here but I like how wicket's default behaviour of placing html with the page.
I have a problem that I hope someone has encountered and solved before.

Basically, I current my source structure to be as follows

com/acme/web/HomePage.java
com/acme/web/HomePage.html
com/acme/web/SomePage.java
com/acme/web/SomePage.html
com/acme/panel/NavPanel.java
com/acme/panel/NavPanel.html

In my NavPanel.html, I have some links to HomePage.html as well as NavPanel.html. <a href="SomePage.html">Some Page</a> This works. The debug shows that Wicket is automatically figuring which page to link to link to.

But when I do the following

com/acme/proga/SomePage.java
com/acme/proga/SomePage.html
com/acme/home/HomePage.java
com/acme/home/HomePage.html
com/acme/panel/NavPanel.java
com/acme/panel/NavPanel.html

Wicket debug warning shows that it is unable to figure what Page class to give <a href="SomePage.html">Some Page</a>. WARN org.apache.wicket.markup.resolver.AutoLinkResolver - Did not find corresponding java class: com.acme.home.SomePage

I am thinking that probably what I'm trying to do is wrong. If so, what is the proper way to make the pages available in a Navigator? I tried building the links dynamically by iterating a list of pages and getting the paths from there BUT I am stuck trying get a list of Pages of my application.

Is there a way for me to resolve this?

Thanks in advance.

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

Reply via email to