custom

Custom Message Box in WPF - What project type?

I have a WPF Composite application and I want to create a customized messagebox, I wondered what project type I should use to create it? A usercontrol A WPF Application A Class Library I have to then be able to use this MessageBox in other places in my application. ...

Custom JComponent not displaying in Custom JPanel

I've tried the add() method but nothing is displayed when I try to add Test to GraphicsTest. How should I be adding it? Can someone show me? I've included the code I'm using. This is my way and it's not working. Can someone show me or make me aware of what the problem actually is? import java.awt.Color; import java.awt.Graphics; import...

How do I add my own custom attributes to existing built-in Python types? Like a string?

I want to do something like this... def helloWorld(): print "Hello world!" string.helloWorld = helloWorld "foo".helloWorld() Which would print out "Hello world!" ...

HTTPS and FormAssembly

We are using a FormAssembly page to collect feedback - it's hosted within an IFrame on the side of our site's master page. The thing is, that some parts of our site are HTTPS - viewing and posting the form is ok in HTTPS, but the problem comes with the "thank you" page - we are using the configurable custom thank you page (configured wi...

follow up question problem with selecting a custom itemrenderer in a datagrid

Hi there, I have posted two problems with a custom itemRenderer see this post. My primary Problem is, that it always selects a wrong line (one under the one I select). I now realized that this happens, when I save back the content of the itemRenderer to the dataProvider. If I code this part out, the dataGrid works as expected... Does t...

How to create a custom admin configuration panel in Django?

Hi, I would like to create a configuration panel for the homepage of the web-app I'm designing with Django. This configuration panel should let me choose some basic options like highlighting some news, setting a showcase banner, and so on. Basically I don't need an app with different rows, but just a panel page with some configuration op...

Very Strange behavior in custom dataGrid

Hi everybody, I have a dataGrid with a custom itemRenderer. Everytime I tab at least two times on the dataGrid, the cell below the one I taped gets selected. This doesn't happen if I uncomment the code in the method saveBackDataGridContent()! The second problem is that if the Line is shorter than the entered text, a horizontalScrollBar...

How can you create a new WebParts custom display mode?

The standard webpart display modes are Browse, Catalog, Connect, Design, and Edit. However, none of these display modes give me the functionality I need. Edit mode will display the webpart edit button, however it will not enable the TitleURL. The Browse mode will enable the link, but not the button. For my purpose, I need both of the...

Magento- custom attribute causes blank order number.

Hi- I created a simple custom attribute on the sales/order entity. Now, for new orders, order number is null. I looked at the sales_order table, and sure enough, increment_id is null... can anyone help me out, I am stumped? This is my setup.php: `public function getDefaultEntities() { return array( 'order' => arra...

Build a custom folder in cocoa

I want to build an application that basicly acts as an desktop folder but with extended capabilities. But i have no idea how to start. If anyone has done eomethibg like this i would be really glad for any kind of hint. ...

triggering an event with jQuery live or delegate

I'd like to attach a handler to an element using either jQuery live() or delegate(). Looking at the docs I see I can attach the handler for a custom event. Is this possible for either of these jQuery functions to also trigger the handler? Basically I want to attach the handler function and run call it once. Thank you for any help. ...

Detecting if the user selected "All Users" or "Just Me" in a Custom Action

Hi, I'm trying to detect if the user has selected the "All Users" or the "Just Me" radio during the install of my program. I have a custom action setup that overrides several methods (OnCommit, OnBeforeInstall, etc.). Right now I'm trying to find out this information during OnCommit. I've read that the property I want to get at is the ...

How to set an activity indicator on Custom button in iphone

Hi, I am new to iphone development. I want to set an activity indicator which is loaded on my custom button. please guide me.(Example: App store --> Search-->Show 25 more(on click)). Thanks. ...

Writing a custom auth system (like the default django auth system), use it to generate tables in DB

Hay all, I've been reading up on middleware and how to use it with a context object. I want to write a simple middleware class which i can use on my own applications, it will essentially be a cut down version of the django one. The problem i seem to have is that if i have INSTALLED_APPS = ('django.contrib.my_auth') in the settings fi...

flex custom itemRenderer doesn't use the styles specified...

Hi everybody, I have a custom item renderer which I use for my DataGrid. The DataGrid has specified selectionColor, rollOverColor and themeColor. The Problem is that the custom item renderer, does ignore those colors, and doesn't give any Feedback... I tried to add the lines: setStyle("selectionColor", 0xEDF1F7); setStyle("rollOverCol...

Custom UIViewController is not responsive to device rotation

I have a custom UIViewController, which is the only subView of UIView. The UIViewController contains delegate function: (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } This function is called once when the application starts and is never called again when the device is rotated...

Flex - Custom Component - Percentage Width/Height

I am trying to create a Custom Flex Component using the Flex Component framework: http://www.adobe.com/livedocs/flex/3/html/help.html?content=ascomponents_advanced_3.html. All good components allow you to define their dimensions using percentage values using: MXML: TextInput width="100%" or Actionscript at runtime: textinp.percen...

Customizing jTable

I need to customize my jTable. All I need, is to put a custom Swing object (like jButon, jPanel, etc.) into the table cell. Is it possible? I'm trying: jTable.getModel.setValueAt(jPanel1,0,0) and jTable.getModel.setValueAt(jPanel1.getUI(),0,0) But the result is only a some kind of string, representing the object... I'm aware of c...

iPhone SDK / Facebook Connect: Using a custom login dialog

Exactly what the title says. Is it possible to use Facebook Connect (or any other means of FB integration) in a native iPhone app without resorting to the built in login dialog (which looks awful)? Something where I could create my own custom login screen asking for the facebook login username and password and then using the fbconnect na...

Problem dequeueReusableCellWithIdentifier, custom cell

Hi, i have custom cell with 2 buttons(the function of these buttons is just to disable the button that was pressed). When i use dequeueReusableCellWithIdentifier in this classic way: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; cell = ...