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
4
votes
2 answers

Android Custom shaped dialog

I am trying to create a custom shaped dialog in android. What I want is instead of it being rectangularly shaped, to have any shape I might want to create. Like put a custom background which is a png image in the shape of a circle. If I do this, the…
Fofole
  • 3,398
  • 8
  • 38
  • 59
4
votes
1 answer

Programmatically get expression value of JSTL EL Context

Environment: JSF 2.0 (Mojarra 4.0), Facelets, Richfaces, Websphere 7.0 I have a custom inputText component, which needs to execute EL expressions in the JSTL EL Context. I have a special situation, where I need JSTL "foreach" to create a complex…
Kai Berkau
  • 91
  • 1
  • 6
4
votes
1 answer

How should I provide an inner private non visual window (handle) a non visual VCL component?

This is a follow-up question. My prior questions: How to paste a custom format clipboard data into a TMemo? Joining the Clipboard Chain Best practices? My problem: TComponent doesn't own a window handle like TWinControl. I don't want to rely on an…
menjaraz
  • 7,551
  • 4
  • 41
  • 81
4
votes
2 answers

How to install a component from .pas file in delphi?

i've downloaded the RealTimeMarquee component for embarcadereo delphi 2010 which comes as a two files RealTimeMarquee.pas SimpleHTML.pas But when i tried to open the file using delphi to compile it, i can't see the green button ( compile / build )…
Rafik Bari
  • 4,867
  • 18
  • 73
  • 123
4
votes
2 answers

Java Swing: How JToolbar changes appearance of a button?

When you add a JButton to a JToolbar, the button takes a specific look (not the same that if you add it to a Jpanel). I created some component similar to a JToolbar and I would like the same behavior. Problem: I checked the JToolbar class to find…
paranoia25
  • 626
  • 1
  • 5
  • 23
4
votes
2 answers

How to pass submitted value of JSF custom component to managed bean?

I have created a custom component. I add a dynamic input text box to it (from the encode function). The component is correctly is rendered as HTML. But I want to bind the value of the text box to some property on the Managed Bean. So some other…
Apurv
  • 3,723
  • 3
  • 30
  • 51
4
votes
1 answer

JSF Custom Component: How to get attribute of

I have written a custom component for jsf. The renderer extends com.sun.faces.renderkit.html_basic.ListboxRenderer. My component is in "javax.faces.SelectMany"-Family. The code in jsf-page looks like this:
CSan
  • 954
  • 1
  • 10
  • 25
4
votes
0 answers

dangerouslySetInnerHTML returns [object, object] with any input that contains markup (eg 'a', 'div', 'span', etc)

I've created a custom component that is used simply for display purposes: import React from 'react'; import './CardContainer.css'; import sanitizeHtml from 'sanitize-html'; interface ContainerProps { content?: any, children?: any; } const…
Phill Healey
  • 3,084
  • 2
  • 33
  • 67
4
votes
0 answers

Stencil with React Conditional Rendering Issues

We're using a Stencil components library in our create-react-app to stay consistent with our digital guidelines. The components work great, most of the time... but anytime we try to conditionally render the children of the components or interact…
Adelbert Ames
  • 364
  • 1
  • 3
  • 8
4
votes
0 answers

Ionic web components and Angular app and static prerendering

I created a simple Ionic 5 / Angular 9 Project. Then used www.scully.io to do static pages prerendering. It worked well as I can see prerendered html inside generated index.html The issue is that every ionic web component is a custom web-component…
4
votes
2 answers

TFrame inheritance refactoring

Yet another TFrame IDE-registered-component question from me. Thanks for all the help, fellow programmers. : ) Playing around with Darrian's TFrame inheritance suggestion here: Specifics: Basically, I have a TFrame-based component that I've…
Jamo
  • 3,238
  • 6
  • 40
  • 66
4
votes
0 answers

How to optimize bundling custom vue components using 3rd party libraries with vue cli 3?

I'm building my external vue component library and published to npm. My components extends Element UI components. I followed the steps in this article and so far it works fine.…
4
votes
3 answers

Android: Html TextView - is it possible?

I'm interested in creating a custom android component that extends textview and shows the text inside of it as formatted. this is the code I wrote: /** * TODO */ import android.content.Context; import android.graphics.Canvas; import…
ekatz
  • 963
  • 3
  • 18
  • 38
4
votes
2 answers

How to create/use a Calendar inside an Android Application (not as an Intent)

I am working on an Android application which requires a google synced calendar as part of it. I cannot use an Intent to show up the Android Calendar Activity. It has to be a part of the application. The calendar takes up only half of the screen, and…
4
votes
3 answers

Custom Control Creation in Delphi

I used this on a form and created it like 10 times. That was ok, until I tried to pass this number. Then it started eating system resources. Is there any way I could create a component like this? It is for a Simulator project, 8bits needed to…
killercode
  • 1,666
  • 5
  • 29
  • 42