Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PString PHTTPRadioField::GetHTMLInput ( const PString input ) const [virtual]

Convert the field input to HTML for inclusion into the HTTP page.

Reimplemented from PHTTPField.

Definition at line 1626 of file httpform.cxx.

References PString::Mid().

{
  PString inval;
  PINDEX before, after;
  if (FindInputValue(input, before, after))
    inval = input(before+1, after-1);
  else
    inval = baseName;

  if (inval != value)
    return input;

  return "<input checked" + input.Mid(6);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index