Merge branch 'widget' of github.com:ynh/EWF into widget

This commit is contained in:
Severin Münger
2013-09-05 15:08:24 +02:00

View File

@@ -72,6 +72,15 @@ feature --EVENT HANDLING
end
feature
render_tag(body,attributes:STRING):STRING
do
Result:="<"+tag_name+" data-name=%"" + control_name + "%" data-type=%""+generator+"%" "+attributes
if not body.is_empty then
Result:= Result + " />"
else
Result:= Result + " >" + body + "</"+tag_name+">"
end
end
render: STRING
-- Return html representaion of control