OK, i've made some progress using Alex's code as example. I have a couple of problem though. It seems that i cannot make the "magnifier position" adjuster work. This is a repeating selector adjuster like the "magnifier follows" adjuster. If i uncomment this block,
https://github.com/chrispetsos/prefsEditors/blob/master/src/shared/adjusters/js/IncreaseSizeAdjuster.js#L173-L185
all the markup below that element disappears. Could it be that it merges the repeating selector stuff? The thing is that the "magnifier position" adjuster does not work even if i remove the "magnifier follows" expander. These are the files where i declare those two panels,
https://github.com/chrispetsos/prefsEditors/blob/master/src/shared/adjusters/js/MagnifierFollowsAdjuster.js
https://github.com/chrispetsos/prefsEditors/blob/master/src/shared/adjusters/js/MagnifierPositionAdjuster.js

How would i go around this?

Also i had to comment out all my plusMinusAdjuster code,
https://github.com/chrispetsos/prefsEditors/blob/master/src/shared/adjusters/js/PlusMinusAdjuster.js
because it operated on a "model.value" path for the preference. I realized that the cursor size adjuster, which is the UIO built-in slider component, does not operate correctly if it isn't bound to a "model.value" path so i had conflicts there during merging
https://github.com/chrispetsos/prefsEditors/blob/master/src/shared/adjusters/js/CursorSizeAdjuster.js#L22

We will also have to decide at a certain point if we are going to use my version of Alex's version of this +/- adjuster...

Phewww, that merging of adjusters gave me a really hard time. It looks like nothing is reusable this way since many parts have to be declared differently due to the merging process. That "composite panel that can be used to merge multiple panels together into
one" that you mentioned in another email will be really helpful!

Date: Mon, 21 Oct 2013 06:16:05 -0700
From: notifications@github.com
To: prefsEditors@noreply.github.com
CC: chrispetsos@msn.com
Subject: Re: [prefsEditors] GPII-187, GPII-188, GPII-225, GPII-227 contributions (#7)

In src/pmt/js/PMT.js:

> +                },
> +                resetButtonText: {
> +                    expander: {
> +                        func: "gpii.uiOptions.pmt.lookupMsg",
> +                        args: ["{uiOptionsLoader}.msgBundle", "resetButtonText"]
> +                    }
> +                },
> +                cancelButtonText: {
> +                    expander: {
> +                        func: "gpii.uiOptions.pmt.lookupMsg",
> +                        args: ["{uiOptionsLoader}.msgBundle", "cancelButtonText"]
> +                    }
> +                }
> +            },
> +            components: {
> +                increaseSizeExtraAdjustersComponent: {

This the single panel that Alex is using https://github.com/radmanovi4/prefsEditors/blob/divide-and-conquer/src/shared/adjusters/js/speakTextCollectivePanel.js. You can see that it uses grade merging to combine all the individual panels together into one, but that he had to create a single prototree since the prototrees don't merge.


So in your case, it looks like you have the gradeNames, but your protoTree only has one entry. Also, you'll need to have a single template file that has the parts for all of the markup that is to be rendered. Since you are already going to be using the renderer you should switch from using jQuery to the renderer to set text.


—
Reply to this email directly or view it on GitHub.