A component in the Unified Modeling Language "represents a modular part of a system, that encapsulates its content and whose manifestation is replaceable within its environment. A component defines its behavior in terms of provided and required interfaces". The best example of component can be found in ActionScript- Flash,Flex sdks. There you have UI components like buttons, labels, DataGrids, charts those are reusable, distributable etc.
Questions tagged [components]
11658 questions
3
votes
1 answer
Spring annotations: @Component works, @Repository doesn't
I have got little problem with my spring app. here is my code:
(repository)
import com.maciej.entities.Etwas;
import com.maciej.repository.EtwasRepository;
import org.springframework.stereotype.Component;
import…

azalut
- 4,094
- 7
- 33
- 46
3
votes
2 answers
CQ access deep child node's property from current node (current component)
i am working on a carousel component called "tabbedcarousel", i need to iterate through it's children nodes to access an image property. see the pic below:
that "tabbedimagecarouselunselectedimage" -> "fileReference" is what i need to get.
say i m…

sefirosu
- 2,558
- 7
- 44
- 69
3
votes
2 answers
SSIS - Getting latest record of rows
I'm trying to get the top record of the entities from the output of the script component, but I do not see any suitable component to achieve this.
For example:
Student ID Date Value
1 2014-01-01 2
1…

user3268139
- 352
- 2
- 3
- 16
3
votes
4 answers
Custom components - how to manage?
I've made a couple of programs which I release as freeware on my webpage. One of these programs uses TSpinEdit for some number input. It works quite well, so I haven't really had any reason to use anything else.
However, yesterday, a user told me he…

Michael Madsen
- 54,231
- 8
- 72
- 83
3
votes
1 answer
InnoSetup: custom setup type - display message if user selects neither component?
I'm writing an InnoSetup installer that includes these sections:
[Types]
Name: "ChooseVers"; Description: "Install support for WordPerfect versions:"; Flags: iscustom
[Components]
Name: "InstallForWP51"; Description: "Install support for…

emendelson
- 416
- 5
- 18
3
votes
1 answer
Cakephp using Cache in Component
I am using Cakephp 2.3 , i want to perform lots of common calculation in my several controllers. so i write those functions in my appcontroller and i cached some datas..
but what happens is my appController will become fatty.. so i create some…

SibinF
- 385
- 1
- 7
- 25
3
votes
1 answer
Why less components in tool palette available for datamodule than for form because of '%CLASSGROUP TPersistent'?
We use SQL Direct version 6.4 in Delphi XE2 (Win7, 64-bit, but we only do 32-bit development).
I was making a new test app and found the following:
In the tool palette, when I'm on a form, there are 10 components available:
In the tool palette,…

Jan Doggen
- 8,799
- 13
- 70
- 144
3
votes
3 answers
Instantiated components from within a thread aren't repainting into a JFrame in Java
I have a single class like this one
public class BlockSpawner implements Runnable{
public static long timeToSpawn;
private GtrisJFrame frame;
public BlockSpawner(GtrisJFrame frame)
{
this.frame = frame;
timeToSpawn = 2000;
}
public void…

Rigo Vides
- 1,364
- 13
- 17
3
votes
3 answers
JavaFX : Adapt component height to its children height?
I'm trying to develop a desktop app using javaFX (2.2), and I'm experiencing some difficulties to really get it to behave like I would like it to. Being a new user of the framework, I might not be using it as it should be...
What I want is a kind of…

claveault
- 43
- 1
- 4
3
votes
1 answer
Remove joomla view name and component name from url
How can I remove the view name from a Joomla 2.5 URL? I am using this code in my BuildRoute method in router.php file but I'm not able to remove view name:
if(isset($query['view'])){
$segments[] = $query['view'];
…

saber
- 336
- 5
- 15
3
votes
3 answers
Manually Removed Joomla Component but Title Still Showing Up in Extension Manager
I had a component cause a bunch of errors at installation in my Joomla website. I tried the normal way of removing it by visiting the extension manager and clicking uninstall. This did not work, so I visited these two locations and deleted all the…

codacopia
- 2,369
- 9
- 39
- 58
3
votes
2 answers
Debugging .NET dll from script component (SSIS)
Is there a way to debug .Net dll from SSIS Script Component which is being referenced.
Thanks

Sreedhar
- 29,307
- 34
- 118
- 188
3
votes
3 answers
Rails-friendly DHTML grid?
I have an Excel-based UI that I'd like to replicate as closely as possible in a Rails view. I'm looking for a DHTML grid control that ...
can be easily formatted (w.r.t. column width, font size, etc.)
is responsive (the page will have up to 200…

Duncan Bayne
- 3,870
- 4
- 39
- 64
3
votes
1 answer
Create reuseable UI componets with MVC
I am in the phase of building a rendering framework for rendering my models in different formats.
My idea is the following:
public class ResidenceRendererShort : IRender {
public string Format() {
return "short";
}
…

janhartmann
- 14,713
- 15
- 82
- 138
3
votes
1 answer
Dynamic creation of a button in QML
With qt 5.2, I'm trying to add dynamically a simple button like this :
ApplicationWindow
{
id: appWindow
width: 640
height: 420
minimumHeight: 400
minimumWidth: 600
function addButton() {
var obj =…

Stef
- 3,691
- 6
- 43
- 58