» Home » component » Page 1
Inheriting component attributes in a composite component which extends an existing JSF component
by sinisterDei in 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

How to call a function in a child component in: a) another child component b) parent component and vice versa?
by Octopuss in 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?


Enabling inline editing with SiteEdit/TridionUI 2012 on a component that has Component Links
by Phil Austin in 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


Error in previewing the Component after adding Enable Inline Editing to Component Template
by Ivan Maček in Web Design

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


Content XML:


<Content>
<AAA>
<BBB>
<CCC>Title 1</CCC>
<DDD>Name 1</DDD>
</BBB>
<BBB>
<CCC>Title 2</CCC>

Make a custom component or extend the List component for a 2D top down view MAP in flex 4?
by Hugo Hernan Buitrago Rios in Programming Languages

Hy!


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


Java: Handling event on component inside a separate JPanel component
by kiirpi in 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?


Is it double work creating a data access component and business component?
by Techhog in 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())
{
ctx.Users.AddObject(entity);
ctx.Sa

How to listen to events inside the child component dispatched by the parent component
by Meghan54 in Programming Languages

When an event is dispatched by a component, there are three phases in which the event flows, capture - event flows from the application to the component which dispatches the event, target when the event is at the Target which actually dispatches the event , then the bubbling phase in which the event flows from the target to the application. There is a situation in which Application has child co


JTabbedPane - addTab(title, icon, component) + setTabComponentAt(index, component)
by Matthew in 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


JBoss Seam: component installed in JNDI, access of component says Not Bound
by licensing in 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:


@Local
public interface Example {
public List<String> getExamp

Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .