> perhaps there is a > way that the rendering layer or application context understands when it is a > desktop or not and can do different things.
Not yet, but there is a ticket for that as well: https://issues.apache.org/jira/browse/PIVOT-368 However, when possible, it is best to try to avoid introducing a hard dependency on a particular application context, because that make an app less portable.
