You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Bob Harner <bo...@gmail.com> on 2005/12/15 16:48:31 UTC

submit.xsl & reject.xsl missing from 1.2.4

Greetings, all!

In Lenya 1.2.4, when I turn on notification (and fix the <textarea />
bug, http://issues.apache.org/bugzilla/show_bug.cgi?id=37916) and then
submit a documentI get an exception:

org.apache.cocoon.ProcessingException: Unable to get transformer
handler for cocoon://notification/default/submit.xsl:
org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in
creating Transform Handler

The problem appears to be that there is no "submit.xsl" file anywhere
in the Lenya 1.2.4 release.  This is referenced by usecase.xmap:

        <!-- Submit -->
        <map:match pattern="submit" type="usecase">
          <map:match pattern="showscreen" type="step">
            <map:generate type="serverpages"
src="{fallback:content/publishing/submit-screen.xsp}"/>
            <map:transform src="{fallback:xslt/publishing/submit-screen.xsl}">
              <map:parameter name="use-request-parameters" value="true"/>
            </map:transform>
            <map:transform src="cocoon:/notification/{../../1}/submit.xsl"/>
            <map:call resource="style-cms-page"/>
          </map:match>
        </map:match>
        <!-- / Submit -->

which only gets called when notification is turned on. The reject.xsl
file is missing too. I looked for them at
http://svn.apache.org/viewcvs.cgi/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/notification/
but don't find them there either.

Is that last transform line unneeded?  When I commented it out, I was
able to submit successfully.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org