Dear Ari,
With latest FWH 22.10 (also available on FWH 22.06) you can do oWindow:Html() or
oDialog:Html() and FWH writes the HTML for you
Not all controls are available yet, but you can see the way we are implementing it in FWH. Look for Method Html() in each class.