Hey guys,
I'm in the middle of getting Tyler Weirs marvellous /lift/-application stable on Terracotta,
but an oddity has occurred that someone might be able to shed some light on.
Tyler's sitemap configuration goes like this:
val entries = Menu(Loc("Home", "/", "Home")) ::
Menu(Loc("Timesheets", "/timesheets", "Timesheets")) ::
Menu(Loc("Reports", "/timesheets/reports", "Reports")) ::
Menu(Loc("ReportList", "/timesheets/reports/list", "Report List", Hidden)) ::
Menu(Loc("ReportBill", "/timesheets/reports/billable", "Billable", Hidden)) ::
Menu(Loc("ReportMonthly", "/timesheets/reports/monthly", "Monthly", Hidden)) ::
User.sitemap ::: Client.sitemap ::: Contact.sitemap ::: Project.sitemap ::: Task.sitemap ::: Day.sitemap
Now, Tyler runs the exact same WAR as I do, we're both running Java 6 on Apache 6 with a MySQL backing.
The difference is that he can click on the "Reports" and "Timesheets" link without any problems,
but when I click them, I get an "Invalid URL" and get redirected to the Home-page.
Since "ReportList", "ReportBill" and "ReportMonthly" are hidden, there are no links, but if I type them in manually, they work just fine.
(Manually typing the URLs for "Reports" and "Timesheets" both generate the same Invalid URL response)
Note that we're using the exact same WAR-file.
This is probably dead simple, but it is a rather weird situation.
Any clues?
Cheers,
-V
--
_____________________________________
/ \
/lift/ committer (
www.liftweb.net)
SGS member (Scala Group Sweden)
SEJUG member (Swedish Java User Group)
\_____________________________________/