Hi all,

I felt frustrated with using cform with Lenya 1.4 now, becuse couldn't succeed to use it. I have followed the instruction on
http://lenya.apache.org/docs/1_4/reference/usecase-framework/index.html#Implementing+a+Custom+Usecase step by step and used
the example source of contactform as following step.

1.  Copy usecase-contactForm.xconf from src/modules/contactform/config/cocoon-xconf to lenya/pubs/default/config/cocoon-xconf, and also I did the change of the view tag to <view template="usecases/contactform/contactForm.jx"/>.
2.  Copy contactForm.jx from src/modules/contactform/usecases to lenya/pubs/default/lenya/usecases/contactform
3.  Copy ContactForm.java from src/org/apache/lenya/cms/contactform to lenya/pubs/default/java/src/org/apache/lenya/cms/contactform
4. Then, I compiled and deployed my Lenya project to tomcat, and put "?lenya.usecase=contactform.sendMessage" to URL after logging in as Lenya. The result was that Access Denied on the browser.

" Access Denied
The user 'lenya' is not authorized to access the page '/Lenya_1.4/default/authoring/index.html'.
If you have another user account with the corresponding privileges, please provide user name and password below."

Could anyone tell me that which step I miss  during applying cform on Lenya 1.4 please? Thank you for any help in advance.

Best regards,
Suriya

Reply via email to