Hello,
i have written my own Action for C2. It works fine.
But somehow the C2 always report resource not found.
With resource i think C2 means the file i am requesting,
because i cannot find any ClassNotFoundExceptions in any logs.
I have configure in my sitemap the following to use the action
...
<map:actions>
<map:action name="login-request" src="LoginAction"/>
<map:action name="lang-select"
src="org.apache.cocoon.acting.LangSelect"/>
</map:actions>
</map:components>
<map:action-sets>
<map:action-set name="helpdesk">
<map:act type="login-request"/>
</map:action-set>
</map:action-sets>
...
<map:match pattern="*.html">
<map:act set="helpdesk">
<map:generate type="serverpages" src="helpdesk.xsp"/>
<map:serialize/>
</map:act>
</map:match>
...
The file helpdesk.xsp exists on my server. Because if i take the
map:act element away like this it works fine:
<map:match pattern="*.html">
<map:generate type="serverpages" src="helpdesk.xsp"/>
<map:serialize/>
</map:match>
Another question, how is the syntax to use the action directly without
an action set. If i take the example from the documentation C2 always
reports incomplete pipeline.
best regards
Max Larsson
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>