record-flags

8 views
Skip to first unread message

txapelgorri

unread,
Oct 11, 2011, 12:46:04 PM10/11/11
to Hobo Users
Hi there:

I was wondering if there was at rapid library the opposite to record-
flags (aka field-names-where-true)? Maybe some kind of field-names-
where-false? :)

Thanks in advance, Ibon.

Ronny Hanssen

unread,
Oct 11, 2011, 7:30:58 PM10/11/11
to hobo...@googlegroups.com
Hi,

I guess you could add your own tag. Look at the source in http://cookbook-1.3.hobocentral.net/api_tag_defs/record-flags for inspiration.

I guess the "where-true" part is achieved via the .select, which picks elements that return true (this.send(f).

Maybe you could extend it with another attribute, that can customize what the record-flags check for (true or false). If your change is lean and makes sense, maybe it even makes it back into rapid.


Regards,
Ronny
Reply all
Reply to author
Forward
0 new messages