custom

Z_Form :: Adding a custom error message to zend_form inside Action Controller

I'm new to ZF and I'm discovering how to use Zend_Form and utilize it's capability like validating and filtering input values. I already know the basic of Zend_form like building a form and add element into it. My problem is that I want to add a custom error message to form element and I want to define that message inside the action cont...

Custom Textarea for right to left languages

I need a custom text area inside which when the keyboard Enetr key is pressed sould insert new from right to left. and when back space is clicked at the beginning of that line shuold remove that line. ...

Customizing WPF Panel to Resize.

I Wanted to have custom Panels using WPF, those I can re-size them like a web-parts. I want to use these panels as my dashboard controls. These Panels will have specific contents. User should able to resize them. And the other custom panels in my window should re-size accordingly. I wanted the panels should behave as shown in the examp...

android custrom control (button)

Hi, all! I would like to create button which contains text on left and checkbox on right (or any other component). How can I do that? As I found I can make my own View extends Button, but how should I implement onDraw method if so? Thanks ...

How do I customize the Membership database tables created by ASP.NET ?

Hello, I want to add custom columns to some tables created by ASP.NET. For example; I need to add two fields such as FirstName and LastName to the aspnet_Membership table. I can add this directly by editing the table but; Is this the right thing to do (I mean; extending the table directly) OR should I create a separate table and ho...

how to include a view created in a xml file on my main layout

Hi I want to create a grid of images with text right below the images. I created in a xml file a image_text item which basically is a linearlayout with and imageview and a textview right below. I created a tablelayout and I want to add my custom image_text.xml to the table row. But I dont know how to reference my xml file inside. If ...

jQuery tablesorter textExtractionCustom problem

Hello, I have a table setup like this: <table id="product_table"> <thead> <tr> <th>Name</th> <th>Bandwidth</th> <th>Price</th> </tr> </thead> <tbody> <tr> <td>Name #1 (works fine)</td> <td>Technology<br /><span>3000</span> / 600</td> ...

Developing Custom Video Player With some customization

Hello guys, I want to develop/customize video player with some customize requirement. For ex. i should be able to put my client logo in video player,adjust volume control,full screen etc..... I am new to video playing technology so dont have any idea to how full fill this requirement. So any one can giude me how can i achieve this ? M...

Custom Rule Editor for .Net

I am working with windows workflow in VS 2008. I need a condition builder to set my rules. The Rule Editor provided by microsoft in WF is good , but we need a simple editor which can be customized. Is there any open source Custom Rule Editor is available for .net ? ...

User-defined routing

Hi everyone! I have three relevant models: Companies, Projects, and Links, and I am trying to create a system where we generate routes according to the Links they create, for example: www.site.com/the_company's_specific_path/one_of_company's_links One company has_many :projects, one project has_many :links. Summary of the structure:...

Custom UITabBarController - using a UIToolBar with UISegmentedcontrol as Tab Bar?

Hey. My customer wants a design-change, but I just can't figure out how to do this! The app currently have a UITabBarController shifting between some UINavigationController's. My customer wants to use a UIToolBar with a UISegmentedControl shifting between the controllers instead. I want to keep the UITabBarController, because that tak...

Java - jList: Custom ListSelectionListener question (SSCCE Included)

Hello everyone! I am trying to set some actions on a custom ListSelectionListener and although everything compiles out fine when I actually select a component of the jList it's not working. Here's a code snippet: public class ListSelectionHandler implements ListSelectionListener { ListCustomObject o; @Override public voi...

Wordpress custom types (query)

Hi, I've created a custom type in Wordpress called classifieds and added a few posts. I can see the posts under /classifieds/post-title However, I am trying to retrieve all posts from /classifieds but I am getting a 404 error. I've followed instructions here: http://codex.wordpress.org/Custom_Post_Types and I created a classifieds...

Wordpress filter by custom type

Hi, I am trying to make an index page but just showing the posts of a specific custom type. Loop starts like this: <?php while ( have_posts() ) : the_post() ?> How can I modify the code just to show posts from a custom type called "classifieds"? Thanks! ...

List.Sort (Custom sorting...)

Hello, I have a List object that includes 3 items: Partial, Full To H, and Full To O. I'm binding this list to an asp OptionButtonList, and it's sorting it in alphabetical order. However, I want to sort the list like the following: Full To H, Partial, Full To O. How can I accomplish this? Thanks! V ...

How to copy a file that's in the same directory as the installer

I want to copy a file that's in the same directory as the installer file to the application directory. I can't include the file in the installer. the scenario: I create an installer for my client. the client will distribute the installer to an unknown number of third parties, these third parties will need to change an aspect of the c...

flex scatterplot custom renderer

I have a scatter plot with 10 points, some points are above and below some thresh hold. I need to show different color for those above thresh hold below thresh hold within thresh hold Effectively, can the 10 points be colored a different color? Is it possible to do this with some renderer ? I am looking for a renderer since , the ...

build this layout in xml?!

I have a listActivity and wanted to create a list with the second layout (attached). What has any idea how to build this layout in xml?! show imageAttached ...

IIS FTP 7.5: Custom Auth Provider not working Error 530

Hi to all I have recently install Server 2008 R2 on a new server and want to use the FTP capabilities that are now shipped with IIS 7.5. Since my users are not windows users, I was using IISAuthManager but this prodiver does not offers home directory on a user basis. I found this sample http://learn.iis.net/page.aspx/669/how-to-use-ma...

WPF Custom Control based on TabItem and Themes

I have a Generic.xaml theme created that sets styles for all common controls, including TabItem This them is applying ok to all controls in the application When I create a TabItem control and display it, it gets the Theme OK. TabItem t = new TabItem(); t.Header = "Normal"; MainContentControl.Items.Add(t); However when i create a Cu...