if all you need to do is call the tag, maybe you can write a temp file and
write the tag into it

something like

////////////////////////////////////////////////////////
<cfset cfxjInvocation = "<cfx_j class=""#ARGUMENTS.object#""
method=""#ARGUMENTS.method#"" alias=""result"" "/>

<cfloop collection="#ARGUMENTS.args#" item="name">
        <cfset cfxjInvocation = ListAppend(cfxjInvocation,
'#name#="#ARGUMENTS.args[name]#"', " ") />
</cfloop>

<cfset cfxjInvocation = cfxjInvocation & ">" />

<cfset functionStr = "<cfcomponent><cffunction name=""callCFX_J""
output=""NO"">#cfxjInvocation#<cfreturn variables
/></cffunction></cfcomponent>" />

<cfset fileName = REReplace(createUUID(), "[^[:alnum:]]", "", "ALL") &
".cfc" />
<cffile action="WRITE" file="#expandPath(fileName)#" output="#functionStr#"
/>

<cfset returnVal = createObject("COMPONENT", fileName).callCFX_J() />
<cffile action="DELETE" file="#expandPath(fileName)#" />
////////////////////////////////////////////////////////

this might get out of trouble

Regards
Steve Onnis

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Scott Arbeitman
Sent: Tuesday, June 20, 2006 5:29 PM
To: cfaussie
Subject: [cfaussie] Re: invoking cfx tag using Evaluate



Can't really use CreateObject/cfobject without modifying Java code, I
will need the functions to return proper values, not set ColdFusion
variables. But we're talking hundreds of methods; that's not feasible.
I thought this would be a quick hack, but it's more like a dead-end.

Thanks anyways.






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to