custom

SSRS: Trouble applying custom expression to Vertical Axis Chart Label

Hey database gurus. Using visual studio BI dev studio 2008. I have a chart that has a Y axis of numbers ranging from 0 to about 1500 (Values), an x axis of dates (Category Group). The Y-axis numbers are integers representing minutes. I want to convert the Y-Axis of minutes to hh:mm form and I thought it would be simple to write a cu...

Custom validator with attributes in facelets

I have written a custom Validator that expects an attribute to be set. I know I have to write a Handler (TagHandler or ValidatorHandler?) to set that attribute, but I am having trouble doing it. <tag> <tag-name>validateCustom</tag-name> <validator> <validator-id>package.CUSTOM_VALIDATOR</validator-id> </validator> </...

Implementing a simple UI editor in Java

Hi, I'm thinking about writing a simple UI designer in Java. I'm just playing with ideas at the moment to see if it is feasible. It would be good to have something like this as all of our UIs are generated from XML. Just wondering if anyone has tried anything like this before. I know there will be a lot of effort in doing something...

iPhone - Creating a custom TableView programmatically

Hi, So I've got a custom tableviewcells set up programmatically. I have 4 classes of custom cells, one custom cells for one section. But i don't know if it's wrong or not : - (UITableViewCell *)tableView:(UITableView *)TheTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *ShopsIdentifier = @"ShopsIdentifier";...

Custom UIPickerView Background

So I want to change the UIPickerView background to add a black rectangle next to the white part of the scroller, a la the Convert app. However I'm not sure how to go about doing that. I know there's no direct way to do it, but I've also looked at trying to write my own UIPickerView from scratch using UIScrollView. This didn't seem ver...

how to inflate a view class in main.xml

How could i inflate my custom view using the main.xml file? I thought it carried the format of <com.blah.project.MainClass.innerClass /> but I cant seem to get the fully qualified name of my inner class right. My customView is inside of my Main.java file, anyone know how I could properly reference it? Thank you. ...

Rails response.format fallback?

A rails app has some files end with .mobile.erb, which is for iPhone. There is before_filter which set request.format = :mobile by check the request.user_agent. My question is below: If some_action.mobile.erb doesn't exist. How to fallback to some_action.html.erb rather than an error page. ...

Changing the type of a custom field for already created SharePoint sites.

Hi, Currently we have a series of SharePoint sites already created in which we have a custom field created as follows in a custom fldtypes.xml <?xml version="1.0" encoding="utf-8" ?> <FieldTypes> <FieldType> <Field Name="TypeName">HierarchyTaggingField</Field> <Field Name="TypeDisplayName">Hierarchy Tagging Field</Field> <Field ...

InputView with custom width?

Hi, i'm trying to do a custom keyboard for an iPad Application (initially in landscape) and I see that I can modify the InputView's height but the width is ignored, always covers the entire width of the iPad screen. Can I modify this property? ...

WPF Custom Control

I have a view with some controls and a viewbox. At the moment in the viewbox is a grid and a graphic at the bottom. The application reads a XML-file and refreshs the content of the grid and the graphic for every node in the XML-file. Now the application not only have to show a grid with a graphic. Depending on the XML-node, the applicat...

Adding Custom Controls dll to Visual Studio ToolBox

Hi all I have a custom control dll. How can i add these custom controls to VS2008 tool box programatically Thanks ...

Custom sorting using categories and core data - is it supported by the framework?

I'm developing for iPhone iOS 4.0 and I have a list of birthday objects (date + name) stored using Core Data. I want to use the NSFetchedResultsController to retrieve this list sorted by the next birthdate date of each birthday object. For that I need to define my own logic for the sort descriptor. I tried using: [NSSortDescriptor sort...

How/where to stop Django Formwizards 'done' method being called on payment failure

Hi there, I've looked through the django documentation, done lots of googling and have tried quite a few different solutions but to no avail. I've created a 3 part form using Django's FormWizard. Once the last form (a payment form) is validated, I send a payment request to a payment gateway. I'm doing the payment processing in the 'pro...

Leveraging Windows SharePoint Services approvals workflow for approving entities in a custom application

Sharepoint noob question - apparently I can't even figure out how to google for the answer. We have a custom application in which we need to route entities for 'approval'. There are currently no electronic documents that correspond to our entities. They live in our database and are displayed via screens in our app. Simple enough. No...

ListView vs LinearLayout

Hi, I'm writing a horizontal tv-view, similar to the ones you know form tivo systems and similar. For each channel there is a row with the programmes for the next 6 hours or so, with a width proportional with their play time. My Idea is to write a custom widget for each row, and stack these on top of each other. This should allow me to ...

How do I use androids LayoutInflater.Factory to create a custom view class instead of a built in class?

I am using a custom class based off RelativeLayout but it obviously doesn't render in the Eclipse layout editor. I have found this article regarding LayoutInflater.Factory and it sounds like what I need to be doing but I can find no guides to using LayoutInflater.Factory. http://www.macadamian.com/blog/post/android_-_custom_classes_fro...

Editing a view in the iPhone like in Contacts app

In Contacts application when you click on "Edit" button on the right side of the navbar, view will dynamically change it self in order to allow user edit various stuff. Besides other cool animated stuff that is going on, what I am really interested in though is the bottom "Delete Contact" button which appears when in edit mode and disap...

Automate a graph(graphical object control) in testing C#

I need to write a class to handle the graph histogram. We will be displayed three curves which will have 3 distinct colors. The issue now im facing is tat when the curves overlap each other at a certain point say starting point, ill not be able to pick the co-ordinates of tat curve. The control of the curves is of Graphical objects. Wil...

How to add wysiwyg editor in Wordpress meta box

Hello everyone, I'm creating a meta box for my custom post type. There are multiple fields where I would like to use wysiwyg editor rather than <textarea>. Is is possible to add multiple editors to a meta box? I would really appreciate your help! Many thanks. Dasha ...

How to sort a List in C#?

I have the following List : List<Dictionary<int, Dictionary<string, string>>> lngList lngList.Add(new Dictionary<int,Dictionary<string,string>>().Add(1,new Dictionary<string,string>().Add("Item1Key","Item1Value"))); lngList.Add(new Dictionary<int,Dictionary<string,string>>().Add(3,new Dictionary<string,string>().Add("Item1Key","Item1Val...