//Get the scopes we are looking for
// Get an initial set of possibilities.
//These are set in VariablesParser so go check that out if your variable isnt found
System.out.println("pref"+prefix);
//Find arguments in the document variable map
VariableParserItem variableParserItem = (VariableParserItem)varMap.get(varName);
//TODO: for scopes such as FORM, URL and ATTRIBUTES, we need to do something different, since we will go and search for them tags that are CFPARAM
boolean isScope = false;
//if the variable exists
if(variableParserItem != null){
TagItem chosenTag = (TagItem)variableParserItem.getTagItem();
// System.out.println("Found Chosen Tag" + chosenTag);
//Lets check we have a pre-defined scope for this type
System.out.println(chosenTag.getClass().getName());
if(chosenTag != null && (chosenTag instanceof TagItem || chosenTag instanceof CfmlTagItem)){
TagItem leTag = (TagItem)chosenTag;