Fixes for rendering of DateField in Table, Button event fixes

This commit is contained in:
Peter Schojer
2008-05-14 08:09:08 +00:00
parent 4e730ecc7e
commit 0d3e23167a
5 changed files with 85 additions and 7 deletions

View File

@@ -43,6 +43,7 @@
#include "Poco/WebWidgets/TextFieldCell.h"
#include "Poco/WebWidgets/ComboBoxCell.h"
#include "Poco/WebWidgets/ButtonCell.h"
#include "Poco/WebWidgets/DateFieldCell.h"
#include "Poco/NumberFormatter.h"

View File

@@ -41,6 +41,7 @@
#include "Poco/WebWidgets/ComboBoxCell.h"
#include "Poco/WebWidgets/ButtonCell.h"
#include "Poco/WebWidgets/NumberFieldCell.h"
#include "Poco/WebWidgets/DateFieldCell.h"
namespace Poco {
@@ -84,6 +85,10 @@ TableCellHandlerFactory::TableCellHandlerFactory()
TableCellHandler<ImageButtonCell>::Ptr pHandle(new TableCellHandler<ImageButtonCell>(false, true));
registerFactory(typeid(ImageButtonCell), pHandle);
}
{
TableCellHandler<DateFieldCell>::Ptr pHandle(new TableCellHandler<DateFieldCell>(true, true));
registerFactory(typeid(DateFieldCell), pHandle);
}
}