[Rt-devel] AJAXy dependent custom fields?

Ruslan Zakirov ruslan.zakirov at gmail.com
Fri May 1 16:22:19 EDT 2009


I think you don't need new column, but a new type of CF that uses an
attribute to store relation. New type allow you to create new mason
components for display and edit. So you'll be able to add custom JS to
a page where CF is shown for editing.

Some corner cases may arise, for example user has right on such
special CF and has no rights on linked.

On Fri, May 1, 2009 at 11:22 PM, Jim Meyer <jim at geekdaily.org> wrote:
> On 5/1/09 11:29 AM, Jim Meyer wrote:
>> Hello!
>>
>> Just starting to look into RT again after a few years away (yeah, it
>> seems like everywhere I go we start using IT. Coincidence? I think not. ;).
>>
>> We're trying to do something that others seem to have attempted: we want
>>   a pair of custom fields where setting a value in one CF
>> populates/constrains the other CF. I searched around the wiki and
>> mailing list archives; the closest I get is this thread:
>>
>>    http://www.gossamer-threads.com/lists/rt/devel/77090
>>
>> ... in which Jesse reveals that BP loves jQuery as much as I do. =]
>>
>> Anyone got a semi-packaged solution or HowTo before we go trailblazing here?
>
> p.s. I noticed the (very smartly implemented)
> ComboBox_ListFireTextChange in NoAuth/js/combobox.js which checks to see
> if there's an onchange event attached to the text input field and, if
> so, fires it.
>
> Is there a special smooth-and-easy way to hang an onchange on a
> particular custom field? Makes me want to add a column to the
> customfield table to add custom JS per field ...
>
> --j
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>



-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list