Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Event Registry for dynamically placed callouts?
System
Hey guys, got a bit of a tough one (though I could just be missing something obvious).
I have need to provide my own internal linking interface which uses the sitemap rather than physical .page files. I've created the necessary JSP/Servlet and integrated it with tinyMCE (hair pulling notwithstanding).
My problem is in using this browser outside of tinyMCE. I know how to open the dialog and retrieve the information. However, once I've got the path, I need to set the value on the related text item.
I've implemented a snippet system using inline, and I must be able to use the callout (or dialog type="button") in any DCT. Both of these systems clash with the limited getItem() 'XPath' system when it comes to referencing the text item.
If I use a callout, I have to register the onCallout event for each item, though there could be many, and they could be in different places.
If I use a dialog, and put it in the same container as the related text item, I could use relative pathing, but the dialog instance doesn't allow you to pass a reference to the calling item to the javascript function, so I'm stuck there.
Has anyone ever overcome a similar issue?
Find more posts tagged with
Comments
There are no comments yet