|
Mailing Lists
|
Home /
Groups /
Fusebox-Community
FB4 n00b: XFAs include full URL?
Author: Damien McKenna
Short Link: http://www.houseoffusion.com/groups/fusebox-community/thread.cfm/threadid:48#109
I'm starting to learn Fusebox 4 (using John Beynon's excellent
tutorials) and have come up with a question.
Is there any way to make XFAs include the full URL, path and query
string required, rather than simply use them as aliases for the bare
fuseaction name?
On my FB3 sites I prepend XFA's with the full (dynamically generated)
hostname, "self" file, and all query strings required (one of our sites
passes the custom session ID via the URL). I'm hoping to upgrade our
sites to FB4 and would like to not have to rewrite everything to follow
what I see (in the first few pagess of John's tutorial) as a less simple
way of handling it.
If there is no way to do this I suggest adding a boolean attribute to
the XFA tag called "complete". There would then be two extra global
fusebox variables, e.g. application.fusebox.xfaCompleteString for
storing whatever you wanted to go before the XFA, and
application.fusebox.xfaCompleteStringDefault which would be set to false
or true, depending on whether you wanted your XFAs to be automatically
prepended or not.
Thanks.
--
Damien McKenna - Web Developer - Damien.McKenna@thelimucompany.com
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include <stdjoke.h>
Author: Brian Kotek
Short Link: http://www.houseoffusion.com/groups/fusebox-community/thread.cfm/threadid:48#110
You'll probably get a better response if you ask this on the Fusebox
forums. But I believe that the XFA is meant to be a placeholder for
ONLY the fuseaction value itself (hence the name exit fuseaction):
a href="#self#?fuseaction=#xfa.submit#"
Since it appears that you are using XFAs in a way other than what was
intended, I think it would be unlikely that this will be changed (I
haven't ever heard of anyone else doing it like that). Adding
attributes or tags to the XML grammar requires an really crucial
reason to do so. But you're welcome to shoot an email to John if you
want to try, he can sometimes be swayed!
----- Excess quoted text cut - see Original Post for more -----
|
May 23, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||