Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Problem in webcontrols

$
0
0
Problem in webcontrols
Web Connection 5.0
Problem in webcontrols
Mar. 25, 2013
10:24 am
3QV0MAVB3Show this entire thread in new window
Gratar Image based on email address
From:Michel
To:All
Hello,

I believe there is a small bug in the library WebControls (line 2277)
the original code is

************************************************************************ * wwWebRadioButtonList :: Render **************************************** *** Function: *** Assume: *** Pass: *** Return: ************************************************************************ . . .IFLOWER(this.RepeatDirection) = "vertical"this.IsInputControl = .F. lcOutput = "<table " + this.WriteBaseTags() + ">" + CRLF<<u>>this.InputControl = .t.<</u>>FOR lnX = 1 TOthis.Items.Count lcOutput = lcOutput + "<tr><td>" + ;this.RenderSingleRadio(this.Items.aItems(lnX,2),lnX) + "</td></tr>" +CRLFENDFOR lcOutput = lcOutput + "</table>"ELSEthis.IsInputControl = .F. lcOutput = "<div " + this.WriteBaseTags() + ">" + CRLFthis.IsInputControl = .T.

and correct code would not it?

IFLOWER(this.RepeatDirection) = "vertical"this.IsInputControl = .F. lcOutput = "<table " + this.WriteBaseTags() + ">" + CRLF<<u>><<b>>this.IsInputControl = .t.<</b>><</u>>FOR lnX = 1 TOthis.Items.Count lcOutput = lcOutput + "<tr><td>" + ;this.RenderSingleRadio(this.Items.aItems(lnX,2),lnX) + "</td></tr>" +CRLFENDFOR lcOutput = lcOutput + "</table>"ELSEthis.IsInputControl = .F. lcOutput = "<div " + this.WriteBaseTags() + ">" + CRLFthis.IsInputControl = .T.

Thanks,
Michel

Michel


Viewing all articles
Browse latest Browse all 10393

Trending Articles