Well, thats funny. I experimented a bit with the navomatic application of wicket-examples and when I removed the page3.class file from the classpath, the link to page3 showed the same behaviour as you described. And in the log the following message was shown: "WARN - AutoLinkResolver - Did not find corresponding java class: wicket.examples.navomatic.Page3".

I cannot explain why the other pages work fine without accompanying compiled java and html files in the correct directory.

Do you see anything in the logfiles?

Dave

P.S. what do you mean with: Menu.htnl is included in all the pages that it calls?




Rui Pacheco wrote:
Dave

No I don't, but then again, neither are any of the other links, and they work like a charm. Menu.html is included in all the pages that it calls, so in theory it is next to the other pages, at least when the application is running.

On 5/3/06, *Dave Schoorl* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi Rui,

    Do you have the files ListarProverbios.html and ListarProverbios.java
    present in the same directory as the Menu.html and Menu.java?

    I think both of them are needed for <wicket:link> to do the magic
    it does.

    Cumprimentos,
    Dave



    Rui Pacheco wrote:
    > Hi all again
    >
    > This time my problem is with my implementation of Navomatic.
    >
    > I had a menu with several elements, and it worked as described
    in the
    > Navomatic example. Today I added a new element to the menu, with the
    > same syntax that all other entries have, but Wicket is not rendering
    > the new element properly.
    > When I load the page, all entries have a formatted url and the new
    > entry only has a normal html link. If I click on it, Wicket
    obviously
    > won't know what I'm talking about and return a 404.
    >
    > I redeployed the application after clearing Tomcat' cache, so I
    guess
    > it's a Wicket issue? I don't know, but it's very strange. Why is
    > Wicket not rendering that one link? It's just like the others.
    >
    > I'm attaching both my .java and .html for the menu. The entry
    that is
    > not rendered correctly is the one between two blank lines.
    > --
    > Cumprimentos,
    > Rui Pacheco
    >
    ------------------------------------------------------------------------



    -------------------------------------------------------
    Using Tomcat but need to do more? Need to support web services,
    security?
    Get stuff done quickly with pre-integrated technology to make your
    job easier
    Download IBM WebSphere Application Server v.1.0.1 based on Apache
    Geronimo
    http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
    _______________________________________________
    Wicket-user mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/wicket-user
    <https://lists.sourceforge.net/lists/listinfo/wicket-user>




--
Cumprimentos,
Rui Pacheco




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to