Hi Chuck,

On 12 Jul 2016, at 1:25 AM, Chuck Hill <[email protected]> wrote:

> Just override invokeAction() and if the result is null then no action matched 
> the URL.  That is your queue to set a conditional boolean to cause the 
> informational message to be shown.

Override invokeAction() in the page-level component? When I do this:

        @Override
        public WOActionResults invokeAction(WORequest request, WOContext 
context) {
                WOActionResults result = super.invokeAction(request, context);
                System.out.println("invokeAction: result = " + result);
                if (result == null) {
                        // Do something...
                }
                return result;
        }

result comes back as an instance of the page component when the action method 
is not invoked, not null. Any clues?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to