[Freeipa-devel] [PATCH] Clean ipa.js and make it load plugin meta-data over JSON-RPC.

Adam Young ayoung at redhat.com
Tue Aug 10 20:30:47 UTC 2010


On 08/10/2010 03:50 PM, Rob Crittenden wrote:
> Pavel Zuna wrote:
>> What it means?
>> Well, first I removed some development control variables from ipa.js.
>> Namely useSampleData and sizelimit. I moved useSampleData to the top
>> of index.xhtml. This way we won't forget about it when we don't need
>> it anymore. sizelimit has nothing to do in ipa.js and be hardcoded
>> for ALL commands! Some don't have this parameter and could fail.
>>
>> Since ipa_init now loads meta-data over JSON-RPC, we need to wait for
>> it to finish its job. That's why I put a second parameter to ipa_init:
>> on_win. ipa_init will call on_win when all data is loaded properly and
>> we can start building the page.
>>
>> Pavel
>
> The thing about the limit is things are going to change on the backend 
> so that the default isn't in the param but pulled from LDAP at some 
> point. Not sure that makes a difference here.
>
> I guess this relies on your patch #11?
>
> Otherwise this looks ok, ack.
>
> rob
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

So the concept is that for a given collection, we load the meta-data in 
ipa-init, and then that is going to call load-object?






More information about the Freeipa-devel mailing list