This might work. Try putting the cfcsv into a cfincluded file ir better into a 
cfc component and you call the  

Nitish

-----Original Message-----
From: "marcel" <[email protected]>
Sent: ‎14-‎09-‎2014 19:00
To: "[email protected]" <[email protected]>
Subject: [OpenBD] Ignoring tags unknown to blue dragon.

Hi,
I am trying to maintain compatibility by allowing one of our applications to 
run on both railo and open bluedragon. The issue I have just run into is that 
we want to use the built in csvread method when running on top of bluedragon 
and the cfcsv tag provided as part of a railo extension when running railo.

So the code looks something like this:  

            <cfif structKeyExists(server,"railo")>
                <cfcsv action="parse" data="#input#" hascolumnnames="true" 
delimiter="#DELIMITER#" variable="qRaw" />
            <cfelse>
                <cfset qRaw = csvread(input,true,DELIMITER)>
            </cfif> 

The problem is of course that the tag "cfcsv" is unknown to open bluedragon so 
before the template runs we get the following error:

Badly formatted template: ........ 
The tag cfcsv is not recognized. Please check for correct spelling.<br>

Is there anyway to tell bluedragon to ignore this tag or some way to inject / 
install a "fake" cfcvs tag just so the template will execute under 
openbluedragon? We got our own server so we are open to all option.

cheers

Marcel

-- 
-- 
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to