[ https://issues.apache.org/jira/browse/TRINIDAD-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Blake Sullivan resolved TRINIDAD-2176. -------------------------------------- Resolution: Fixed Fix Version/s: 2.0.2-core Resolved in revision 1211067 Removed Beans.isDesignTime() Added RenderingContext.isDesignTime() Replaced internal JDEV-specific capability keys with CAP_VE that contains the name of the visual editor being used > Switch use of Bean.isDesignTime() to use Agent Capabilities > ----------------------------------------------------------- > > Key: TRINIDAD-2176 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2176 > Project: MyFaces Trinidad > Issue Type: Improvement > Components: Archetype > Affects Versions: 2.0.0-core > Reporter: Blake Sullivan > Assignee: Blake Sullivan > Fix For: 2.0.2-core > > Attachments: jira2176_20.patch > > Original Estimate: 48h > Remaining Estimate: 48h > > Trinidad uses the static Beans.isDesignTime() to determine when a particular > request should generate content based differently because the execution is > occurring within a visual editor. The improvement switches almost all of the > calls to use a capability on the Agent making the request to determine > whether this particular request should execute as if inside of a visual > editor. Among other things, this allows a IDE to support both a visual > editor view and a preview. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira