custom

Django - Custom virtual model field with companion stored field

I would like to have a ConfirmationField field type. I want this field to work like a boolean field. I don't need to store this information on database instead I would like to store the date of confirmation on a seperate field. class MyModel(models.Model): confirmation = ConfirmationField() m = MyModel() m.confirmation # False m.c...

Custom Windows 2003 Services

I have an .exe I want to start when the Win2k3 server boots. Does .exe needs to be setup as a custom service. If so, what is the process to setup the custom service? ...

Non-standard tag behavior in Opera

I'm working with a publishing system that uses custom tags. These are interpreted on the server. The problem is, that they cause big problems with Opera, when viewed locally (custom tags are not interpreted). Opera is handling these tags differently from other browser. It looks like it is closing the tag at the end of the document (even...

Customizing a TListBox to resemble an Outlook list

Hey all, Please down vote me if this is not appropriate, but I'm desperate to the point of pulling my hair out looking for this link. This is really a last resort. Recently I browsed to a blog (at least I think it was) that had a very detailed description on how to modify a TListBox to have a multi-line look resembling some of the entr...

Round window playing movie using WPF

Is it possible with WPF to create a window that has the shape of a circle and uses a playing movie as the background? ...

Custom iPhone Icon

This is not a technical question, but given that there are a few iPhone developers on here I figured I'd ask. Are there design firms advertising services for designing custom iPhone icons? ...

Intercepting Exceptions with custom JSF event handlers

Is there any way to create a custom ActionListener class in JSF so that I can intercept an exception if it occurs on pressing the command button using my own ActionListener class I tried using the following code: firstpage.jsp <f:view> <html> <head> <title>firstpage</title> </head> <body> <h:form> ...

passing values between custom components in Flex - mxml

hi, how can i pass values from my custom components back to the main.mxml? i need to do this to pass back ana array collection ...

Change Xcode to use custom-installed version of Subversion

Does anyone know how to change the location of the svn tool used in the Xcode IDE? I've installed a newer version in /opt/subversion/bin and updated my $PATH so that it works from the command line but can't get Xcode to recognize this. ...

Is it possible to modify the output of a macro in VS 2005?

Hello, I'm using the Custom Build Rules feature in Visual Studio 2005, which allows to use macros such as $(ConfigurationName) in the XML .rules file. I need to pass only a subset of $(ConfigurationName) as a parameter to my command-line tool: If my target is named "DebugBuild", I'd like the command to end up like "tool.exe -Debug". ...

ASP.NET Custom Errors being ignored

I have custom errors configured in my web.config, but IIS 6.0 is returning the custom error specified in the Custom Errors tab of the website configuration. <system.web> <customErrors> <error statusCode="404" redirect="UrlRedirect.aspx" /> </customErrors> </system.web> What can I be missing? ...

Custom NSControl target/action howto!

I have a custom NSControl that acts as sort of a two dimensional slider where you can drag a handle around the view. I added a few class specific methods and the only ones I overrode were the mouse actions and drawRect. My question is, how do I get it to implement target action? How can I make it behave like a slider and continuously sen...

EpiServer CMS 5 R2: Custom Page Provider refuses to load.

I've recently started work on a new project using EpiServer which I am totally new to. One of my tasks requires me to write a custom page provider. I have got the sample page provider working and loaded. I've also ensured that I have a Enterprise Developer licence as the functionality is only available with this licence. So I've done ...

sIFR custom font method doesn't appear to work in linux?

In response to a question about custom fonts, I came across a link to a method using javascript/flash/css which is accessible. However, in my browser (Firefox 3/flash 10/Debian) it doesn't work. The website advertises that it works in Linux. Do any other Linux users have this issue? Here's the link: http://www.mikeindustries.com/blog/fi...

Custom binding with WCF

Hello !! I have a wcf service where i have to implement the call backs and also i need to host the wcf service on the IIS 6.0, since IIS6.0 doesnot support the net.tcp binding, i decided to go for the custom binding. The reasons for going for custom binding is that the service is accessed by different clients in different timezones. Usi...

Project Server enterprise custom fields deletion

I use Microsoft Project Server 2007 and I have custom fields associated to projects. Each custom field stores a value per project. If I delete the custom field, what will happen with the values for the projects? ...

Javascript - Trying to wrap my head around custom events

I'm trying to get my head around custom events. I understand how to register and trigger custom events. However, it seems like its not possible to register truly custom events. Everything has to trace back to a DOM event like click, onload, blur, etc. Or am I wrong? For example, suppose I have an array. I want to register an event that ...

What's the best way to develop a custom logon/authentication system in ASP.NET

The website I'm developing will allow users to login at 3 levels. Level 1 - Not logged in Level 2 - They register their email address and receive a confirmation email, and login that way. Level 2 - They login with a username/password, which is then sent to a web service. If the web service comes back with a "successful login" result, ...

Adding Custom HTTP Headers using Javascript

Hi, I have the following requirement. On my html page, While clicking the link of an Image ("img") or anchor("a") tags , I would like to add my custom headers for the GET request. These links are typically for downloading dynamic content. These headers could be SAML headers or custom application specific headers. Is it possible to add ...

How do I run an HqlBasedQuery that returns an unmapped list of objects using nHibernate?

I want to run a query against two tables (which happen to be mapped in ActiveRecord). The query returns a result list that cannot be mapped to an ActiveRecord object (as it is custom aggregate information). For instance Dim query_str as string = "Select distinct d.ID, (select count(1) as exp from Sales_Leads where date_created <= :tod...