composite-component Questions

1

Solved

I want to create a composite component where to acutal layout of of iterating elements can be passed to the composite. This is a simplified example and works: <composite:interface> <comp...
Bicollateral asked 13/11, 2012 at 7:30

1

Solved

i want to build a custom JSF Component. Now i read some docs from oracle and saw a few code Examples. The problem is i am a bit confused: It seems there are two ways to build a custom component wi...
Lilith asked 11/10, 2012 at 19:23

1

Solved

In JSF, what would be the "right" and "clean" way to integrate JavaScript i.e. into a composite-compenent? I am a fan of Unobtrusive JavaScript, and separating HTML from JS from CSS. What would be ...
Lantana asked 27/9, 2012 at 6:41

1

Solved

I have been searching a lot for a way to make a composite component similar to: <h:selectOneRadio /> but I did not succeed. I want something like: <myowntags:selectOneRadio> <f:se...
Sprage asked 20/9, 2012 at 9:0

1

Solved

I've created some Facelets to make developing our pages easier. Particularly, I've created a series of Facelets for input components. I have 1 Facelet, <xxx:input /> that displays a label aro...
Verla asked 30/8, 2012 at 1:18

1

Solved

I am creating a JSF2 Facelets composite component. I would like the HTML to render differently if a particular facet is defined. Is there any way to check if a <f:facet name="..." /> has been...
Ricardo asked 24/8, 2012 at 19:50

2

I am in need of some assistance in getting my Composite Component to behave. I am still learning the ropes in JSF, so please excuse any ignorance that might be displayed in this post. So, I am wor...
Tergal asked 7/12, 2011 at 21:51

2

I'm iterating over a list of items in composite component. I want to expose each item of the list so that they could be used within the child component of this composite component, to create a temp...
Osteen asked 17/6, 2012 at 12:51

1

Solved

I want to implement some javas cript into my JSF composite component, but I have problem with id. My java script with: document.getElementById("myForm:customerId") does not work, because the id ...
Edile asked 27/4, 2012 at 19:52

1

Solved

I'm still not sure about proper using of JSF Templates & Composite Components. I need create an enterprise web applications, which will have a lot of pages. Every page will have the same header...

1

Solved

Unfortunately, primefaces accordionPanel doesn't works well in version 2.2.1 if you are trying to create tabs dynamically. This is my case, I need to create accordions if the user clicks an add ico...
Fianna asked 3/4, 2012 at 22:48

1

Solved

<ui:composition xmlns="http://www.w3.org/1999/xhtml" ... template="inputLayout.xhtml"> <composite:interface> <composite:attribute name="name" /> <composite:attribute name...
Choragus asked 22/3, 2012 at 7:9

1

Solved

I am facing an issue "Empty id attribute is not allowed in JSF" while using the below mentioned composite component for a group of buttons (button's count can be 1 to 3) (I use Mojarra 2-0-8 on Tom...
Pigmentation asked 6/3, 2012 at 10:12

1

Solved

I'm creating a composite component that will wrap a datatable to implement very simple paging. I need to save state (the current page number) between ajax requests. I tried creating fields in my F...
Blighter asked 23/2, 2012 at 0:11

1

Solved

I'm developing a JSF2/Primefaces app and I'm having trouble with accessing attributes defined in an interface of a composite component in this component's backing bean. My component is defined as ...
Humility asked 20/2, 2012 at 8:55

1

Solved

I am having trouble in using a JSF composite-component in the right way. I put some components together and everything was working. Then I just extracted the code to a composite-component, and pass...
Lineolate asked 5/2, 2012 at 18:59

3

Solved

Should I register a custom validator in faces-config.xml if I'm using JSF 2.0.4? My custom validator uses Validator interface which is javax.faces.validator.Validator. <cc:myComp id="customcomp...
Concentration asked 8/1, 2012 at 19:52

1

Solved

Is there a way of setting a managed bean parameter in a composite component and then leaving the using classes to decide which actual managed bean to use? something along the lines of: comp.xhtml...
Showy asked 17/11, 2011 at 0:16

1

Solved

I create a composite component like this: <cc:interface> <cc:attribute name="value" required="true" /> <cc:attribute name="rendered" displayName="True to render" default="tru...
Muniment asked 12/11, 2011 at 17:59

1

Solved

I am learning about composite components with JSF 2.0 and i want my component to be able to trigger methods from backing beans, so i created a simple example, but something is wrong. This is the c...
Seka asked 18/10, 2011 at 11:57

2

Solved

I have lot's of outputLabel and inputText pairs in panelGrids <h:panelGrid columns="2"> <h:outputLabel value="label1" for="inputId1"/> <h:inputText id="inputId1/> <h:outpu...
Impromptu asked 19/4, 2011 at 8:39

2

Solved

I'm trying to create a composite component for use in my Seam application, and I'm running into problems with the simplest "hello, world" component. I have placed a file named hello.xhtml in {jbos...
Basswood asked 15/4, 2010 at 22:12

1

Solved

How do I include a JavaScript code only once for multiple usages of a composite component on a page? Initially I had put I put the JS code inside the cc:implementation tags but that lead to the s...
Pennoncel asked 12/9, 2011 at 18:39

1

Solved

In a backing bean: @Min(3) Integer foo; If I have form like: <h:form> <h:commandButton value="Submit" /> <h:inputText value="#{bean.foo}" /> </h:form> This works ok....
Centuplicate asked 9/2, 2011 at 10:19

1

I have a recursive object bean structure, which is like list of Master DTO -> value -> list of Master DTO I am trying to create a recursive composite component with one input text and a button wi...
Ory asked 7/8, 2011 at 3:0

© 2022 - 2024 — McMap. All rights reserved.