Vadim

I apreciate the reply. Now I can see that at least my grammar is OK. :-)

However, I am no nearer to finding out *why* the code does not work at
all i.e. why the XSP page is not even compiled?  

I *have* tried to model my code on the forms/employee sample; apart from
some differences in the display (eg. no JavaScript) they are very
similar.  How do I go about finding why no action can be / is processed?

Thanks
Derek

D Hohls
CSIR Environmentek
PO Box 17001
Kwa-Zulu Natal
South Africa
4013


>>> [EMAIL PROTECTED] 03/19/02 16:53 PM >>>
Your action set do not succeed, so pipeline is not being executed.

IIRC, action set will succeed when it is possible to choose at least one
action from the set and that action returns not null Map (it could be
empty, but not null).

See also forms/employee in the sample sitemap.

Vadim

> From: Derek Hohls [mailto:[EMAIL PROTECTED]]
> 
> Running C2.0 under Windows 2000, JDK 1.3, Apache/Tomcat
> 
> I am trying to get a small database working.  After failing to
> get it working in a submap, I have tried moving all the relevant
> files over to the Cocoon samples directory.
> 
> When I have:
> 
>    <map:match pattern="docs/samples/forms/form_chemicals">
>        <map:generate type="serverpages"
> src="docs/samples/forms/form_chemicals.xsp"/>
>        <map:transform src="docs/samples/styles/dbform.xsl"/>
>        <map:serialize />
>    </map:match>
> 
> all is well, and the output from the database output displays as
> expected.
> 
> But when I try and use actions:
> 
>    <map:match pattern="docs/samples/forms/form_chemicals">
>      <map:act set="dbentry">
>        <map:parameter name="descriptor"
> value="context://docs/samples/forms/desc_chemicals.xml" />
>        <map:generate  type="serverpages"
> src="docs/samples/forms/form_chemicals.xsp"/>
>        <map:transform src="docs/samples/styles/dbform.xsl"/>
>        <map:serialize />
>      </map:act>
>    </map:match>
> 
> I get the error message in the root log:
> 
> WARN    (2002-03-19) 15:03.20:994   [root    ]
> (/cocoon/docs/samples/forms/form_chemicals)
>  HttpProcessor[8080][4]/CocoonServlet: The resource was not found
> org.apache.cocoon.ResourceNotFoundException:
> No pipeline matched request: /docs/samples/forms/form_chemicals
> 
> The action set and descriptor all exist in the relevant directories,
> and the action set is also
> defined in the relevant sitemap entry.  The Tomcat work directory was
> clean.
> 
> Any clues as to why pattern is not matched?
> 
> Thanks
> Derek
> 
> PS I have tried changing:
> <map:parameter name="descriptor"  value="contex
> to
> <map:parameter name="descriptor"  value="file
> on other advice, but without succcess.
> 
> ---------------------------------------------------------------------
> 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]>



---------------------------------------------------------------------
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]>



---------------------------------------------------------------------
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]>

Reply via email to