Author: Damien McKenna
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
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.
Damien McKenna - Web Developer - Damien.McKenna@thelimucompany.com
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
Author: Brian Kotek
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):
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 -----