If an error was passed along ActionSupport will change
the view to INPUT so you will need an input view. If
that is not the fix, zip me up something and I'll take
a look.

-Matt

On Fri, 14 June 2002, "Patrick Lightbody" wrote

> 
> Matt,
> This doesn't appear to be working for cases such as
the follow (which I used
> extensively before action chaining, and i thought it
would still work now
> too, but maybe not):
> 
> Details.action=paws.Details
> Details.success=details.jsp
> 
> EditMetadata.action=paws.metadata.EditMetadata
> EditMetadata.error=edit.jsp
> EditMetadata.success=Details.action
> 
> EditMetadata and Details both extends
AbstractPAWSAction, which looks like
> this (get/set for the following):
> 
> id
> title
> language
> creator
> ...etc
> 
> EditMetadata and Details both don't have any extra
properties worth
> mentioning in this example. Now
EditMetadata.doExecute() is called and
> returns SUCCESS, but then the browser gets a blank
page at
> http://localhost/paws/csh/EditMetadata.action and the
console shows this
> error:
> 
> java.lang.IllegalArgumentException: No error view
found for action Details
>         at
>
webwork.dispatcher.ConfigurationViewMapping.getView(ConfigurationViewMapping
> .java:87)
>         at
>
webwork.dispatcher.ConfigurationViewMapping.getView(ConfigurationViewMapping
> .java:85)
>         at
>
webwork.dispatcher.CachingViewMapping.getView(CachingViewMapping.java:47)
>         at
>
webwork.dispatcher.DefaultViewMapping.getView(DefaultViewMapping.java:35)
>         at
>
webwork.dispatcher.ServletDispatcher.getView(ServletDispatcher.java:336)
>         at
>
webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:258)
> 
> I added "Details.error=details.jsp" and instead of
getting the error, I got
> returned to details.jsp just fine, except that all
the properties were null
> so errors were all over the place. Any idea what's
going on here?
> 
> -Pat
> 
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, June 13, 2002 10:26 AM
> Subject: [Webwork-devel] action chaining
> 
> 
> > I implemented a preliminary version of action
chaining.
> > It is available in CVS with a simple test case. This
> > has not been extensively tested so *beware*. I'm
> > looking for early testers.
> >
> > The basic logic is the following:
> >
> > 1. Setup your chain in your view mapping.
> > 2. The dispatcher will walk the chain as long as
each
> > action returns another alias action. This will
continue
> > until a non-action, usually a view, is returned.
> > 3. Each action will first be set via the context and
> > then the previous action's attributes will be
copied to
> > the current action if applicable.
> >
> > Enjoy!
> >
> > -Matt
> >
> >
> >
> >
_______________________________________________________________
> >
> > Don't miss the 2002 Sprint PCS Application
Developer's Conference
> > August 25-28 in Las Vegas -
>
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> >
> > _______________________________________________
> > Webwork-devel mailing list
> > [EMAIL PROTECTED]
> >
https://lists.sourceforge.net/lists/listinfo/webwork-devel
> >
> 
>
_______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application
Developer's Conference
> August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> Webwork-devel mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/webwork-devel



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to