waqas khalid schrieb: > Hi, > I have tried to create a custom resource type using following link. > http://lenya.apache.org/docs/1_2_x/how-to/custom_resourcetype.html > But when i try to create a document i got an error msg > "The requested document '/test11.html' with document-id '/test11' does > not exist." > although an xml document with same id is created in content/authoring > section but its not displayed. > I guess i am very close and you guys could make me more closer thanks > for your help.
Is there something useful in the logs? Maybe an exception stack trace? (WEB-INF/logs) -- Andreas > > --Waqas >> From: Andreas Hartmann <[EMAIL PROTECTED]> >> Reply-To: dev@lenya.apache.org >> To: dev@lenya.apache.org >> Subject: Re: how to create pages with templates >> Date: Mon, 26 Feb 2007 10:06:19 +0100 >> >> waqas khalid schrieb: >> > Hi, >> > I am a new one on lenya could any one tell me that how could i create a >> > new page using different templates. Currently i am creating new pages >> > using xhtml which acts as a default template for all new pages but i >> > want to create a new page using any desired template. >> > looking forward for a postive feed back from all you gurus. >> >> You can either define different resource types, but this makes sense >> only if you want to use different XML schemas. >> >> Here's some documentation about resource types: >> >> http://lenya.apache.org/docs/1_4/reference/resource-types.html >> >> If you just want different XHTML layouts, you can add multiple >> <sample-name> elements to the resource type declaration. Then you can >> choose a sample on the "Create" page. >> >> HTH, >> >> -- Andreas >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]