great!  thanks all.
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Welsh
Sent: Tuesday, February 07, 2006 10:35 AM
To: [email protected]
Subject: RE: Reactor For CF Blog Login Error

Yes, you can with some views - it depends what the view is of. If your view only contains a subset of columns from a larger single table; and the columns you are NOT including either allow NULLs or have default values, then it is fairly straightforward insert/update/delete.
 
Regards
Ian
 
-----
Ian Welsh.
Business Manager.
Harlaxton College.
Harlaxton, Grantham, Lincs, NG32 1AG. United Kingdom
Tel: +44 (0) 1476-403000     Fax: +44 (0) 1476-403030
Web: http://www.harlaxton.ac.uk or http://www.ueharlax.ac.uk

Harlaxton College - Learning: All Together

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miller, Ryan
Sent: 07 February 2006 18:09
To: [email protected]
Subject: RE: Reactor For CF Blog Login Error

So I can create a view, and configure reactor to read it and generate code from it.  I don't have a lot of experience with views, can you insert, update and delete records via a view?  I don't imagine you could.  If not, that actually works for me, as I just need to use Reactor to read data in this project.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Tuesday, February 07, 2006 10:02 AM
To: [email protected]
Subject: RE: Reactor For CF Blog Login Error

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