Project

General

Profile

Wt CRUD demo

Added by Ansif Ibrahimkutty about 7 years ago

Does Wt provides simple UI of Wt CRUD application ?


Replies (5)

RE: Wt CRUD demo - Added by Ansif Ibrahimkutty about 7 years ago

I was looking for something like this,

[[[http://www.scriptcase.net/scriptcase-samples/php-form/simple-form-with-copy-button/]]]

[[[https://www.cuba-platform.com/]]]

I think modern application frameworks provides custom made tools like the above. Any help will be really appreciated.

Regards

Ansif

RE: Wt CRUD demo - Added by Wim Dumon about 7 years ago

Hello Ansif,

There's limited support for this in Wt. There is Wt::Dbo::QueryModel, which can be coupled to any of the widget views (WTableView probably being the most logical one) to view and edit data.

Currently, there are no classes that allow for creating a form based on a WAbstractItemModel or a Dbo object. I believe this would be a great addition to Wt, since a lot of the information to auto-generate such forms is known to the framework.

Best regards,

Wim.

RE: Wt CRUD demo - Added by Ansif Ibrahimkutty about 7 years ago

Hi Wim,

Sorry for the late reply.

Yes it will be really nice if Wt team can include basic stuffs like CRUD windows. Anyway i have created a WTableView and added WLineEdit as WItemDelegate. Also included PostgreSQL using model/view technique. I can now able to do most of the CRUD operations using the editable tableview.

Regards

Ansif

RE: Wt CRUD demo - Added by Wim Dumon about 7 years ago

Ansif,

We have written a note on our whishlist.

Best regards,

Wim.

RE: Wt CRUD demo - Added by Ansif Ibrahimkutty about 7 years ago

Thanks Wim.

Ansif

    (1-5/5)