Yes, I realise I was a bit unclear, and got myself a bit confused
about when things were working and when they weren't. I had been
changing Boot.scala, running mvn compile and letting mvn jetty:run
pick up the changes.
I have now changed the way I'm approaching this to:
vi Boot.scala
mvn clean
It appears that the listing in the book is wrong. The behavior you are
describing is as expected. The first parameter is the name (acts as an id)
of the link, while the 3rd param is the text that is displayed in the menu.
Here is the relevant snippet in the source:
/**
* Create a Loc
Not sure why you're getting no nav, but I think you want to change the other
Home - the first string is the id of the link.
-
pabrahampaulabraham...@googlemail.com wrote:
Hello there,
I've been looking at SiteMap and trying to get it to give me a page
Same thing happens, i.e. I get No Navigation Defined. and no title.
On 6 Aug, 20:38, Naftoli Gugenheim naftoli...@gmail.com wrote:
Not sure why you're getting no nav, but I think you want to change the other
Home - the first string is the id of the link.
No Nav Defined typically shows up for me, when I've got my DB
connection messed up.
On Aug 6, 3:51 pm, pabraham paulabraham...@googlemail.com wrote:
Same thing happens, i.e. I get No Navigation Defined. and no title.
On 6 Aug, 20:38, Naftoli Gugenheim naftoli...@gmail.com wrote:
Not
Actually, same thing doesn't happen. If I change the third argument,
I get this as the title in my browser as well as the link in the site
map.
On 6 Aug, 20:51, pabraham paulabraham...@googlemail.com wrote:
Same thing happens, i.e. I get No Navigation Defined. and no title.
On 6 Aug, 20:38,
So it's working correctly, or it's still broken? same thing doesn't happen
is a bit unclear ;)
Derek
On Thu, Aug 6, 2009 at 1:56 PM, pabraham paulabraham...@googlemail.comwrote:
Actually, same thing doesn't happen. If I change the third argument,
I get this as the title in my browser as
Please look at the console output. If there's a stack trace generated
during the execution of Boot.scala, your app will be in an undefined state
and that may include the lack of a menu and/or title.
On Thu, Aug 6, 2009 at 12:56 PM, pabraham paulabraham...@googlemail.comwrote:
Actually, same