Questions tagged [custom-component]

"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.

1083 questions
0
votes
1 answer

Declaring a new renderer for TabView component

I would like to build a new component on the basis of PrimeFaces Tab/Tabview components. It should look like an add tab in a browser and open a page for filling out a form. The problem is that I want to integrate it in a TabView based on a data…
alexandra.s
  • 311
  • 1
  • 2
  • 15
0
votes
1 answer

How do I accomplish this on JSF?

So I'm trying to find the best approach to solve the following problem. I have the following pages: 1.insert.xhtml(Where I have a form to register a client) 2.find.xhtml(Where I have a table for the registered clients, where I can edit and exclude…
Rodrigo Cavalcante
  • 1,577
  • 4
  • 14
  • 21
0
votes
1 answer

Component configuration file in xcode?

Lets say i want to develop an RSS Reader reusable component for iOS with a configuration file which can me updated by user. So my wish list is as follow: Add the component to a new project in single click. Just like adding framework. I also want…
i.jameelkhan
  • 1,215
  • 1
  • 9
  • 10
0
votes
1 answer

Unable to link stl library

I am developing custom control that is using some STL methods. This is error I get when trying to compile project using this component: [ILINK32 Error] Error: Unresolved external 'std::numeric_limits::min()' referenced from C:\DOCUMENTS AND…
truthseeker
  • 1,220
  • 4
  • 25
  • 58
0
votes
1 answer

C++ Builder XE - How to implement TFont property

I am developing custom component derived from TCustomControl class. I would like to add new TFont based property that could be edited in design-time like for example in TLabel component. Basically what I want is to add user the option to change…
truthseeker
  • 1,220
  • 4
  • 25
  • 58
0
votes
2 answers

I want to override the default value of a style inherited from an ancestor component [flex4]

While adding the [Style ...] metadata tag to my sub-class did make the property showPromptWhenFocused accessible from MXML, the initializeStyles() function does not successfully change the default value to true. I want the user to be able to set…
Richard Haven
  • 1,122
  • 16
  • 31
0
votes
1 answer

Custom component comparison in flex

I have a custom component called Tag package bin { public class Tag { public var count:int; public var text:String; public function Tag() {} } } I have a bunch of these tags in a two arrays. I want to be able to…
MindlessRouse
  • 425
  • 2
  • 12
0
votes
1 answer

Winforms Component Designer Integration

I want to create a winform component that contains a collection of other elements, similar to TabControl (contains TabPage) or ListView (Contains columns). The subItems have a Name property, and I want that name to be used in the generated code to…
coffee_machine
  • 1,203
  • 14
  • 28
0
votes
1 answer

Custom component Required Attribute

I am learning JSF and starting to write a custom component in JSF 1.2. Can someone please shed light on how JSF 'required' attribute works under the hood? I looked at the html generated and it doesnot show anything with required. I am writing a JSF…
phewataal
  • 1,107
  • 4
  • 12
  • 23
0
votes
1 answer

Create custom Imageview component that has a custom picture frame

I would like to build a custom component (extending from ImageView I guess) that display an image inside a frame specified by the user (the frame is a custom image) with inner rounded corners (Pinterest user icon like). I started finding how to…
Matroska
  • 6,885
  • 14
  • 63
  • 99
0
votes
2 answers

Date Time Format Change in flex custom component

im using a custom component for date time, it is 12 hours and am/pm format, Now i wat to show 24 hour format in numeric stepper and am/pm should be disabled. have any idea??? heres my code
Aravinth
  • 363
  • 2
  • 10
  • 33
0
votes
1 answer

JSF 2.0 encodeAll() invoked prior to sessionCreated()

I have created a custom component in JSF 2.0. Its purpose is to display a session attribute value in a input text box. I want the session attribute to be created in HttpSessionListener sessionCreated method. The problem is encodeAll method is…
Praneeth
  • 1,457
  • 5
  • 23
  • 36
0
votes
1 answer

Android custom input component with graphical representation?

I am looking all over the net to find out a code to make a custom input component that I need but didn't stumble upon anything similar. Here's how I'd like it to work: the purpose is to input the quantity (a number) the quantity is to be changed…
Chupo_cro
  • 698
  • 1
  • 7
  • 21
0
votes
1 answer

C++ Builder XE - publishing array property

I am writing my custom visual component and find it convenient to publish some of its properties as array: class PACKAGE TVctDiag2 : public TCustomControl { __published: __property int ArrowStyle[int index] =…
truthseeker
  • 1,220
  • 4
  • 25
  • 58
0
votes
1 answer

Flex 4.5: Custom component doesn't get visible in custom ItemRenderer

I'm developing a dynamic ItemRenderer to edition in line for Spark DataGrid. With the Click event on Edit button (first column), I'm refreshing the cell's row using grid.invalidateCell(x,y); inside this custom ItemRenderer, in the function prepare,…