Files
EWF/library/server/wsf_html/webcontrol/wsf_basic_control.e
YNH Webdev 81952e7898 Merge branch 'widget_grid' into widget
Conflicts:
	examples/widgetapp/widget.coffee
	examples/widgetapp/widget.js
2013-09-15 14:04:45 +02:00

58 lines
711 B
Plaintext

note
description: "Summary description for {WSF_BASIC_CONTROL}."
author: ""
date: "$Date$"
revision: "$Revision$"
class
WSF_BASIC_CONTROL
inherit
WSF_STATELESS_CONTROL
create
make_control,
make_with_body
feature {NONE} -- Initialization
attributes: STRING
content: STRING
make_control (t: STRING)
do
make (t)
attributes := ""
content := ""
end
make_with_body (t,attr,a_content: STRING)
do
make (t)
attributes := attr
content := a_content
end
feature -- Rendering
render: STRING
do
Result := render_tag (content, attributes)
end
feature
set_attributes (a: STRING)
do
attributes := a
end
set_content (c: STRING)
do
content := c
end
end