...so you would be handling any events coming in the form scope at the
top of your index page?

<cflocation> is what I'd be using

-----Original Message-----
From: Douglas Humphris [mailto:[EMAIL PROTECTED] 
Sent: 26 March 2004 14:13
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] mach-ii

Hi Damian,

To be honest, if I'm using a form post, then I would put my event in as
a form variable rather than as a URL variable. This way, I only have to
set the form action to "index.cfm". This is why I get the behaviour
which you don't.

How do you relocate to the next "thankyou" page? Is it with cflocation,
or through javascript?

Douglas

-----Original Message-----
From: Damian Watson [mailto:[EMAIL PROTECTED] 
Sent: 26 March 2004 11:48
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] mach-ii

That's not necessarily true Douglas- the framework I use (developed by
Russ) does not do this and it all runs through index.cfm... a typical
form submission will do:

index.cfm?action=form           -       DSP_form.cfm
        
        SUBMIT TO

Index.cfm?action=submit         -       ACT_formSubmit.cfm

        
        RELOCATE

Index.cfm?action=thankyou       -       DSP_thankyou.cfm


The relevant files are included through a switch/ case process.



-refreshing this last page will not resubmit the data (or am I missing
your point?)

d


-----Original Message-----
From: Douglas Humphris [mailto:[EMAIL PROTECTED] 
Sent: 26 March 2004 11:45
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] mach-ii

If you do a form post which returns to the same url (i.e. index.cfm),
and then hit refresh, the form post will go again (the user will
normally be prompted first). I'm afraid that's always been the case,
long before Mach-II came along. If you want to prevent this from
happening, then you'll have to build in some checks to prevent the same
details being added twice.

Douglas

-----Original Message-----
From: ing. fusto [mailto:[EMAIL PROTECTED] 
Sent: 26 March 2004 11:26
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] mach-ii

but the problem is that after inserted a record and returned to
listpage, if
address bar contains ...?event=insert, and a user clicks the reload-page
button in browser tool-bar, a new insert-record event is forced, and
there
will be another record in the database table, all without leavingthe
list-page!!!
Q. who is bugged: my brain  or Machii?
best redards
sasa


----- Original Message ----- 
From: "Douglas Humphris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 12:16 PM
Subject: RE: [ cf-dev ] mach-ii


Is this not because ?event=insert is the event that you called from the
previous link? The address bar will only display the link that you
called. It doesn't matter that several events happened after the
original event. It's not so much a Mach-II thing as that's just how it
is. You'll get the same behaviour if you use cflocation.

I'm developing a large application right now and Mach-II is working very
well so far. Has really helped me to organise the application - which
could so easily turn into a monster...

So, I agree - I wasn't much of a fan of fusebox, but MachII is a very
good framework.

Douglas

-----Original Message-----
From: ing. fusto [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 10:49
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] mach-ii

it' a fine tool!

but i've noted a strange behaviour:

when i submit the form than generating an insert-record event, then
machii
invoke the listener's create method; after this in the event-handler i
announce
another event to display the list:
...
<event-handler event="insert" ...>
    <notify listener="listener" method=insert" />
    <announce event="list" />
    ...
</event handler>

<event handler event="list" ... >
    <notify listener="listener" method=get_all" returnkey="request.list"
/>
    <view-page list_page />
</event-handler>

 but at this point i note that the address fields of the browser
displays
the
insert record event (.../index.cfm?event=insert) so if i reload the page
list, i have the strange behaviour.
have you noted also?

salvatore

----- Original Message ----- 
From: "Douglas Humphris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 11:42 AM
Subject: RE: [ cf-dev ] mach-ii


I do/am in the process of doing Mach-ii development.
Douglas

-----Original Message-----
From: ing. fusto [mailto:[EMAIL PROTECTED]
Sent: 26 March 2004 10:39
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] mach-ii

hello,
is anyone in the list that develops with mach-ii?
best regards
salvatore

-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]




-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]




-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]




-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]


-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]




-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF
provided by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]


-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to