Famcy/_util_/_fwidget.py
def render(self):
		"""
		The main render flow is as
		follow. 
		1. Check permission
		2. preload function
		3. render inner
		4. start post load thread
		5. return render inner stuffs
		"""
		self.preload()

		self.body = self.render_inner()
		if self.js_after_func_name != "" and self.js_after_func_name:
			script = Famcy.script()
			script.innerHTML = self.js_after_func_name + '("' + self.id + '", ' + json.dumps(self.js_after_func_dict) + ')'
			self.body.addElement(script)
		
		# Set daemon to true to ensure thread dies when main thread dies
		post_thread = FamcyThread(target=self.postload, daemon=True)
		post_thread.start()
		return self.body

		The main render flow is as
		follow. 
		1. Check permission
		2. preload function
		3. render inner
		4. start post load thread
		5. return render inner stuffs
		
The main render flow is as
follow.
1. Check permission
2. preload function
3. render inner
4. start post load thread
5. return render inner stuffs
The main render flow is as follow . 1 . Check permission 2 . preload function 3 . render inner 4 . start post load thread 5 . return render inner stuffs
def render(self):
		self.preload()
		self.body = self.render_inner()
		if self.js_after_func_name != "" and self.js_after_func_name:
			script = Famcy.script()
			script.innerHTML = self.js_after_func_name + '("' + self.id + '", ' + json.dumps(self.js_after_func_dict) + ')'
			self.body.addElement(script)
		post_thread = FamcyThread(target=self.postload, daemon=True)
		post_thread.start()
		return self.body
def render ( self ) : self . preload ( ) self . body = self . render_inner ( ) if self . js_after_func_name != "" and self . js_after_func_name : script = Famcy . script ( ) script . innerHTML = self . js_after_func_name + '("' + self . id + '", ' + json . dumps ( self . js_after_func_dict ) + ')' self . body . addElement ( script ) post_thread = FamcyThread ( target = self . postload , daemon = True ) post_thread . start ( ) return self . body
The main render flow is as
follow.
The main render flow is as follow .
"""
		The main render flow is as
		follow. 
		1. Check permission
		2. preload function
		3. render inner
		4. start post load thread
		5. return render inner stuffs
		""" # Set daemon to true to ensure thread dies when main thread dies
self