composite-component Questions

2

When I create a composite component with a facet in it and place a command link within that facet, I get an error message: This link is disabled as it is not nested within a JSF form. A commandBut...
Spearwort asked 13/8, 2015 at 18:40

2

Solved

Given this datatable (naturally working): <rich:dataTable var="var" value="#{values}"> <rich:column> <f:facet name="header"> HEADER </f:facet> <h:outputText value="#...
Ento asked 11/7, 2012 at 19:21

8

In the code bellow the jsf html commandButton action is called perfectly. But primefaces commandButton action is not called. <ui:component xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http...
Manado asked 21/10, 2011 at 18:20

2

Solved

I'm writing my custom table composite component with Mojarra JSF. I'm also trying to bind that composite to a backing component. The aim is to be able to specify the number of elements the table ha...
Burtonburty asked 3/2, 2014 at 11:5

5

Solved

I'm implementing a composite component and I found a issue which I didn't find a solution. I specified its attributes that can or not be passed by the page author, but I couldn't specify a method ...
Danielledaniels asked 14/3, 2013 at 21:0

3

im currently creating a JSF composite-component with a method signature that can accept parameters. Here's the excerpt : <composite:interface> .... <composite:attribute name="activate...
Timothee asked 7/7, 2011 at 4:9

1

Solved

When attempting to bundle our composite components into a jar and include as a dependency in another project, I followed the following answer. This works for everything except the composite compon...
Frerichs asked 30/1, 2018 at 18:31

3

Solved

I have a composite component that looks something like this: <!DOCTYPE html> <html xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:dm="http://davem...
Shadowy asked 6/7, 2012 at 19:9

3

Solved

I need to verify whether an optional attribute has been passed or not within my composite component. How can I achieve this? <composite:interface> <composite:attribute name="attr1" />...
Conciliatory asked 4/12, 2012 at 12:17

2

Is there any way using EL to retrieve a children list so i can iterate through it with <ul> <ui:repeat value="#{Magic El expression}" var="children" > <li> <p> #{childre...
Vollmer asked 15/2, 2011 at 3:49

1

Solved

So after several days of debugging, we were eventually able to reproduce some strange interactions between composite components, ui:repeat, p:remoteCommand and partial state saving in JSF that we d...
Heaviness asked 29/6, 2016 at 14:18

1

I have added a common JAR to my project. The jar looks something like... CommonWeb.jar |-- META-INF | |-- resources | | `-- common | | |-- css | | | `-- my.css | | |-- js | | | `-- my.js |...
Sheilasheilah asked 6/2, 2014 at 15:40

2

Solved

So I made a composite component FileAdder.xhtml <composite:interface> <composite:attribute name="type" value="#{editoriCompositeController.typeString}"/> </composite:interface> ...

2

I'm looking to generate documentation for a custom JSF 2 composite component library. The composite components are not referenced in any faces-config.xml file, but rather the .xhtml files for...

2

I have developed composite components using JSF 2.0 in Eclipse. I've been putting my XHTML tag files inside resources folder. When I hit ctrl + space in keyboard, the property of the tag are not d...
Photolysis asked 16/12, 2014 at 13:1

1

Solved

I have a h:graphicImage in a composite component like this: <composite:interface> <composite:attribute name="name" required="true" type="java.lang.String" /> <composite:attribute ...

3

Solved

Note: I'm using mojarra 2.1.20 and rich faces 4.2.2. I've analyzed a heapdump and I've noticed that EL expressions reside in LRUMap in the session. Does anyone know why and what to do to avoid it?...
Kast asked 11/10, 2013 at 4:15

2

Solved

Problem I am using JSF 2.1.13 to create a prototype to demostrate the benefits of JSF over our current webapp built with JSP and struts 1.1. I following code using works with JSF 2.2.6, but I had ...
Argal asked 17/7, 2014 at 22:16

1

Solved

I've read the various blog posts and stackoverflow posts on how to create a composite components and custom tags within a web app and have gotten things to work just fine. I'm now trying to move ev...
Generator asked 14/8, 2015 at 19:47

1

Solved

I have the following composite component (<v2:inputText2>) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> &...
Hooknosed asked 10/8, 2015 at 6:24

1

Solved

ORIGINAL JSP (WorkItem.jsp) <c:forEach var="actionItem" items="${workItem.work_action_list}"> <c:if test="${actionItem.workActionClass.work_action_type_id == '1'}" > <%@ include f...
Mays asked 30/7, 2015 at 19:36

3

Solved

I just dont get it: If I want my composite component to insert children, I use <composite:insertChildren/> but #{cc.childCount} always returns 0 in that case. On the other hand, If I do not ...
Catinacation asked 16/6, 2011 at 19:36

3

Solved

I'm building a login form composite component. The page that uses it will pass an event handler that will validate the username and password. Usually (not using composite components) when we perfor...
Bridge asked 9/6, 2012 at 19:3

1

Solved

The problem When I attempt to nest a Composite Component within itself, with some logic to end the infinite recursion I receive a stack overflow exception. My understanding is that <c:xxx> t...
Aircondition asked 1/5, 2015 at 12:43

1

Solved

I am using GlassFish 3.1.2 and trying to use composite:insertFacet in a composite component, but the HTML Markup is not generated when using my CC. The same code works fine when I use composite:re...
Phenylalanine asked 25/1, 2015 at 13:54

© 2022 - 2024 — McMap. All rights reserved.