Do not use {INDEXABLE_ITERATION_CURSOR}.is_last since it is added from EiffelStudio v7.2
This commit is contained in:
@@ -205,21 +205,24 @@ feature {WSF_RESPONSE} -- Output
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
if meths /= Void then
|
if meths /= Void then
|
||||||
s.append (" [ ")
|
s.append (" [")
|
||||||
across
|
across
|
||||||
meths as rq
|
meths as rq
|
||||||
loop
|
loop
|
||||||
|
s.append (" ")
|
||||||
if l_url /= Void and then rq.item.is_case_insensitive_equal ("GET") then
|
if l_url /= Void and then rq.item.is_case_insensitive_equal ("GET") then
|
||||||
s.append ("<a href=%"" + l_base_url + l_url + "%">" + rq.item + "</a>")
|
s.append ("<a href=%"" + l_base_url + l_url + "%">" + rq.item + "</a>")
|
||||||
else
|
else
|
||||||
s.append (rq.item)
|
s.append (rq.item)
|
||||||
end
|
end
|
||||||
if not rq.is_last then
|
s.append (",")
|
||||||
s.append (",")
|
|
||||||
end
|
|
||||||
s.append (" ")
|
|
||||||
end
|
end
|
||||||
s.append ("]")
|
if s[s.count] = ',' then
|
||||||
|
s.put (' ', s.count) -- Remove last ','
|
||||||
|
else
|
||||||
|
s.append_character (' ')
|
||||||
|
end
|
||||||
|
s.append_character (']')
|
||||||
end
|
end
|
||||||
|
|
||||||
hdl := m.handler
|
hdl := m.handler
|
||||||
|
|||||||
Reference in New Issue
Block a user