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);
}