incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmuer <reto.bachm...@trialox.org>
Subject Re: TypeRenderlet and wildcard mode patterns
Date Thu, 24 Mar 2011 09:12:50 GMT
Hi

The mode is still available via requestProperties.getMode()

Reto

On Wed, Mar 23, 2011 at 5:53 PM, Daniel Spicar <daniel.spicar@trialox.org>wrote:

> Hi all,
>
> How can I get the mode with which a resource is being rendered in a
> TypeRenderlet?
> The old version (Renderlet) passed the mode string in the render function
> as
> an argument. This is no more the case in TypeRenderlet. When I have a mode
> pattern with a wildcard I am interested in the exact string that matched
> the
> pattern. I don't see how this is handled with the new TypeRenderlets.
>
> Daniel
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message