Hi Pieter,

thanks for your kind words.

- Is there an option to make the columns in the browse views clickable so that they can be used to sort the contents?

No, that is currently not possible, but it shouldn't be hard to add. Sadly I'm currently overloaded with work, so I can't do it soon, but maybe someone else on the list can help you with it. It would be a cool feature to have!

- Is there a way to add filter to the browse views?

Yes, you can, this page contains information about the supported element properties:
http://rifers.org/wiki/display/RIFECRUD/Customization

You can add a "crud_implementation-browse" property to the crud sub- site. This can point to an element implementation that extends com.uwyn.rife.crud.elements.admin.Browse. You can then overload the prepareQueries(CountQuery countQuery, RestoreQuery restoreQuery, int pagingLimit) method, call the super method and add some query filtering there. This will change the actual DB query, so you can filter on pretty much anything you like. If you don't want to work through the DB query, you can also overload the countEntities and restoreEntities methods and intervene in the actual counting and restoring process.

I hope this helps.

Best regards,

Geert

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to