custom

Search an item based on a custom property

I started this task assuming it to be pretty trivial one. However, going to the depths i find that its either not that simple or may be i am using a wrong approach here. In my case i have a number of documents which are not in the same directory however, they have the same names/title. What i want is to carry out a site based search and ...

ASP.NET 3.5 C# custom error pages in webforms application

I'm working on a personal website and I'm using webforms and .NET 3.5 and C#. I'm trying to get the custom error pages sorted but I can't get them to work properly. Not on my local IIS 7.5 as on the external server. It keeps prompting me with default IIS error pages when pages can't be found. How can it be fixed? I've got the following ...

JBoss, application security,removing AuthNz from one file

An application is deployed to context that uses security for the entire context. I need create a new file that will serve as a ping for our loadbalancer. This file can have NO security associated with it. How do I set up this file in web.xml to disable any security for it? ...

changing text color in custom UITableViewCell iphone

Hello. I have a custom cell and when the user selects that cell, I would like the text in the two UILabels to change to light gray. ChecklistCell.h: #import <UIKit/UIKit.h> @interface ChecklistCell : UITableViewCell { UILabel *nameLabel; UILabel *colorLabel; BOOL selected; } @property (nonatomic, retain) IBOutlet UILa...

Custom JScrollbar Problem (change the knob/thumb)

Hi, I want to change the look of a JScrollBar. I do this with overwriting/extending ScrollBarUI. It´s no problem to change the outlook of the arrowbuttons by overwriting createIncreaseButton and createDecreaseButton. I change the width of the track by overwriting paintThumb and paintTrack Methods. It looks now like <----o----> (a very ...

How to move from custom to transluscent NavigationBar and back? Display problems!

So, i got this Navigation-based App (with a custom NavigationBar - Category) and I have 2 problems here... @implementation UINavigationBar (Custom) - (void)drawRect:(CGRect)rect { UIImage *image = [UIImage imageNamed: @"bg_toolbar.png"]; [image drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)]; } @end...

Best WCF config based on scenario

Hello, Please recommend best approach (bindings, encoding, transport, etc) based on the following WCF scenario and requirements: Both client and service are WCF 3.5 based. Client and service will communicate thru Internet over SSL port 443. WCF Client (a Windows Service) is on w2kx server behind firewall/NAT. Client will initiate ...

Create Custom values for the cells in the YUI datable or gui: dataTable

Hi i would like to know how to create custom values for the dataTable. For example I want to do some calculations for the values that will be placed in the dataTable. But what happens is that I get an error: ERROR errors.GrailsExceptionResolver - Executing action [dataTableJSON] of controller [com.MeetingController] caused exception: ...

Custom Tabcontrol in silverlight 4

Hello, I'm trying to design a tab control which will have a tabs on left hane hand side, and will have a text displayed vertically besides it. And will have the Page displayed in the main tab control. For reference you can visit : http://www.nseindia.com/ and click on any tab in the main menu. How can it be designed? I have created ...

Autotools automatic invocation of lcov after 'make check'

I have successfully set up an autotools project where the tests compiles with instrumentation so I can get a test coverage report. I can get the report by running lcov in the source dir after a successful 'make check'. I now face the problem that I want to automate this step. I would like to add this to 'make check' or to make it a sep...

displaytag for rendering html lists instead of tables

Is it possible to generate lists with display tag? I would like to use it to produce something like: <ul> <li>Coffee</li> <li>Milk</li> </ul> with one <li> entry per each item on my list. Is that possible? ...

Forms Authentication Role Provider based on Sharepoint Site Groups?

Are there any custom role provider implementations which use the Sharepoint Site Groups as equivalent roles? Ideally, I'm looking to programatically add / remove members from roles which are equivalent to the site groups. The site groups are already being used to allow / restrict access throughout the site and I would prefer not to have...

custom grid style in silverlight 4

Hello, I want to set background of a grid using a style. I style I'm setting the Background Property of the grid. But I have a border filled with LinearGradientFill and a Path which also has LinearGradientFill in it. But I'm not able to combine both. Below is sample code. I want to create it as a style. <Grid> <Border BorderBrush="B...

Accessing my own datalayer using RIA & Silverlight

Is it possible for me to connect to my own data provide via WCF RIA services? I've created a small datalayer that connnects to DynamicAX datasource. I would like to use Silverlight 4 & RIA service to access that datalayer. At it's most basic -I've done the following... 1) I've added an empty domainclass to the webproject and in that c...

Trouble Copying custom class initialization

I have a custom class of type NSObject that contains a single NSMutableArray. This class is called Mutable2DArray and is designed to emulate a 2 dimensional array of type NSMutableArray. There is a custom init method - (id)initWithX:(int)x Y:(int)y that asks for the dimensions for the array and allocates the required arrays within the on...

Android: Dynamically add custom checkboxes to a tableLayout

What should I do to use custom checkboxes if I add my checkboxes dynamically in my code? (On the java code not on the XML files.) I'm following this tutorial, but using it I can't achieve my goal. For example, I have a tableLayout and I want to add a checkbox for each new row I have. Thank you all. ...

PHP CMS with ability to create custom tables

I am building a website. I have created the database in MySQL. I need to build the web pages really fast! Is there a PHP CMS with which I can easily create the webpages with forms that can modify my database tables? The point is that I don't want to code it using plain PHP or MVC frameworks either. I looked at other CMSs' like Drupal and...

NetBeans create and instantiate programatically custom swing widgets

Hey! I have a problem I know how I would solve easily developing under eclipse - but not so easily developing under net beans. I want to create a custom swing widget - which I can instantiate by code as many as I need and attach them to my main panel. I have developed the rest of the GUI using the GUIBuilder. The problem is - im ...

flex custom events bubbling

Dear Richard Szalay, i go through your answers regarding bubbling, i want explore bubbling more. Please see my sample below <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:view="com.view.*" > <mx:Script> <![CDATA[ import com.events.ImgLoaded; private function loadedd(evt:ImgLoaded):void{ t...

ActionScript Custom Class With Return Type?

i just know this is a dumb question, so excuse me in advance. i want to essentially classify a simple function in it's own .as file. the function compares integers. but i don't know how to call the class and receive a boolean return. here's my class package { public class CompareInts { public function CompareInts(small:int, ...