Hi John. If I understand what you want to do, then I think that the
IWikiApplication[string] property bag might be the way to go.

It is the stuff that I add recently to get arbitrary web (or any app
front end) settings to the core. If you take a look at the list and/or
svn and look for the Alternate Stylesheet work I did, you can see how
to use it. I tried to make the code comments stand alone in how it
works. Let me know if you have any trouble with it.

Basically, somewhere in the webapp you will set a property on the
FlexWikiApplication and then the engine can know to look for that
property to get handle the web-specific behavior in as agnostic way
possible. At least that is the intent.

On 9/21/07, John Davidson <[EMAIL PROTECTED]> wrote:
> The XslTransform behavior is broken in .Net 2.0 because it needs an input
> parameter EnableScripts that was not required in .Net 1.1
>
> I can easily fix the classic behavior code so that XslTransform will again
> work by supplying the required parameter in the call.
>
> The change in .Net 2.0 is to handle potential security concerns with
> processing external XML streams. The Enable Scripts parameter means that
> XslTransforms must now be turned on explicitly rather than being on by
> default. FlexWiki should retain that capability.
>
> what I want is to place a configuration setting 'DisableXslTransforms' in
> flexwiki.config where a false value will turn on XslTransforms and anything
> else (true, empty, not present) will disable XslTransforms throughout the
> wiki.
>
> The problem is that ClassisBehavior is in the Core and the
> ApplicationSettings are in the WebApplication. It would be necessary ,
> AFAIKS, to add a reference to  the WebApp into the Core, but I don't  want
> to do this as it would  create a dependency that is not desirable. How else
> can this be done? Or is it not possible?
>
> John Davidson
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to