paul
-
1/27/2010 8:19:30 AM
How are BizForm "macros" resolved
I've created my own version of a repeater control that uses
CMSAbstractDataProperties.LoadTransformation(this, Transformation, false);
To load the correct transformation.
This is working nicely but one thing we are seeing is that BizForm expressions are not being parsed correctly. The user entered:
control:BizFormControl?contactForm (surrounded by 2 percent signs at each side, your forums do process the syntax which is why I can't enter the syntax literally because the post will say "Required form 'contactForm' does not exist." :-)
And it just gets displayed like this on the web page. It seems these are not actually macros, because running CMSContext.CurrentResolved.ResolveMacros on the expression doesn't work either.
My question: what method do I call to make sure the expression gets transformed into an acutal form. Also: where do you recommed calling this method in the ASP.NET lifecyle?
|