You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by Reto Bachmann-Gmuer <re...@trialox.org> on 2010/01/13 19:05:18 UTC

CLEREZZA-72: language list

Hi Tsuy

I'm reviewing CLEREZZA-72 and I was wondering if you considered adding
the languages to the usernode and making them globally available?

Reto

Re: CLEREZZA-72: language list

Posted by Reto Bachmann-Gmuer <re...@trialox.org>.
my fault, its called context node (but is mainly intended to have
informartion realted to the user rather than to the requested resource
attached).

To add information to that node you have to create a sevice exposing
org.apache.clerezza.platform.typerendering.UserContextProvider and the
you can access the data from every renderlet, for instance in ssp
instead of res you access context (e.g. something like
{context/platform("config")/platorm("languages")}).


On Wed, Jan 13, 2010 at 9:36 PM, Tsuyoshi Ito <ts...@trialox.org> wrote:
>
> On Jan 13, 2010, at 7:05 PM, Reto Bachmann-Gmuer wrote:
>
>> if you considered adding
>> the languages to the usernode and making them globally available?
>
> No, I haven't considered that (haven't heard from a usernode or forgot it).
>
> --trialox ag--------------------------------------
>
> Tsuyoshi Ito
> Binzmuehlestrasse 14
> CH-8050 Zürich
> Tel. +41-44 635 7577
> Fax +41-44 635 7574
> URL: http://trialox.org
>
>
>
>
>