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
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