[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openidm
Subject: Re: [OpenIDM] Extending the UI
From: Lionel Schwarz <lionel.schwarz () in2p3 ! fr>
Date: 2015-02-20 11:22:15
Message-ID: 54E718E7.4060108 () in2p3 ! fr
[Download RAW message or body]
OK I've found what I needed:
{{#with user}}
<ul>
{{#each values}}
<li>value:{{this}}</li>
{{/each}}
</ul>
{{/with}}
Thanks anyway
Lionel
Le 20/02/2015 11:16, Lionel Schwarz a =E9crit :
> Hi Matthias,
> Indeed, it's like roles. I could have taken this as example:
> <ul>
> {{#each roles}}
> <li>{{this}}</li>
> {{/each}}
> </ul>
>
> What do you mean by sample attribute?
>
> Lionel
>
> Le 18/02/2015 19:13, Matthias Tristl a =E9crit :
>> If I understand your question correctly it is about the same as the diff=
erent roles a user has. Can't you use that as a sample attribute?
>>
>> Matthias
>>
>>
>>
>> Matthias Tristl : ForgeRock INC
>> e: matthias.tristl@forgerock.com <mailto:matthias.tristl@forgerock.com>
>> t: +47 47707662
>> w: forgerock.com <http://forgerock.com>
>>
>> On Wed, Feb 18, 2015 at 6:25 PM, Lionel Schwarz <lionel.schwarz@in2p3.fr=
<mailto:lionel.schwarz@in2p3.fr>> wrote:
>>
>> Hi everyone,
>> I'm trying to extend the 3.2.0 UI by overriding the template AdminUs=
erProfileTemplate.html.
>> I'm not able to find out how to print array values, considering my m=
anaged user has the following attributes:
>> "values" : [
>> "value1",
>> "value2"
>> ]
>>
>> I thought I could list all values this way:
>> <ul>
>> {{#each values}}
>> <li>value:{{this}}</li>
>> {{/each}}
>> </ul>
>>
>> But the result is empty. It seems the handlebars context is not the =
user itself. How can I access to the user?
>> Is there a documentation on how to customize the UI?
>>
>> Lionel
>> _________________________________________________
>> OpenIDM mailing list
>> OpenIDM@forgerock.org <mailto:OpenIDM@forgerock.org>
>> https://lists.forgerock.org/__mailman/listinfo/openidm <https://list=
s.forgerock.org/mailman/listinfo/openidm>
>>
>>
>>
>>
>> _______________________________________________
>> OpenIDM mailing list
>> OpenIDM@forgerock.org
>> https://lists.forgerock.org/mailman/listinfo/openidm
>>
>
> _______________________________________________
> OpenIDM mailing list
> OpenIDM@forgerock.org
> https://lists.forgerock.org/mailman/listinfo/openidm
_______________________________________________
OpenIDM mailing list
OpenIDM@forgerock.org
https://lists.forgerock.org/mailman/listinfo/openidm
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic