
![]() |
Show Changes |
![]() |
Edit |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
![]() |
Administration Page |
| Search |
History
| 9/22/2008 7:46:28 AM |
| FLWCOM-jwdavidson |
| 7/28/2008 12:35:56 AM |
| 195.2.252.180 |
| 7/28/2008 12:35:33 AM |
| 195.2.252.180 |
| 7/28/2008 12:35:18 AM |
| 195.2.252.180 |
| 7/28/2008 12:35:03 AM |
| 195.2.252.180 |
![]() |
List all versions |
Related Topics
The PluginLib.PluginLibraryContents allows the insertion of a section of XHTML code consisting of javascript and html client-side code into a topic. The code can be set to run automatically by providing an initialization routine and it can be personalized by providing users with details to set up their own versions of variables. This plugin will support anything you may wish, with the exception of updating topic contents, much like a widget in MAC OS X or Yahoo, or an iGoogle gadget. The sample provided is for an implementation of a Traffic Camera insert.
@@OdsWiki3.FleXhtml(namespace.GetTopicInfo("TrafficCamImplementation"),
namespace.GetTopicInfo(GetPersonalization.ToString), "TrafficCamDefault",
"TrafficCamScript", "TrafficCamHTML", "TrafficCamPersonalization",
"specialFirstLoad()")@@
:With: PersonalizationSupportLibrary
The WikiTalk call to FleXhtml has 7 parts to it:
The topic TrafficCamImplementation shows how items 3, 4, 5 and 7 are implemented. PluginLib.TestUser shows the implementation of item 6. It is important when creating the properties that the '[' (opening square bracket) is immediately after the ':' (full colon) of the property name with no spaces, e.g. ":[" the data should start on a new line and the closing square bracket for the property should be on a line by itself. It is possible to use indents in the properties, but it will display as sample code where indented (I do not recommend using spaces or tabs at the start of a line in these properties).
An actual working sample is found at PluginLib.TestTrafficCam
The binary plugin is integrated into FlexWiki by putting an entry into the flexwiki.config file as shown below. The administration section of the wiki has a verification section that provides a message if the plugin loads correctly.
<Plugins>
<Plugin>FleXhtml</Plugin>
</Plugins>
The reference to OdsWiki3 is just the namespace used in the source code for the plugin.
Permalink, Talkback