Package app

Examples of app.Post


public class Summary extends WizardFrameContent
{
    public WizardActionTarget actionClicked (WizardAction action)
    {
        if ("save".equals(action.getName())) {
            Post post = (Post)getContext();
            PostService.addPost(post);
            return mainPageActionTarget();
        }
        return super.actionClicked(action);
    }
View Full Code Here


{
    public WizardActionTarget actionClicked (WizardAction action)
    {
        Wizard wizard = getFrame().getWizard();
        if (wizard.next == action) {
            Post post = (Post)getContext();
            if (post.isPrivate) {
                return wizard.getFrameWithName("summaryFrame");
            }
        }
        return super.actionClicked(action);
View Full Code Here

TOP

Related Classes of app.Post

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.