Hello
I'm using I'm using Reactor with Model-Glue / ColdSpring and MG's
scaffolding + Oracle Database.

Suppose i have this tables:

News:
*id_news
title
date
...

Language
*id_language
desc_lang
...

News_Lang
*id_news
*id_language
title
text


The reactor.xml is like this:

              <object name="NEWS" alias="News">
                         <field name="ID_NEWS" sequence="SEQ_NEWS" />
              </object>


              <object name="NEWS_LANG" alias="NewsLang">
                        <hasOne name="News">
                                <relate from="ID_NEWS" to="ID_NEWS" />
                        </hasOne>
                        <hasOne name="Lang">
                                <relate from="ID_LANGUAGE" to="ID_LANGUAGE" />
                        </hasOne>
                </object>

               <object name="LANGUAGE" alias="Lang" admin="Linguas">
                        <field name="ID_LANGUAGE" sequence="SEQ_LANGUAGE" />
                </object>

Everything is working fine but when I whant to add a record to the
news_lang table (event=NewsLang.edit)
the id_language and id_news value are zero as opposite to the value i
select on the combo boxes.

those anyone has a clue i can i resolve this.

tanks in advance.


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

Reply via email to