FLUID-4525: Update of simplifying fat panel
Li, Cindy
cli at ocad.ca
Tue Nov 1 15:01:46 UTC 2011
Hi Antranig,
I'm switching to work on AContent and AChecker projects for a couple of weeks. Michelle hopes that you can take over FLUID-4525, which is why I'm wrapping up here with more updates.
1. framework enhancement to add a new renderer option for jQuery injection
I've created jira 4530 (http://issues.fluidproject.org/browse/FLUID-4530) for this issue but haven't got it working.
I was trying to find the way to pass the new renderer option and the existing renderOptions.document, which is the iFrame DOM object, into changeApplier where both options are used to perform the modelChanged listener functions. Unfortunately, no success yet.
2. Another part of code I wanna call your attention is,
https://github.com/cindyli/infusion/blob/FLUID-4525/src/webapp/components/uiOptions/js/UIOptions.js#L280
This line has been commented out because the munged option "prefix" is now being used twice for the location of iframe source html and UIO templates.
https://github.com/cindyli/infusion/blob/FLUID-4525/src/webapp/components/uiOptions/js/FatPanelUIOptions.js#L183
& line 187
Once the rendering of iframe and UIO interface are combined into one component, this double usage of "prefix" can be thrown out and UIOptions.js#L280 could be put back.
That's all for now. The branch with the latest code: https://github.com/cindyli/infusion/tree/FLUID-4525
Let me know if any question. Thanks.
Cindy
On 2011-10-27, at 9:40 AM, Li, Cindy wrote:
> Thanks for recalling what you'd experienced. Hopefully we could come up with a solution this time around. :)
>
> Cindy
>
> On 2011-10-27, at 9:29 AM, Justin Obara wrote:
>
>> Hi Cindy,
>>
>> I had this problem when we were working UIO for 1.4 and was trying to implement a similar strategy. I'm trying to remember what I had discovered. I think it was something to do with events being bound to the wrong document. I didn't make it to a solution before we switched to the two world strategy though.
>>
>> Hope that helps a bit
>> Justin
>> On 2011-10-26, at 5:17 PM, Li, Cindy wrote:
>>
>>> In the meantime I will be working on the slider issue which is fairly interesting that the slider handle is not slidable in the iFrame but if I click on the handle and move the mouse cursor out of the iFrame into the main page, the handle is back to slidable. This prompts me like a kind of js detector is sort of in action at sliding which is missing from the iFrame. This detector thing however is pretty bizarre.
>>
>
> _______________________________________________________
> fluid-work mailing list - fluid-work at fluidproject.org
> To unsubscribe, change settings or access archives,
> see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work
More information about the fluid-work
mailing list