"custom component" is a generic term for a manually developed UI component for a component based UI framework. When using JSF, please don't confuse this with "composite component", where the component is definied by XHTML using cc:xxx tags instead of by a Java class extending UIComponent.
Questions tagged [custom-component]
1083 questions
19
votes
2 answers
Is "implicitly imported" always a bad thing in Delphi packages?
Trying to rearrange my packages for a set of TFrame-descendent components, I'm finding it seemingly necessary to break out some of my utility TFrame descendents separate from the dialog forms which use them, mainly because the former are registered…

Jamo
- 3,238
- 6
- 40
- 66
17
votes
9 answers
Visual Studio do not add my component (from a DLL) to the toolbox even if I reference it
As stated in the title, I copied my DLL in Visual Studio project, set it to "content" and "copy always". Added a reference to this DLL and set it to "copy locally".
I successfully managed to instance my component to a form through code but it…

Francesco Belladonna
- 11,361
- 12
- 77
- 147
15
votes
2 answers
JSF custom component with @FacesComponent is not found in Spring Boot
I want to create a custom JSF 2.0 component but can't get it to work.
My component is defined like this:
@FacesComponent(value = "myCustomComponent")
public class CommaSeperatedOutput extends UIComponentBase { ... }
The taglib looks like this:
…

flash
- 6,730
- 7
- 46
- 70
14
votes
2 answers
JSF State saving and custom components with dynamically added children
I am developing a JSF custom component. This component has the purpose of encapsulating another component (namely a PrimeFaces table) and adding customized behaviour to it. For example, one of the features that it supports is creating PrimeFaces…

jessepeng
- 610
- 6
- 21
14
votes
0 answers
Custom circular views
I want to make menus like mentioned in image that will worked on android.
If you seen image at left half circle is diplayed. I want to rotate this circle after rotation it will display other hidden menus. Also at right sub menus of center main will…

Swapnil Deshmukh
- 665
- 1
- 6
- 23
14
votes
3 answers
"Cannot load package A, it contains unit X, which is also contained in package B"
(More package/component install fun for me -- thanks everyone for all your help to date).
I am getting the error listed as the title, in Delphi 2007. Package A is my package of frame-based "viewer panels." Package B is a package containing a…

Jamo
- 3,238
- 6
- 40
- 66
13
votes
1 answer
Transparent TCustomControl?
I need to create transparent component inheriting from TCustomControl.. so it is custom painted, yet is container for other components.
Can you tell me how to achieve this?

migajek
- 8,524
- 15
- 77
- 116
12
votes
1 answer
Why doesn't my custom component update when I change properties?
I have created a component, TGridPaintBox, based on TPaintBox. It is basically a paintbox with added "grid functionality". It's not a data grid. More like a chess board component.
In the object explorer I can set certain properties. Most importantly…

Svein Bringsli
- 5,640
- 7
- 41
- 73
11
votes
4 answers
Custom component dependency hell
I'm trying to make a package for a custom component I made. It's based on several libraries, including Graphics32, GraphicEx and CCR.Exif.
I created a Package project, wrote the unit including its Register procedure, added some extra references…

Thijs van Dien
- 6,516
- 1
- 29
- 48
11
votes
7 answers
React native :Unable to resolve module Indeed, none of these files exist:
I'm following this medium article to use FloatingTitleTextInputField in my react-native project
below is my project structure
Here is my code for HomeScreen.js
import React, {Component} from 'react';
import {Text, View, TextInput, StyleSheet} from…

Goku
- 9,102
- 8
- 50
- 81
11
votes
6 answers
Changing the background color of a selected JToggleButton
I am trying to change the color of a JToggleButton when it has been selected in a reliable, look and feel independent way.
If using the Metal L&F, then using the UIManager is an approach:
UIManager.put("ToggleButton.selected", Color.RED);
Note: Iyy…

pickypg
- 22,034
- 5
- 72
- 84
11
votes
2 answers
Creating Custom ImageView
I create a custom image view by extending ImageView that just draws some text on the screen, however I don't see anything painted in the Emulator Screen, but the log messages and the printlns get printed in the log console. Am I not doing…

Prabhu R
- 13,836
- 21
- 78
- 112
11
votes
0 answers
custom spinner view
I have created my own custom spinner which I can access from "Custom and library views" as it implements View. But, the problem is that when drag my custom spinner from palette to use it in my main.xml, it throws "unhandled event loop exception". I…

Flake
- 1,386
- 17
- 31
10
votes
6 answers
React Native - FlatList Not Rendering
(Note: I'm using Expo for this app)
I'm attempting to render a FlatList that displays a list of printers. Here's the code:
printer.id}
renderItem={({ item }) => {
return (

makozlo
- 101
- 1
- 1
- 5
10
votes
3 answers
Custom icon for a radio button
I am trying to implement a custom icon for the radio button in android. i.e. I want the Radio button icon to be custom one of my choice. I am able to do that with android:button property inside the radio button but I am not getting on how to define…

TechFrk
- 185
- 2
- 2
- 15