Updated code, get rid of obsolete feature calls in libraries and examples

This commit is contained in:
jvelilla
2017-04-13 16:48:17 -03:00
parent d4d988e532
commit 5d9752f257
29 changed files with 74 additions and 78 deletions

View File

@@ -42,7 +42,7 @@ feature -- Element change
across
options as o
loop
if o.item.is_same_value (v) then
if o.item.is_same_value (v.to_string_32) then
l_found := True
o.item.set_is_selected (True)
else
@@ -50,7 +50,7 @@ feature -- Element change
end
end
if not l_found then
create opt.make (v, Void)
create opt.make (v.to_string_32, Void)
opt.set_is_selected (True)
add_option (opt)
end

View File

@@ -20,7 +20,7 @@ feature {NONE} -- Initialization
do
value := a_value
if a_text = Void then
text := a_value
text := a_value.to_string_8
else
text := a_text
end

View File

@@ -110,26 +110,26 @@ feature {NONE} -- Conversion
--formaction
if attached formaction as l_formaction then
a_target.append (" formaction=%"")
a_target.append (l_formaction)
a_target.append (l_formaction.to_string_8)
a_target.append_character ('%"')
end
--formenctype
if attached formenctype as l_enctype then
a_target.append (" formenctype=%"")
a_target.append (l_enctype)
a_target.append (l_enctype.to_string_8)
a_target.append_character ('%"')
end
-- formmethod
if attached formmethod as l_method then
a_target.append (" formmethod=%"")
a_target.append (l_method)
a_target.append (l_method.to_string_8)
a_target.append_character ('%"')
end
-- formmethod
if attached formtarget as l_target then
a_target.append (" formtarget=%"")
a_target.append (l_target)
a_target.append (l_target.to_string_8)
a_target.append_character ('%"')
end
end