Package net.sourceforge.stripes.action

Examples of net.sourceforge.stripes.action.ForwardResolution


     * Updates the card details of the source page with the card deletion form, using AJAX
     * @return a forward resolution which displays the delete card form in the source page
     */
    public Resolution ajaxView() {
        this.card = cardService.getCardDetails(cardId, getContext().getUserInformation().getEncryptionKey());
        return new ForwardResolution("/cards/ajaxDeleteCard.jsp");
    }
View Full Code Here


     * the default card details section, and a success message
     */
    public Resolution ajaxDeleteCard() {
        doDeleteCard();
        loadCards();
        return new ForwardResolution("/cards/ajaxCards.jsp");
    }
View Full Code Here

    @DefaultHandler
    @DontValidate
    public Resolution view() {
        loadCards();
        loadCardDetails();
        return new ForwardResolution("/cards/modifyCard.jsp");
    }
View Full Code Here

     * containing the modify card form.
     */
    @DontValidate
    public Resolution ajaxView() {
        loadCardDetails();
        return new ForwardResolution("/cards/ajaxModifyCard.jsp");
    }
View Full Code Here

     * and the default card details section, and a success message
     */
    public Resolution ajaxModifyCard() {
        doModifyCard();
        loadCards();
        return new ForwardResolution("/cards/ajaxCards.jsp");
    }
View Full Code Here

        if ("modifyCard".equals(eventName)) {
            loadCards();
            return null;
        }
        else if ("ajaxModifyCard".equals(eventName)) {
            return new ForwardResolution("/cards/ajaxModifyCard.jsp");
        }
        return null;
    }
View Full Code Here

     * @return a forward resolution to the login history page
     */
    @DefaultHandler
    public Resolution view() {
        history = loginHistoryService.getLoginHistory(getContext().getUserInformation().getUserId());
        return new ForwardResolution("/loginhistory/loginHistory.jsp");
    }
View Full Code Here

     */
    @DefaultHandler
    @DontBind
    public Resolution view() {
        loadPreferences();
        return new ForwardResolution("/preferences/changePasswordGenerationPreferences.jsp");
    }
View Full Code Here

     * change password generation preferences form
     */
    @DontBind
    public Resolution ajaxView() {
        loadPreferences();
        return new ForwardResolution("/preferences/ajaxChangePasswordGenerationPreferences.jsp");
    }
View Full Code Here

     * @return a forward resolution which updates the preferences page with a success message
     * and a clean preferences page
     */
    public Resolution ajaxChange() {
        doChange();
        return new ForwardResolution("/preferences/ajaxPreferences.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.