Mauro caresimo
06/13/2023, 1:03 PM<cfif fusebox.iscustomtag is "false">
<cfmodule template="#fusebox.rootpath#/index.cfm" fuseaction="api.thevaldetls" account="#attributes.account#" orderid="#attributes.order#" validID="#attributes.validID#" apicall="true">
<cfelse>
<!--- pass the details back to the web front end call --->
<cfset caller.attributes.theorder=attributes.theorder>
<cfset caller.attributes.validID=attributes.validID>
</cfif>
</cfif>
</cfcase>
<cfcase value="thevaldetls">
Need to get here
</cfcase>bdw429s
06/13/2023, 4:13 PMbdw429s
06/13/2023, 4:14 PMseancorfield
cfmodule
sounds like a pretty serious abuse of the framework to me. I would refactor the common code into a function (or perhaps a CFC) and call it directly from both places.
I don't know whether there has ever been a #fusebox channel here. I believe there is still a mailing list on Google Groups but I think it's been dormant for years. @Hanzo was the last committer to https://github.com/fusebox-framework/Fusebox-ColdFusion and that was back in 2012 but maybe he knows where there might still be any active Fusebox folks?Hanzo
06/13/2023, 10:38 PMHanzo
06/13/2023, 10:38 PMHanzo
06/13/2023, 10:44 PMMauro caresimo
06/14/2023, 8:58 AM