posted 13 years ago
To clarify, there are cases where I DON'T HAVE an action. For example, I may want to access a secure image upload form, but that's so simple that I don't need an action. However, I still want it to be secure. So I'm trying to intercept all accesses to "/secure" that DON'T HAVE an action. Normally they would just pass right through but I'm trying to get them intercepted. Obviously, if there was an action the interceptor would get triggered. And my wildcard matching worked, ie, all my navigations to places under "/secure" that don't have a backing action get intercepted now. However, when the .invoke method is called in the interceptor, it gives me all those errors. I thought maybe it was because, you can't call invoke if you don't have a backing action class, so I made one to act as just an empty class for all of the accesses to "/secure/etc." that don't have their own actions. This didn't work either. I'm still getting errors AND the resource is always unavailable.
I don't think what I'm doing is that advanced. I'm surprised no one has seen this before.