Package net.sourceforge.stripes.action

Examples of net.sourceforge.stripes.action.ForwardResolution


     * Displays the destroy account page
     * @return a forward resolution to the destroy account page
     */
    @DefaultHandler
    public Resolution view() {
        return new ForwardResolution("/account/destroyAccount.jsp");
    }
View Full Code Here


     */
    @DefaultHandler
    public Resolution view() {
        loadCards();
        this.card = cardService.getCardDetails(cardId, getContext().getUserInformation().getEncryptionKey());
        return new ForwardResolution("/cards/cardDetails.jsp");
    }
View Full Code Here

     * @return a forward resolution which updates the source page with a card details
     * section displaying the card details
     */
    public Resolution ajaxView() {
        this.card = cardService.getCardDetails(cardId, getContext().getUserInformation().getEncryptionKey());
        return new ForwardResolution("/cards/ajaxCardDetails.jsp");
    }
View Full Code Here

     * @return a forward resolution to the create account page
     */
    @DefaultHandler
    @DontValidate
    public Resolution view() {
        return new ForwardResolution("/account/createAccount.jsp");
    }
View Full Code Here

     * @return a forward resolution to the fragment page
     */
    @DontValidate
    public Resolution ajaxGetUserIdAvailability() {
        this.userIdAvailable = !accountService.accountExists(this.userId);
        return new ForwardResolution("/account/_userIdAvailability.jsp");
    }
View Full Code Here

     * Cancels using AJAX
     * @return a forward resolution which redisplays the default card details section
     */
    @DontBind
    public Resolution ajaxCancel() {
        return new ForwardResolution("/cards/ajaxEmptyCardDetails.jsp");
    }
View Full Code Here

     * (change master password, destroy account)
     * @return a forward resolution to the account page
     */
    @DefaultHandler
    public Resolution view() {
        return new ForwardResolution("/account/account.jsp");
    }
View Full Code Here

        catch (FavIconException e) {
            getContext().getValidationErrors().addGlobalError(
                new ScopedLocalizableError(AbstractEditCardActionBean.class.getName(),
                                           "errorWhileFetchingIcon"));
        }
        return new ForwardResolution("/cards/_icon.jsp");
    }
View Full Code Here

     * @return a forward resolution which dynamically updates the source page with the password
     * generation form
     */
    @DontValidate
    public Resolution ajaxGetPasswordGenerationForm() {
        return new ForwardResolution("/cards/ajaxGeneratePassword.jsp");
    }
View Full Code Here

     */
    @DefaultHandler
    public Resolution view() {
        loadCards();
        this.card = cardService.getCardDetails(cardId, getContext().getUserInformation().getEncryptionKey());
        return new ForwardResolution("/cards/deleteCard.jsp");
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.stripes.action.ForwardResolution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.