this seems like such a simple thing, but it's not working. could anybody
please explain to me what's going on here? i'd be most grateful...

* take an otherwise healthy WebScript/ObjC WO4 app named Foo.woa running
on Solaris
* replace DirectAction.m with DirectAction.wos on disk & in the project,
do make/make install
* restart the app

DirectAction.wos looks like this

- defaultAction {
        return [self pageWithName:@"Main"];
}

(exactly what DirectAction.m looked like in its @implementation)

* try to access this with
http://localhost/cgi-bin/WebObjects/Foo.woa/wa/

the result is:

Application: Foo
Error:       NSInvalidArgumentException 
Reason:      *** -[DirectAction _scope]: selector not recognized

is something missing from DirectAction.wos? presumably yes, but i can't
find any examples of DAs implemented in webscript. (c.f. previous gripe
about InfoCenter)

merci.

--
 \7\3\d\e\k\b\8\u\o\x\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\m\a\t\t\.\k\a\n\g\a\s\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
m\a\t\t\@\k\a\n\g\a\s\.\o\r\g\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

Reply via email to