» Home » component » Page 1
Inheriting component attributes in a composite component which extends an existing JSF component
Category : Programming Languages

I wish to extend the following element:

<h:commandButton action="#{menuController.xyz}" value="xyz"
image="images/buttons/xyz.png" alt="xyz".....[more attributes]..../>

to include code to produce a depressed button:

<h:commandButton action="#{menuController.xyz}" value="xyz"
image="images/buttons/xyz.png" alt="xyz

View Replies

How to call a function in a child component in: a) another child component b) parent component and vice versa?
Category : Programming Languages

Here is my first question on this awesome website.

I have a parent component, say P, which has function, say Pfunc. I also have two child components, say C1 and C2, and their respective function, say C1func and C2func.

How to call any function from any component?

View Replies

Enabling inline editing with SiteEdit/TridionUI 2012 on a component that has Component Links
Category : Web Design

In Tridion 2011 ( with UI 2012) I have a component with a field that is a list of Component Links. I'd like to enable inline editing on one of the fields that is being brought in via the Component Link. Is this possible?

I was able to enable inline editing for other non-Component Link fields, but the CL's seem to be an issue. I first tried the tcdl syntax, but that did not genera

View Replies

Error in previewing the Component after adding Enable Inline Editing to Component Template
Category : Web Design

I am enabling SiteEdit 2009 for the Component in Dreamweaver TBB in SDL Tridion 2011 SP1.

Content XML:

<CCC>Title 1</CCC>
<DDD>Name 1</DDD>
<CCC>Title 2</CCC>

View Replies

Make a custom component or extend the List component for a 2D top down view MAP in flex 4?
Category : Programming Languages


I'm building a top view 2D map, that it's objects are stored on the server.

The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.

The component must request the "areas" that are missing on screen.
An area is 1000x1000 px and is cached in flex.

To move in the map, will be like in google

View Replies

ext js 4 observable pattern doesn't work when extend component from custom component
Category : Web Design

I am new in ext js.
I have a base component,which is extended by other components. Here its code:

Ext.define('ME.view.portal.portalItems.base.Map', {
resize:function (c, w, h, oldW, oldH) {
if (!oldW || !

View Replies

Java: Handling event on component inside a separate JPanel component
Category : Programming Languages

So I have a JFrame which I've added a custom JPanel component.

The JPanel component has a button that I want to attach a listener to in my JFrame.

What is the best way to do this?

View Replies

JTabbedPane - addTab(title, icon, component) + setTabComponentAt(index, component)
Category : Programming Languages

According to this example to be more detailed this one I just faced a strange thing...

If I am using method as addTab(title,icon,component) and next want to add additional component with setTabComponent(count-1,aComponent) then aComponent replaces icon? I mean in this case tab does not contain icon :(

The effect is something like (see image). B

View Replies

Is it double work creating a data access component and business component?
Category : Coding

I am designing my first Layered Application which consists of a Data, Business, and a Presentation layer.

My business components (e.g, Business.Components.UserComponent) currently has the following method:

public void Create(User entity)
using (DataContext ctx = new DataContext())

View Replies

JBoss Seam: component installed in JNDI, access of component says Not Bound
Category : Programming Languages

My SFSB Seam component is bound to JNDI on deployment, as evidenced by this log message:

Component: example, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN,
class:com.purecharger.action.ExampleAction, JNDI: purecharger/ExampleAction/local

My interface:

public interface Example {
public List<String> getExamp

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .