public static void addTagMetaData ( ConfigWebImpl cw , lucee . commons . io . log . Log log ) { if ( true ) return ; PageContextImpl pc = null ; try { pc = ThreadUtil . createPageContext ( cw , DevNullOutputStream . DEV_NULL_OUTPUT_STREAM , "localhost" , "/" , "" , new Cookie [ 0 ] , new Pair [ 0 ] , null , new Pair [ 0 ] , new StructImpl ( ) , false , - 1 ) ; } catch ( Throwable t ) { ExceptionUtil . rethrowIfNecessary ( t ) ; return ; } PageContext orgPC = ThreadLocalPageContext . get ( ) ; try { ThreadLocalPageContext . register ( pc ) ; // MUST MOST of them are the same, so this is a huge overhead _addTagMetaData ( pc , cw , CFMLEngine . DIALECT_CFML ) ; _addTagMetaData ( pc , cw , CFMLEngine . DIALECT_LUCEE ) ; } catch ( Exception e ) { XMLConfigWebFactory . log ( cw , log , e ) ; } finally { pc . getConfig ( ) . getFactory ( ) . releaseLuceePageContext ( pc , true ) ; ThreadLocalPageContext . register ( orgPC ) ; } }
load metadata from cfc based custom tags and add the info to the tag