Hey there,

I recently took it upon myself to code a small project with Model-Glue.

I played around with the examples provided on Ray Camden's blog....  I was
fairly comfortable with it after I started putting around.

I built a few templates, also using some spry stuff.

Then I wanted to build a simple login form and force the user to log in.

My problem is that the form never seems to submit to the proper URL....

I've even used almost the same code as in Ray's example just to make sure I
wasn't doing anything weird.

So, what is currently happening is that when I submit the form, it keeps
submitting to my default handler. (Home)

In the form, I have this : #viewstate.getValue("myself")#LogonAttempt
Which creates this in the HTML : index.cfm?event=LogonAttempt

I also have method="post" in the form tag...
I'm using the exact blog of code as in Ray's example.....
<event-handler name="LogonAttempt">
<broadcasts>
<message name="authenticate" />
</broadcasts>
<results>
<result name="loggedin" do="Home" />
<result name="notloggedin" do="Logon" />
</results>
</event-handler>

But everytime I submit the form, it always calls the Home handler.... which
I have set as default in my model-glue settings.

Any ideas?

I created some data extration and XML output (pages) and had no problems.
I'm really not sure what's up with the form. It's likely something totally
stupid on my part.

Thanks,

-- 
Yves Arsenault

"Love is the only force capable of transforming an enemy into a friend".
--Martin Luther King, Jr.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282994
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to