Files
EWF/library/server/wsf_html/webcontrol/wsf_basic_control.e
Jocelyn Fiat 48f5cb78d5 Minor changes
- using http_client library instead of libcurl directly
 - using implicit conversion to JSON_STRING to improve code readability
 - use ARRAYED_LIST instead of LINKED_LIST .. for performance.
 - cosmetic .. but still a lot of feature clauses are missing, comments, assertions ...
2013-09-20 10:27:00 +02:00

58 lines
713 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
make_control (t: STRING)
do
make_with_body (t, "", "")
end
make_with_body (t,attr,a_content: STRING)
do
make (t)
attributes := attr
content := a_content
end
feature -- Access
attributes: STRING
content: STRING
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