Reactor will read, but not write, views out of the box.  You can add your own methods to write views if needed.

 

Doug

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Mazelin
Sent: Tuesday, February 07, 2006 12:37 PM
To: [email protected]
Subject: Re: Reactor For CF Blog Login Error

 

Ryan:

Are you able to create database "views" with the fields that you need? That way the generated code would only include the fields from the view instead of the entire table.

Although, now that I ask that, Reactor probably doesn't work with database views, only with real tables. Does anyone know? Would this be a beneficial enhancement?

Mark

Miller, Ryan wrote:

Didn't see this in the archive...

 

I have a project that I'd like to use Reactor on but I don't have control over the database schema.  It's a huge convoluted monster of a database (CommonSpot). 

 

I went to Sean Corfield's presentation on Reactor, Arf etc in Portland and he explained that Reactor is not really an ORM framwork because you don't have much control over the mapping between the objects and tables.  I saw this for myself after Reactor generated some code based on my tables, I only need a small fraction of the fields from the table and I thought I could just change the generated code, but the generated code says 'don't edit this!' in the base files (in the 'project' folder).  I could strip a lot of the references to those unnecessary fields out by hand, but what would happen?

 

Are there any plans to add true mapping capability in the future?

 

Thanks!

Ryan Miller

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jared Rypka-Hauer
Sent: Tuesday, February 07, 2006 8:44 AM
To: [email protected]
Subject: Re: Reactor For CF Blog Login Error

The archive just got started the other day...

 

 

You won't find a LOT there yet, but there is some. If you have specific questions go ahead and ask them. Some of us never throw any mail away. hehe

 

Laterz!

 

------------------------------------------------

Jared C. Rypka-Hauer

Continuum Media Group LLC

http://www.web-relevant.com

Member, Team Macromedia - ColdFusion

 

"That which does not kill me makes me stranger." - Yonah Schmeidler

 

On Feb 7, 2006, at 10:38 AM, Miller, Ryan wrote:



Is there an online archive of this list?  I have some questions but wanted to search an archive first if possible.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Erik-Jan Jaquet
Sent: Tuesday, February 07, 2006 8:36 AM
To: [email protected]
Subject: RE: Reactor For CF Blog Login Error

Hi João,

I experienced the same problem, and I think it has something to do with a newer version of Model Glue.

Any way, here is what I did to solve it:

Go to the usercontroller.cfc in the controller folder.

Locate the function ‘DoValidateLogin’. (line 28 in my file). Change the line

<cfset arguments.event.forward(UserRecord.getPostLoginEvent()) />

To

<cfset arguments.event.forward(UserRecord.getPostLoginEvent(), true) />

That should do it!

Kind regards,


Erik-Jan


Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Namens João Fernandes
Verzonden: dinsdag 7 februari 2006 17:03
Aan: [email protected]
Onderwerp: Reactor For CF Blog Login Error

Hi there,

I’m not very familiar with model-glue, but when I do login in the blog I get this error.

The parameter APPEND to function forward is required but was not passed in.

Any Ideas?

João Fernandes

Secção de Desenvolvimento

Departamento de Informática

 

 

Reply via email to