Apple WebObjects 3.5 User Manual
Page 217

217
Index
stringWithContentsOfFile:
method 190–191, 193
stringWithFormat: method 192
stringWithString: method 192
subclass, definition 166
substringFromIndex: method 194
substringToIndex: method 193
super 178–179
superclass, definition 166
synchronization of components 85,
102–104
client-side 85–86
syntax, WebScript 166–181
modern 179–181
T
takeValuesFromRequest:inContext:
method 51, 78–79
declaration 70
examples 51
teminate method 135
template 82–83
terminateAfterTimeInterval:
method 155
terminating application 155–156
time 206–209
timeout for session 134–135
timeOut method 134–135
trace methods 59–60
U
URL
request, See request URL
requesting a page directly in 53
startup 25–26
V
variables 166–170
accessing 171–172
application 23
assigning 168–170
scope 167–168
session 23
W
web browser, See browser
WebApplication, See WOApplication
WebObjects adaptor, See adaptor
WebObjects application, See application
WebObjects architecture 65–87
WebObjects Builder
creating reusable components 97
data types 175
WebObjects framework 65–87
WebScript 165–186
%@ 59
@end 182
@implementation 182
@interface 181
assignment statement 168–170
categories 182–183
class object 172–173
constants 169–170
creating objects 173–174
data types 174–175
debugging 57, 58–60, 60–61
Foundation classes, using in 189–209
instantiating 173–174
messages 171–174
methods
automatic 171–172
class 172–173
invoking 171–174
modern syntax 180
nesting 171
writing 170–171, 180
nil 178–179
and Objective-C 183–186
operators 176–178
reserved words 178
self 178–179
statements 171–174, 175
modern syntax 180
static typing 174–175
super 178–179
syntax 166–181
modern 179–181
variables 166–170
accessing 171–172
scope 167–168
WebSession, See WOSession
.wo directory 19, 20–22, 77
See also components
.woa directory 24–25
See also application
WOAdaptor 65–66
See also adaptor
instantiating 72
registerForEvents method 73
request-response loop 74
WOApplet 39
WOApplication 23–24, 66
See also application
appendToResponse:inContext:
method 81
createSession method 75
handleException: method 154
handlePageRestorationError
method 154
handleRequest: method 66, 74
handleSessionCreationError
method 154
handleSessionRestorationError
method 154
init method 47–48
instantiating 72
invokeActionForRequest:inContext:
method 79
pageCacheSize method 136
pageWithName: method 52
overriding 138–139
refuseNewSessions: method 155
run method 73
setCachingEnabled: method 156
setDistributionEnabled: 130
setMinimumActiveSessionsCount:
method 155
setPageCacheSize: method 136
setPageRefreshOnBacktrackEnabled:
method 139
setSessionStore: method 123
setTimeOut: method 155
sleep method 82
state 113–120
takeValuesFromRequest:inContext:
method 78