crud module enhance suggestions

Bug #560705 reported by xiaocase on 2010-04-11
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
play framework
New
Undecided
Arthur Embleton

Bug Description

1. support date and datetime fields (best use date picker and datetimepicker)
2. support autocomplete field
3. support rating field
4. support color field (using colorpicker)
5. support slider and spinner field
6. support richeditor (using ckeditor 3.x or tinymce 3.x)

7. check unique for fields (can add a @Unique annotation)
8. support batch edit and batch delete (which means edit and delete several records one time)

Changed in play:
assignee: nobody → Arthur Embleton (aembleton)
Arthur Embleton (aembleton) wrote :

I've started working on this and have decided the best way to tackle it is to create a new rich-crud module that can be used instead of the crud module. I will upload code soon to http://code.google.com/p/play-rich-crud/ where I am hosting it.

Roch Delsalle (mnml) wrote :

I have done an autocomplete for:
@OneToMany and @ManyToMany relationship between objects using JQuery
You can have a look in my branch:
https://code.launchpad.net/~mnml/play/crud

Roch Delsalle (mnml) wrote :

I think it would also be better if you upload the code in a launchpad branch as well.

Arthur Embleton (aembleton) wrote :

Thanks, I'll take a look at that tonight.

Arthur Embleton (aembleton) wrote :

I've now uploaded the code into a launchpad branch and dropped the Google code one: https://code.launchpad.net/~aembleton/play/richCrud

So far it just gives you a ckeditor box if you use the @HtmlText annotation against the property in the entity.

xiaocase (xiaocase1528) wrote :

Hi, arthur.

  I have a suggestion about the richCrud.
  please refer to: https://bugs.launchpad.net/play/+bug/562707

  i think a new @InputType will more power and useful if we add more rich field types, like datapiker, colorpicker, etc.

  ckeditor is very beautiful and powerful, but it's difficult to combine ckeditor + ckfinder with play, implement image/flash/file upload, ckfinder files browser features. are you plan to implement these features?

Arthur Embleton (aembleton) wrote :

Thanks xiaocase, I will implement that suggested @InputType tonight. That does make a lot more sense.

It is possible to set the available options in ckeditor. I will look into this at some point soon, this page gives more information: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar

Hi Arthur,

You should announce your project on the google group. I'm sure there
will be a lot of interest for it. Also perhaps it could become the
official CRUD module later. But for now I've some big refactoring of
this stuff planned on the 1.1 branch, to make it work with non JPA
objects as well.

On Thu, Apr 15, 2010 at 10:23 AM, Arthur Embleton <email address hidden> wrote:
> Thanks xiaocase, I will implement that suggested @InputType tonight.
> That does make a lot more sense.
>
> It is possible to set the available options in ckeditor.  I will look
> into this at some point soon, this page gives more information:
> http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Toolbar
>
> --
> crud module enhance suggestions
> https://bugs.launchpad.net/bugs/560705
> You received this bug notification because you are subscribed to play
> framework.
>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers