01: /*
02: * tableAppClient
03: *
04: * This type of presentation object could be the target of a form's
05: * submit button, process the data, and then decide where to send
06: * the user (back or on to the next page).
07: *
08: * Prozone
09: *
10: */
11:
12: package tableappclient.presentation;
13:
14: import com.lutris.appserver.server.httpPresentation.*;
15:
16: public class RedirectPresentation implements HttpPresentation {
17:
18: /*
19: * There is the only function needed in order to be a presentation object.
20: */
21: public void run(HttpPresentationComms comms) throws Exception {
22: throw new ClientPageRedirectException(comms.request
23: .getAppFileURIPath("WelcomePresentation.po"));
24: }
25:
26: }
|