home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / WebObjects / WebObjectsDoc_HTML / DynamicElements / HyperlinkEx1.wo / HyperlinkEx1.wos < prev   
Encoding:
Text File  |  1996-01-27  |  502 b   |  12 lines

  1. // Page2 is used by a number of components in these examples.  We need to make 
  2. // sure that there's no residual message on that page, since this example
  3. // doesn't set the message directly, but does display the page.
  4. //
  5. // The willPrepareForRequest:inContext: method is invoked just before a 
  6. // component processes a request.  Here we use it to reset the page 2
  7. // message to nil. 
  8.  
  9. - willPrepareForRequest:request inContext:context {
  10.     [WOApp setResultMessage:@""];  // Clear the status message
  11. }
  12.