custom

How to change image on cell.

Hi , In my iPhone application i developed one tableview which contain 5 cells are there and with image,So when i clicked on any cell it will start to play a video file . So when i come to tableview i need to change the previous image which i used on tableview cell. Please help me on that. I am facing lot of problem for finding the solu...

Maven - add custom phase to execute plugin with other configuration

I have two set of integration tests in one maven project - automatic and manual tests. The manual tests are few but tedious - they require pulling the plug of servers etc. I would like to create a separate goal for the manual tests, so i can run something like mvn manualtests to run the manual tests. If you just run a normal maven build ...

Can I have complete control on the drawing of a custom WPF button?

I imagine you can draw prety much anything with enough XAML experience, but i'm a C++ guy new to WPF. I need a button that has a gradient color plus a special border around it. So what do us C++ guys do? We go to the designer, ask for a Left vertical image, Middle one and Right one, and then overriding the Win32 drawing messages practica...

What will be the best way for creating custom container for adding components in cocoa.

I am creating custom view to add child controller like radio button,text field etc. I am sub classing NSView and overriding drawRect method to get custom drawing via NSBezierPath. but when I am clicking or focus changes for text field ,radio button. I am getting artifacts until I call setNeedsDisplay. Is there any better way to manage t...

problem Simple-cdd postinst modify a file

Hi I'm using simple-cdd to create a pure blend debian installer. I want to add a log file to the script, ex: NAME.postinst contains: touch mylog echo "Hello this works" >> mylog The results after instalation is the file but empty. why!!!!! thanks ...

asp:CustomValidator inside an update panel - Error message displayed before data is entered when ValidateEmptyText=true

Hello, I have a question regarding a custom validator in my page. The custom validator is located inside an update panel and this update panel is inside another upadate panel. The OnServerValidate fires and everything is fine. The problem is with ValidateEmptyText attribute. The error message is displayed as and when the user clicks on ...

drupal theming a view for Customfield: PHP code

I have a view called "contests_slider" with a block display. I'm hiding all fields and using a "Customfield: PHP code" field instead which calls a function called display_front_contests(). In that function, querying the database and building some html and returning it. I'm displaying the output in a block. The problem is Drupal is adding...

display custom cursor in myweb page

hello.. i want to do custom cursor in particular place in my webpage. i have number of images when mouseover on images then cursor image change as a custom cursor. how to do ? ...

Feedback wanted for my first django custom field!

Hi I've created my first custom django field. Its a social security number field (Cpr) following danish syntax. As I'm new to both python and django i would love to get some feedback on the code! import django.forms as f from datetime import datetime import json from django.utils.safestring import mark_safe from django.core.exceptions i...

Wordpress & SQL: Adding a custom field to all posts

I need a SQL query that I can run in PHPmyadmin that adds a custom field (with a value) to all existing posts. Can anyone help? Is this even possible? ...

Custom panel with alternate background

I'd like to create a simple custom panel to layout children in a business form fashion. Ideally I'd like my markup to look like this: <Panels:FormPanel> <TextBlock Text="Name:"/> <TextBox /> <TextBlock Text="Address"/> <TextBlock Text="Unknown"/> <TextBlock Text="City"/> <TextBox Horizont...

Wordpress: Change all custom fields to certain value on the fly

Hi, I need to change ALL the custom field field values on the fly for all posts. Have tried using update_post_meta()-function and it works, but i would like this to happen only when i access a certain page or (even better) when clicking a button, maybe with jQuery AJAX. Now it changes the value even if i don't call this page, which I th...

Why wont my custom role provider update the roles when I change the database?

I am building a small CMS system with ASP.NET MVC and I have a custom role provider using a userRepository instantiated by a factory implemented using Castle Windsor. Someone with admin privileges can change the roles of a user, saved in a database, using the back-end administration. But whenever I log onto the user for whom I just c...

Creating a custom jQuery build?

We have a small javascript project that will be using a handful of jQuery selectors, but we don't by any means need the full jQuery package (i.e. effects). Is there any current way to get a custom build of the latest jQuery (1.4.2)? ...

How to define Custom Exception in Web Application(Struts2, Hibernate,Spring)?

Hi, This is a very general question, I hope you won't laugh or scold me.Anyway here it comes: I am using struts2, hibernate, jpa and spring.I have four layers in my application: 1.Struts Action Layer, 2.Business Layer, 3.Service Layer, 4.Common Utility Layer So I need to define a Custom Exceptions so that if exception happens at server...

Adding Custom WCF header to Endpoint Programatically for Reliable Sessions

I'm building a WCF router and my client uses Reliable Sessions. In this scenario when the client opens a channel a message is sent (establishing a Reliable Session?). Its contents is as follows: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"&gt; <s:Header> <a:Action s:m...

User generated custom css

Hey, anyone have any idea what the best way to allow users to save custom css would be? Specifically, there are about 4 color values that I would like to allow a user to choose and these colors would be used to create a custom theme for the user. I'm thinking save values in the database and then using dom:loaded with prototype to set t...

How to set the position of a AlertDialog off the screen at top in Android ?

Hi, I want to set the AlertDialog position behind the status bar, when the content in my Dialog will increase, How to do that? I am creating a custom AlertDialog using my own layout.... Please help me out.... ...

Custom Annotation View's image does not appear on device build in MKMapView

I am using the iphone sdk and trying to use a custom image for my AnnotationView on my MKMapView. My approach works fine for another screen in my app, but for the problematic one, I see the image in the simulator but not on the device. I basically create a custom view like this: @implementation CustomAnnotationView - (id) initWithAnn...

How to derive a custom widget from jquery-ui dialog

I want to build a jquery-ui widget and I am unsure of the best way to approach this. The widget will manage the sate of some data that is hosted inside of a jquery-ui dialog. Should I build a custom widget, in the widget create function add some elements to the widget target and then call the dialog widget on my widgets target. Or Is...