context

ajax call fails to return true or false to the submit event

Hello, I will just come right to it. I need to know how I can return false or true to a submitbutton. I read some other post here, that says it cannot be done from within a ajax success function because it wil return to the ajax context and not the submit event. Maybe someone has a workaround for this?? also in the context that I am...

JQuery: referring to the right "this"

I'm trying to write a very simple plugin that on anchor mouseover increases the respective anchor text size and on mouseout removes the anchor. The problem is that I can't get the right "this". so i have: (function($){ $.fn.extend({ //function name textOverlay : function(){ //return return this.each(function(){ var cucu ...

iphone change fill color of a shape drawn in context

I have drawn an enclosed shape using CGContext and filled a default color. I want to change the fill color on some event, how can I do that. There is only one enclosed shape in the context. ...

Sharepoint ECB menu items not visible when doc lib is displayed in a web part.

My document context menus display correctly when accessed directly from a document library but when this same doc lib is displayed in a web part, the context menu is missing various items. I debugged the code in core.js using a userid that had all permissions turned on and noticed that the permissions mask was properly set (to 0x7fffffff...

Spring Application Context available inside the constructor

Hi, I am having an issue when trying to create beans from a spring Application Context inside a bean instatiated by sptring using constructor arguments. I have implemented the ApplicationContextAware interface but it populates the context after the instance is created (obvious). But then, if you need to get beans from the constructor...

Loading Spring Context Dynamically at Run-time in a Web Application.

Hello Everyone, I'm converting a standard Java Application that uses Spring Framework into a Web App. This application loads new Spring Context based on run-time parameters, that was done using ClassPathXmlApplicationContext/FileSystemXmlApplicationContext. So my question is how to do the same in a Web Application given that I already...

How to create a context that you can access?

Is it possible to create a context that is accessible from a set of windows but not from a different set? For example, two web request are running in their own context and objects like ServiceSecurityContext.Current are pointing to different instances. My application is a Word like application with a PlanWindow that open a plan documen...

Context, Membership, Etc Null when using MVC on IIS7

I'm sure this must be something simple that I'm missing. I'm using MVC Routing in my Forms applicaiton for Url Routing. On most of the forms I access the Context, Membership, etc. On my dev machine and on IIS6 everything works fine. I'm just trying to get to work on IIS7 and no luck. The Routing works as it should, but anytime I try...

WCF Web Service error - The message could not be processed. This is most likely because the action '' is incorrect or because...

... the message contains an invalid expired security context token or because there is a mismatch between bindings... The problem is, the client and the server times are a few seconds off. The web services all work fine, unless the call is made in between the few seconds that the client/server are off. So, if the call is made, and the c...

Eclipse + Tomcat = wrong docBase???

I am running Eclipse Galileo with Tomcat 6.0.18. Currently, I have a working application with the m2Eclipse plugin installed. It deploys to Tomcat and I am able to test my application. I am wanting to switch over to just using the Maven Eclipse plugin. The problem is that Tomcat is refusing to deploy my application. I have converted...

LoadFromContext was detected

HI all misters When I try Debug my project (unit tests) i get the following error: LoadFromContext was detected Message: The assembly named 'Microsoft.VisualStudio.QualityTools.Common' was loaded from 'file:///C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.Common.DLL' using ...

What are the available options to retrieve Spring-managed beans in a Log4J Appender inside a Spring-managed web application?

Hello. My current build lead has a great idea in theory - construct a custom Log4J appender that takes in Spring-managed beans and uses them to log errors to various other sources than just the standard log file. However, other than creating a singleton initialized at startup with the application context (code in just a moment), I can'...

WebApplication Context files on Tomcat

I have a download service served using Tomcat 5.5.15. It is created by adding an XML file in $TOMCAT_HOME/conf/Catalina/localhost. E.g downloads.xml for http://example.com/app.downloads/ <Context path="/app.downloads" docBase="Z:\Sites\example.com\downloads\"/> After Tomcat restart the context file is sometimes deleted(not always), an...

Tab Context Menu for WeifenLuo.WinFormsUI.Docking

Hi, I'm using the "WeifenLuo.WinFormsUI.Docking" control. I need to show a context menu by clicking on a document tab. Atm I just can show a context menu at the document itself or for the menustrip - but I didn't found a way to bind a menu to the tab. Does anyone have an idea? ...

What is System.ContextBoundObject?

What is ContextBoundObject used for? The documentation mentions 'contexts', which seem to be programatically defined, but fails to give any explanation as to what one is. ...

Trac task context sharing with mylyn

I've got trac working with mylyn (in eclipse obviously) through xmlrpc. Yay for six hours of my life. I can attach and retrieve context to tasks in trac. Question setup: I have a project checked out into two workspaces. In workspace 1, I activate a task, open some files, edit some stuff, commit the changes to svn, and attach the cont...

Change context menu in WPF TreeView for data

Is there a way to specify in a TreeView's HierarchicalDataTemplate to use a different context menu depending on a property on the data an item is bound to? For instance, display one context menu if Item.IsFile is true, display a different one if Item.IsFolder is tree, etc. ...

How to save default context settings in c#?

Hello, could somebody tell me why I can not save dynamic data in Settings.Default.Context? My code: Settings.Default.Context.Add("myKey", "myValue"); Settings.Default.Save(); MessageBox.Show(Settings.Default.Context["myKey"].ToString());<-- This works If I don't reload the appi everything works fine. But after reload application an...

Automatically pick tags from context using Python

How can I pick tags from an article or a user's post using Python? Is the following method ok? Build a list of word frequency from the text and sort them. Remove some common words and pick the top 10 words remained in the list as the tags. If the above method is ok, what library can detect if which words are common, like "the, if, y...

Question regarding executing context for a Windows Service

Hi, I have written a windows service in c# that essentially listens for commands on a specific port and in most cases will create a new Process class and shell execute said task. I primarily want to use it to launch media. Eg, i have a media file called c:\media.avi -> from a remote client i send "-launch c:\media.avi" and the server la...