composite-component Questions

2

Solved

I have the following code in my facelet page: <hc:rangeChooser1 id="range_chooser" from="#{testBean.from}" to="#{testBean.to}" listener="#{testBean.update}" text="#{testBean.text}"> &...
Amphoteric asked 30/12, 2014 at 13:47

1

Solved

I have a tag library which was written in JSF 2.0 + PrimeFaces 3.4, now i am trying to update to JSF 2.2 and PrimeFaces 4.0. But i realized that the value of attributes passed to component evaluate...
Dap asked 24/9, 2014 at 12:59

1

Solved

you have saved me many times ago with this forum, but now I am really stuck and don't now where to search any longer... I always get the following error message (warning level, but method is also ...
Triptolemus asked 5/8, 2014 at 15:0

1

Solved

I have a composite component which has ajax: <composite:interface> <composite:attribute name="question" required="true"/> <composite:attribute name="value" required="false"/> ...
Chymotrypsin asked 22/5, 2014 at 10:18

1

I am trying to make two composite componenets play well together by nesting one as a child. The setup consists of a lightbox and a input both with an attribute called "Value". This works fine, unti...
Latex asked 11/10, 2013 at 13:12

1

Solved

I have a small library (JAR) containing some custom JSF-components. Some of them are composite-components which are completely (or partly) implemented in XHTML files which reside under META-INF/res...
Lanthanum asked 7/3, 2014 at 10:45

1

Solved

I want to create validator for composite component where I want to pass few attributes. This is how code looks like (it's not original code but is implemented in the same way): Composite component ...
Neace asked 21/2, 2014 at 14:33

3

I'm trying to find out if this is a JSF/EL issue or something wrong here. Basically, I wanted to pass an item object as a ui:param to a ui:composition and have a button inside (i.e. bootstrap butt...
Oblong asked 10/9, 2012 at 14:0

1

Solved

This is called 3 times, for each row once. (example table has 3 rows) .... <ui:param name="rowIndex" value="#{cc.attrs.rowIndex}" /> <ui:param name="rowActive&quot...
Irrelevant asked 11/11, 2013 at 13:54

3

Solved

I have the following composite component: <?xml version="1.0" encoding="UTF-8"?> <ui:component xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http...
Hymanhymen asked 15/10, 2012 at 13:57

1

Solved

I am making composite component where i have commandButton. But it doesn't work. Usage: <wk:commandButton value="Non-Ajax actionListener" actionListener="#{ioBean.saveListener}" /> Code...
Commendatory asked 14/10, 2013 at 16:36

1

Solved

I am reading The Java EE 7 Tutorial from http://docs.oracle.com/javaee/7/tutorial/doc/jsf-facelets005.htm#GIQZR After I typed the example code in the chapter 8.5 Composite Components in my IDE and...
Desdamona asked 26/8, 2013 at 4:14

1

Solved

I have build a composite component witch looks something like this: <composite:interface> <composite:attribute name="id" required="false" /> <composite:attribute name="label" requ...
Anglin asked 22/8, 2013 at 11:53

2

Solved

I have a composite component with an interface that contains this: <cc:attribute name="model" shortDescription="Bean that contains Location" > <cc:attribute name="location" type="pkg.Lo...
Lexie asked 23/8, 2011 at 13:38

1

I have to migrate a composite-component to a custom-component. This example is rather simplified, but demonstrates the problem: the childs of my component (my:test) need to be rendered in another c...
Partizan asked 30/5, 2013 at 7:7

1

Solved

I have on a page two p:dataTable. The left one is mainly used for selection <p:dataTable id="leftTable" var="item" value="#{bean.items}" selection="#{bean.item}" selectionMode="single"> &l...
Caelum asked 6/3, 2013 at 7:46

3

Solved

I am writing a (composite) component that needs to interact with my DAO. Here is how the Java part is declared: @FacesComponent(value="selectLocation") public class SelectLocation extends UINaming...
Dabster asked 23/8, 2011 at 20:30

1

Referring to my earlier question (Programmatically create and add composite component in backing bean) I have succesfully able to add composite components from backing bean. Now I have a new proble...
Phagocytosis asked 17/4, 2013 at 9:2

2

I need to programmatically create composite components in JSF 2. After few days of searching and experiments I figured out this method (highly inspired by Lexi at java.net): /** * Method will at...
Motch asked 20/3, 2011 at 17:30

1

Solved

I am working with a dynamic dashboard where users can pin and remove items as they like. Now I have a problem that I want to add existing composite component to the view from the backing bean. I've...
Shriek asked 5/4, 2013 at 7:47

1

Solved

I use JSF 2.0 (Apache myFaces) on WebSphere Application Server 8. I have a bean which contains a list of charts (data for jquery HighCharts). For each chart I need some JSF components + one Highcha...
Ruelas asked 27/2, 2013 at 14:5

1

Solved

I have an issue with using p:outputLabel when used with composite component. I have composite component with p:inputText field (I removed irrelevant parts from component): <cc:interface> &l...
Bucci asked 21/2, 2013 at 12:36

2

Solved

I'm trying to update a parent component from a composite component event using f:ajax. The composite component is here: <cc:interface> <cc:attribute name="update" /> <cc:attribu...
Manilla asked 25/3, 2012 at 8:1

1

Solved

I have an issue with logging into my website that appears to manifest in the mobile chrome browser (but works for the web-kit browser provided in some phones). I'm working trying to get into a "dev...

1

Solved

I'm trying to create a custom composite component colorPicker using this jQuery plugin http://www.eyecon.ro/colorpicker/. I´d like to be able to append a jsf tag f:ajax, and when a color is select...

© 2022 - 2024 — McMap. All rights reserved.