That's not necessarily true (that it must be known at parse time) --
though the engine for Fusebox 4 doesn't support it... it's conceivable
that the parsing engine could check for the presence of the #
character and when present replace the usual method of inclusion with
a cfmodule call to the
Hi, I have a quick fusebox question that I haven't been able to find
an answer to yet. I have a few ideas, but I thought I'd run it by some
people with experience. It's fusebox-specific, so I apologize if it's
too off-topic.
How, in fusebox, do you handle multiple submit buttons in a form? For
...
- Matt Small
-Original Message-
From: Ken Dunnington [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 12:54 PM
To: CF-Talk
Subject: Multiple submit buttons and Fusebox
Hi, I have a quick fusebox question that I haven't been able to find
an answer to yet. I have a few ideas
submit buttons and Fusebox
Hi, I have a quick fusebox question that I haven't been able to find an
answer to yet. I have a few ideas, but I thought I'd run it by some
people with experience. It's fusebox-specific, so I apologize if it's
too off-topic.
How, in fusebox, do you handle multiple submit
Katz, Dov B (IT) wrote:
You can make the button be the fuseaction field (only clicked one is
sent), but sometimes you want a prefix.suffix style fuseaction... In
that case you can do something like this:
script language=JavaScript
function appendFA(fa){
PROTECTED]
Sent: Wednesday, January 12, 2005 7:03 PM
To: CF-Talk
Subject: RE: Multiple submit buttons and Fusebox
I would change the action of the form based on which button
was pushed. For
example:
input type=button
onclick=document.formName.action='index.cfm?fuseaction=fusecircuit1'
value=Do
I _think_ that with Fusebox 4 and later it's possible to use a
variable in the fuseaction in a do tag in your xml... so in theory
you could simply assign the button tag a name, then parameterize the
button name on the action page (you'd have to do this because IE
doesn't include the button value
=Cancel onClick=return
appendFA('Cancel');
/form
Just ideas...
d
-Original Message-
From: Ken Dunnington [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 12:54 PM
To: CF-Talk
Subject: Multiple submit buttons and Fusebox
Hi, I have a quick fusebox question that I
Isaac, that won't work because do tags are dealt with at parse time,
not at runtime.
You could do it like this so that you don't have to worry about
appending to the fuesaction or using the index.cfm file to figure out
what to do:
form action=index.cfm method=post
input type=hidden
Isaac, that won't work because do tags are dealt with at
parse time, not at runtime.
Good to know... I wasn't sure.
Though if not do (which would be best if available) then the
variable could be used in an include tag right?
s. isaac dealey 954.927.5117
new epoch : isn't it time for a
10 matches
Mail list logo