refactored form handling

This commit is contained in:
Peter Schojer
2008-09-11 09:09:11 +00:00
parent b9fa3377a0
commit dd3f43c37d
35 changed files with 357 additions and 79 deletions

View File

@@ -77,4 +77,15 @@ void TimeFieldCell::setFormat(TimeField::Format fmt)
}
bool TimeFieldCell::serializeJSON(std::ostream& out, const std::string& name)
{
out << name;
if (this->hasValue())
{
out << ":'" << getFormatter()->format(getValue()) << "'";
}
return true;
}
} } // namespace Poco::WebWidgets