The easiest way seems to be to check for $doc.isNew() and include a different template then. ~dk David V. Kocher wrote:
Is it possible to define a page template for references to non-existent articles? (as in many other wikis, e.g. mediawiki > http://en.wikipedia.org/wiki/NonExistantPage )
The behavior on xwiki.org itself is not consistent; e.g. http://www.xwiki.org/xwiki/bin/view/Main/null shows an empty page whereas http://www.xwiki.org/xwiki/bin/view/null gives a stacktrace.
~dk
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws