Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 90641 invoked from network); 26 Nov 2010 23:55:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 23:55:39 -0000 Received: (qmail 45941 invoked by uid 500); 26 Nov 2010 23:55:38 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 45871 invoked by uid 500); 26 Nov 2010 23:55:38 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 45832 invoked by uid 99); 26 Nov 2010 23:55:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 23:55:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 23:55:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAQNtEsw026320 for ; Fri, 26 Nov 2010 23:55:14 GMT Message-ID: <10005841.329351290815714758.JavaMail.jira@thor> Date: Fri, 26 Nov 2010 18:55:14 -0500 (EST) From: "Gerhard Petracek (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (EXTCDI-86) alternative approach for @PageBean MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org alternative approach for @PageBean ---------------------------------- Key: EXTCDI-86 URL: https://issues.apache.org/jira/browse/EXTCDI-86 Project: MyFaces CODI Issue Type: Improvement Components: JEE-JSF12-Module, JEE-JSF20-Module Affects Versions: 0.9.0 Reporter: Gerhard Petracek within type-safe view configs it's possible to define page-beans via @PageBean. so there is a central place for all page-bean definitions. if users would like to define it directly at the bean, it should be possible to use the existing @View annotation for the definition. attention: @View is an interceptor - in case of a class level use it shouldn't be used as interceptor. example: @View(DemoPage.class) @Model public class DemoPageBean { @PreRenderView protected void preRenderView() { //... } } ... means - as soon as the page defined by DemoPage.class should be used the methods with the view-controller annotations should be invoked (at the corresponding time). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.