customcomponents

How to trigger the event together on each two deferent class.

I have two object class on a single unit, is it posible to trigger the two events? let say the FIRSTCLASS event is fired, The SECONDCLASS also will fired? Assuming...... //{Class 1}------------------------------------------------------------- type TOnEventTrigger = procedure(Sender : Tobject; Value :integer); TMyFirstClass = Cla...

JSF2.0: variable list of custom component

Hello Is there any way of using JSF2.0 in connection with variable lists of components? For example, lets say I have list o people that I would like to edit. They are presented on the page as list of components PersonEditor, which allow changing person data. Each editor is associated with single Person element. In order for this to work ...

Creating SSIS Custom Data Flow Component + SSIS 2008

Hello Am a newbie to to SSIS Custom Component. Just started to code a component where the input row count will never be same as output row count. foreach input row it does some validation and generates n rows which need to be mapped to output buffer. So after with Design time validation coding everything is fine. my RunTime code is ...

Overload DateTimePicker draw button to create a themed component

We have bought the TMS Component pack dto do a "facelift" on our apps. I am trying to create a descendant of TAdvDateTimePicker to get its border and buttons draw according to what I want. The border no problem - I made it for an TAdvEdit descendant and for the TAdvDateTimePicker was no problem (with the border). But the buttons, what p...

JSF2 Composite component tag incompatibility problem?

This code, a test case for a custom component using JSF2 Just for the record, the file: panel.xhtml , located at /resources/panels/panel.xhtml test.xhtml: <head> </head> <body> <panels:panel/> </body> </html> Returns the following html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/...

JSF 1.2 facelets custom component

Hi! I am trying to develop custom control in JSF 1.2 (using facelets). I followed steps from different tutorials (defining .tld, taglib.xml, registered component in faces-config.xml and implementing UIComponent (component renders itself) and UIComponentELTag classes) and my component is rendered, I have value bound to it, but attribute...

how to create TCustomControl behave like Tpanel?

how to create TCustomControl behave like Tpanel? like MyCustmComponent for example. That can drop a components in it like labels, images etc. sorry for my english.. ...

how to add TAboutBox in TCustomControls?

I want to add aboutbox/dialogbox on my Custom component. how to make the small button[...] appear on the object inspector? just like the assigning a picure on the Timage component. ...

VisualForce: Pass a parameter to a custom component inside a repeater

I can't figure out why this isn't working: <apex:repeat value="{!MyContacts}" var="c" > <c:ContactRowComponent contactLastName="{!c.LastName}"/> </apex:repeat> (where on the main controller MyContacts returns an array of Contact objects, and on the component contactLastName is defined as a String attribute) This gives me error:...

Howto restart MSRS on changed files in Extended Datareader

I'm using Microsoft Reporting Services (SSRS) 2008 with an Extended Datareader/Dataset Provider (i.e. using a Datareader that I wrote myself and integrated it in SSRS). Everytime I have an update (i.e. copy the new binary files to the bin folder in SSRS), I manually have to restart the service. I saw in IIS that the mechanism used in SS...

Code Editor in C#

hi all , i am writing a small app to manage code snippets , so i want a component to display the code (keyword coloring , lines numbering ...) , so where to get this component and if it doesnt exist how to implement it . edit : i dont want to write a code editor , only a component to display code with last features (keyword coloring , l...

using ip address component C#

I am trying to use a component which named as A C# IP Address Control but it has a problem I think. because when I increase its value 1, it gives me some wrong result. forexample ipAddressControl3.Text = "192.168.1.25"; IPAddress ipAddress1 = new IPAddress(ipAddressControl3.GetAddressBytes()); ipAddress1.Address++; MessageBox.Show(ipAdd...

JSF custom components

Hey there, I tried to extend RichFaces' rich:messages component by making it appear like a popup box and adding a close button to it. Thus, I only need to change the renderer of the component. I managed to get it work programmatically, but I couldn't use my new tag in the xhtml files. It won't render it. Besides, I use Eclipse and an er...

Using image while creating custom components in flex

Hi, For my AIR based application I am trying to create a custom component based on canvas which has an image (as shown below). <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100" height="100" cornerRadius="5" borderStyle="solid" borderThickness="2" dropShadowEnabled="true" borderColor="#EDEDE8" dropShadowColor="#dddddd" sh...

Custom JSF component which adds new child to page "head" facet

Hi, I want to create custom component which adds new child to page "head" facet. This custom component is based on h:selectOneMenu. When used on jsf page, user can simply change the current theme. What I need this component to do is to add stylesheet child to head facet. My component has backing java. I tried to modify "head" in encod...

Problem with an Event in a Custom Component

Hi, I'm just getting started with custom events in a custom component. And I don't quite have the hang of it, yet. I've got a component with a button in it. When it's clicked, I want to call a function in the main app. Custom Component: <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" > <mx:Metadata> ...

Flex 3: How do I remove a Component Using a Button in the Component

Hi, I'd like to use a button within a component to remove it. So, you click it and the component is gone. But, I haven't figured out how you reference the component from within the component. What should I put in click=""? My component: popCanvas <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"&gt; <mx:Panel width="200" height...

Flex 4 and states! Im sick to always have to set the normal and disabled state in custom components

I'm extending the SkinnableContainer in the hosted component. so in the mxml file i always have to make the normal and disabled states. the problem is that when i make changes in the design mode, the elements get like this: width.normal="xx" and other thing when i would like to be generic like width="xx". where are the options to disab...

How to ignore invalid XML in JSF?

Is it possible to ignore invalid xml-syntax in jsf-files? I'm writing my own components is jsf 2 and want to create a dynamic table, so i want to render tr- and td-tags conditional. I've tried <h:panelGroup rendered="#{someCondition}"><tr></h:panelGroup> (same with </tr>) and <c:if test="#{someCondition}"><tr></c:if> (same with </tr>) ...

A Better ComboBoxCheckBox?

Does anyone know of a better custom control of a ComboBoxCheckBox than this one: http://www.codeproject.com/KB/combobox/extending_combobox.aspx? Preferabbly open source, but if not, paid. I've looked around and can't seem to find even a commercial one (then again, I don't know of that many .NET control vendors). What better? A better .D...