Neat idea, but did you mean this (added a "static" and made setKey() a 
non-static method)...

    public static void activate(IRequestCycle cycle, String accountKey) 
    throws ValidationException {
        AccountEditPage nextPage = 
            (AccountEditPage) cycle.getPage("AccountEditPage");
        try {
            nextPage.setKey(accountKey);

            // Access business layer, build page, etc, then activate...

            cycle.activate(nextPage);
        }
        catch (ValidationException e) {
            throw e;
        }
        catch (Exception e) {
            throw new ApplicationRuntimeException(e);
        }
    }

Geoff



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to