You cannot post messages because only members can post, and you are not currently a member.
Description:
For users of the ColdFusion Reactor ORM framework
|
|
|
Scaffolding & Reactor
|
| |
I have a couple Reactor/MG/Scaffolding questions, please...
1) When I scaffold, my LIST views are not showing me any columns that
are configured as primary keys within MSSQL.
I've narrowed it down to this line in the List.cfc template...
<<cfloop list="%Metadata.orderedPropert yList%"
index="variables.thisProp">>... more »
|
|
Define composite keys in reactor config (repost)
|
| |
Hi, I know that Reactor supports composite primary keys but how do you define this in reactor config. Do I do this: object name=tblParAtt hasOne name=tblParish relate from=ParishRef to=ParishRef /hasOne hasOne name=tblPerson relate from=UniqueNo to=UniqueNo /hasOne /object or this object name=tblParAtt... more »
|
|
Define composite keys in reactor config
|
| |
Hi, I know that Reactor supports composite primary keys but how do you define this in reactor config. Do I do this: object name=tblParAtt hasOne name=tblParish relate from=ParishRef to=ParishRef /hasOne hasOne name=tblPerson relate from=UniqueNo to=UniqueNo /hasOne /object or this object name=tblParAtt... more »
|
|
2 reactor questions
|
| |
Hi Folks, I've a couple of questions about the best way to handle certain scenarios: 1. I've got a Rota record. To this record, I've added a custom function called updateShifts(). I want this function to be executed every time the record is saved, after the save has been done. I thought about over-writing... more »
|
|
confused about isDirty()
|
| |
Hi, I'm not sure if this is a bug, or I just don't understand isDirty() correctly. Basically, I want to determine if a record was found in the database, when I try to load it. The following example code loads 3 User records. The only userID that exists in the database is 123. <cfscript> u1 = r.createRecord("User").load(us erID=0);... more »
|
|
order by and top 5 rows
|
| |
Hi,
Can anyone pls tell me how i would get this to output the top 5 rows
and in desc order? I have looked through the api and cant even see
where to begin for this. Many thanks.
<cfset scotGateway = beans.reactor.createGateway("s cottishStories") />
<cfset Query = scotGateway.createQuery() />... more »
|
|
customising and extending reactor
|
| |
Hi, I've had a sniff of coldspring over the last year, and I'm afraid it's gone to my head :-) I was trying to customise my installation of reactor, to make a few minor improvements. Nothing major, in this case I just wanted to pass some extra attributes in the reactor.xml and have them added to the generated metadata... more »
|
|
misspelling on _setConfig hint
|
| |
When I cfdump the createGateway object, I noticed a minor misspelling
of the word configuration.
_SETCONFIG
hint
I am the configuraion object to use.
Minor, I know. I tried to enter a ticket in trac, but my account must
not be setup do allow that or I don't know how to access that area.... more »
|
|
Incompatibility with Railo - how to solve it
|
| |
I found out how to solve a Reactor-Railo incompatibility so I'll
explain it as reactor developers may want to correct this, making
Reactor full compatible with Railo.
I picked a backoffice app that I developed with Adobe ColdFusion and
tried to migrate it to Railo. After just 3 minor changes I was able to... more »
|
|
satellite tables
|
| |
Hi, I found this (old) blog entry by Doug, and wondered if the satellite table functionality is still in there? [link] I've a project with pretty much the exact same scenario as the example: a base 'user' table, and sub-tables to hold extra data for specific user types... more »
|
|
|