Thanks Chris - picked up our conversation from 2 years ago ;-) My 'monkeying' around
<cffunction name="OnRequestEnd" access="public" returntype="void" output="false" hint="Fires after the page processing is complete."> <!--- Call the main farcry Application.cfc ---> <!--- dont what Farcry Webtop jQuery UI ---> <cfif StructKeyExists(request, 'inHead')> <cfif StructKeyExists(request.inHead,'aCSSLibraries')> <!--- CF9+ <cfset arrayDeleteAt(request.inHead.aCSSLibraries,arrayFind(request.inHead.aCSSLibraries,"jquery-ui"))> ---> <cfset arrayDeleteAt(request.inHead.aCSSLibraries,listFind(arrayToList(request.inHead.aCSSLibraries), "jquery-ui"))> </cfif> <cfif StructKeyExists(request.inHead,'aJSLibraries')> <!--- CF9+ <cfset arrayDeleteAt(request.inHead.aJSLibraries,arrayFind(request.inHead.aJSLibraries,"jquery-ui"))> ---> <cfset arrayDeleteAt(request.inHead.aJSLibraries,listFind(arrayToList(request.inHead.aJSLibraries), "jquery-ui"))> </cfif> </cfif> <cfset super.OnRequestEnd(argumentCollections=arguments) /> <!--- Return out. ---> <cfreturn /> </cffunction> On 4 April 2013 15:54, Chris Kent <[email protected]> wrote: > Got something working for this some time ago, take a look at thread > https://groups.google.com/d/msg/farcry-dev/MX-aeBgBFgY/9KW6HY4HCdQJ > > The idea is to remove the **jquery-ui entries from > request.inHead.**aCSSLibraries > before onRequestEnd is run. > > Chris. > > > On Thursday, 4 April 2013 06:22:31 UTC+1, AJ Mercer wrote: > >> My website uses jQuery UI and it looked ok in farcry webtop 6-1-5 >> but not so good with 6-2-9 >> >> So I thought I would use the default jquery-ui for the webtop by renaming >> my JS and CSS jquery-ui-psl >> >> <skin:registerJS id="jquery-ui-psl" >> <skin:registerCSS id="jquery-ui-psl" >> >> But the issue is when logged into the webtop and viewing the site, >> farcry's query-UI is loaded after mu jquery-ui-psl so I get the farcry UI >> on my site >> >> >> >> How can I keep them separated? >> >> >> -- >> >> *AJ Mercer* >> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org >> community="Open" /> <http://webonix.org> >> http://twitter.com/webonix >> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/> >> > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > --- > You received this message because you are subscribed to the Google Groups > "farcry-dev" 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/groups/opt_out. > > > -- *AJ Mercer* <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org community="Open" /> <http://webonix.org> http://twitter.com/webonix Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/> -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry --- You received this message because you are subscribed to the Google Groups "farcry-dev" 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/groups/opt_out.
