ModelGlue unity uses the first text or char field it finds in the table to use as the label in the dropdown.

You may be able to adjust the order of your columns to get the label you want.

Doug Sims

Doug
On 6/19/06, João Fernandes <[EMAIL PROTECTED]> wrote:

David,

I don't use ModelGlue but your issue is related to ModelGlue and not to reactor because it's not a reactor job to handle how to view your data in your app.

Regards,

João Fernandes


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of David Mineer
Sent: Mon 19-Jun-06 9:42 PM
To: [email protected]
Subject: [Reactor for CF] Relationship display fields

I am using Model-Glue Unity.  Scaffolds.  Works awesome.

I define a realtionship in reactor.xml.  Works perfect.  Then when I
edit a record in the table relationship is presented to me as a drop
down from the related table.  Great.  But how do I change the fields
that are available in the drop down box?

Now that I think about it, this may be a model-glue question.  But
maybe that is a configuration I would make in reactor.  Here is the
xml:

        <objects>
                <object name="mytable">
                        <hasOne name="myothertable">
                                <relate from="mytableid" to="myothertableid" />
                        </hasOne>
                </object>
        </objects>

How do I specify that I want field1 and field5 to show as the values
in the lookups?

TIA,

--
David Mineer Jr
---------------------
The critical ingredient is getting off your butt and doing
something. It's as simple as that. A lot of people have ideas,
but there are few who decide to do something about them now.
Not tomorrow. Not next week. But today. The true entrepreneur
is a doer.


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to