We should have an agent capability flag for this. See the files in trinidad-impl/src/main/resources/META-INF/agents as well as org.apache.myfaces.trinidadinternal.agent.TrinidadAgent.
The problem with "isPDA()" is that we've lost all context for what feature is really relevant, and no decent way to indicate that some PDA might in fact support the feature, either now or in the future. -- Adam On 8/2/07, Piyush Hari <[EMAIL PROTECTED]> wrote: > Adam, > > You commented the following on my patch for TRINIDAD - 85 > https://issues.apache.org/jira/browse/TRINIDAD-85 : > > /"I'm not fond of the isPDA() check. Please add an agent flag, defaulting > to true, and set it to false for the relevant platforms. I also see a lot > of non-two-space whitespace here." > > /Can you elaborate a bit more on what you are recommending ? What do > you mean by an agent flag ? > > Thanks, > -Piyush >
