Web Connection
Web Control rendering issue
Minor bug in the wwWebTextBox.Render method (in WebControls.prg).
DO CASE
*** TextBox
CASE lcTextMode = "singleline"
lcOutput = lcOutput + [<input type="text" ] + lcBaseTags + [value="] + this.WriteEncodedAttributeString(this.Text)+ [" />]
*** TextArea
CASE lcTExtMode = "multiline"
lcOutput = lcOutput + [<textarea ] + lcBaseTags + [>] + this.Text + [</textarea>] + CRLF
*** Password
CASE lcTextMode = "password"
lcOutput = lcOutput + [<input type="password"] + lcBaseTags + [value="] + this.WriteEncodedAttributeString(this.Text) + [" />]
CASE lcTextMode = "hidden"
lcOutput = lcOutput + [<input type="hidden" ] + lcBaseTags + [value="] + this.WriteEncodedAttributeString(this.Text) + [" />]
There is no trailing space following type="password", resulting in HTML like this:
<input type="password"id="txtPwd"
which in turn results in complaints from my web designer.
Simple enough to add the space - can you do the same so it won't break next time we upgrade?
Thanks
--stein