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

PString PHTTPField::GetHTMLInput ( const PString input ) const [virtual, inherited]

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

Reimplemented in PHTTPCompositeField, PHTTPBooleanField, and PHTTPRadioField.

Definition at line 398 of file httpform.cxx.

References PHTTPField::GetValue(), and PString::Mid().

Referenced by PHTTPForm::OnLoadedText().

  PINDEX before, after;
  if (FindInputValue(input, before, after))
    return input(0, before) + GetValue(FALSE) + input.Mid(after);

  return "<input value=\"" + GetValue(FALSE) + "\"" + input.Mid(6);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index