hello i got a crazy question kinda...
 
we have an app where we have several different clients that each have their own "playground" within the same set of apps so depending on which group youve logged into, the applications can vary quite dramaticly.  Because switches and settings can only go so far, i was thinking we could store snippets of witango code in the database and then select them for the appropriate group, store it in a var and do a <@var local$Code encoding=metahtml>.  It seems not to want to work and i was wondering if it was because of a licensing issue?
 
Im storing the code with encoding=sql so it can handle quotes and other sql control characters within the string.
 
im selecting it into local$Rule and then doing an <@var local$Rule encoding=metahtml> to get the code to "run".
 
When i try to run it it just spits out the code plaintext without parsing it.  When i look at it in the database, it has < and > instead of &lt and &gt so thats not the problem.
 
When i do a <@var local$Rule> it shows < as &lt and > as &gt
 
when i do a <@var local$Rule encoding=none> it shows the code without parsing it (< as < and > as > but no code being run)
 
when i do a <@var local$Rule encoding=metahtml> it also just shows the code without running it.
 
im pretty sure i must be doing something wrong but cant see what.  Anyone have any idea?

Reply via email to