On Jul 17, 2005, at 9:39 AM, Onno Scheffers wrote:
Can empty page-specifications now be removed? I tried the
QuickStart DirectLink Guide, which doesn't seem to define a .page-
file and I did set the meta key 'org.apache.tapestry.page-class-
packages' to the package containing my Page implementations.
Tapestry kept complaining that it couldn't locate the page unless I
added an empty page-specification. Then it worked flawlessly, even
though I didn't even tell the page-specification the Class it
should use (so it could figure out the proper Page-class, just not
without a .page-file).
Did anyone else have this problem? Am I doing something wrong here
or are empty .page-files still mandatory?
I've been getting by fine without them. It does matter where you
place your HTML file though. I have a directory structure like:
context/
-----------> css/
-----------> WEB-INF/
I used to place all my HTML & .page files into WEB-INF/, but it
seemed when I dumped the .page file, I had to move the HTML file up
to context/. Maybe you should try that.
--
Kevin