Project

General

Profile

Actions

Feature #672

closed

Wt::Dbo bool fields

Added by Boris Nagaev over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/06/2011
Due date:
% Done:

0%

Estimated time:

Description

in this issue http://redmine.webtoolkit.eu/boards/2/topics/301

"I think the bool type could actually be supported by the library itself..."

Could you provide bool type supported by the library, please?

Actions #1

Updated by Koen Deforche over 13 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche

Fair enough... We should have seen that one coming :-)

Actions #2

Updated by Koen Deforche over 13 years ago

  • Status changed from InProgress to Resolved

Available in latest git

Actions #3

Updated by Momo LALMI over 13 years ago

I think something is missing for boolean fields, I got the following error when using WAbstractItemDelegate to display bool fields as images ( checked and not checked):

WAbstractItemModel: unsupported type bool

may be you can solve this by adding bool support in WBoostAny.C , please let me know if you are planing to do something for this issue

Actions #4

Updated by Momo LALMI over 13 years ago

to generate the error I have used : asString(index.data(DisplayRole));

and the data type was boolean

I was expecting to have "true" or "false" as result ;)

Actions #5

Updated by Koen Deforche over 13 years ago

Hey Mohammed,

This bug talked about Wt::Dbo, not WAbstractItemModel ...

You are right about WAbstractItemModel though, support for 'bool' is lacking, and could be added indeed. Can you file this as a new feature request (I cannot reopen this issue anyway) ?

Regards,

koen

Actions #6

Updated by Koen Deforche about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF