Sorry for not speaking up earlier but ATM I am quite busy. lenya 1.2. usecase and 1.4. are *very* different.
What solprovider describes works perfectly in 1.2 but not in 1.4 since the architecture of the usecase framework has changed heaps. http://lenya.apache.org/1_4/reference/usecase-framework/index.html El vie, 05-05-2006 a las 14:04 +0100, Andrew Golightly escribió: > thanks for getting back to me. > > > The error is probably caused by one of these files being missing: > > {pub}/resources/forms-samples-styling.xsl > > {pub}/xslt/page2xhtml.xsl > > build/lenya/webapp/lenya/xslt/util/strip_namespaces.xsl > > Unfortunately not. I've done a clean rebuild with lenya. I downloaded > the latest contact.zip too. And I've checked those three files to make > sure they are in the right places. Same error... :p which is no surprise see above. IMO you may want to look at the cform doctype example if you want to use cforms. ...but IMO that is not even needed for a "simple" contact form. The basic steps to set up an usecase are described in http://lenya.apache.org/1_4/reference/usecase-framework/index.html#Implementing+a+Custom+Usecase So I guess the quickest solution is to 1) create and setup a usecase java/config 2) create a *simple* html form as view (mind to give the input fields unique identifier like lenya.contact.name - this prevent any possible conflicts) Now in the doExecute() you will request the information like String name = getParameterAsString("lenya.contact.name"); ... and do your business logic. HTH salu2 -- Thorsten Scherler COO Spain Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
