composite « Component « JSF Q&A





1. jsf 2 composite component problem when use f:facet    stackoverflow.com

I am new to JSF, so I have many problems with it. I have solved much, but now I have a problem when I make composite component of column. This is the ...

2. Newbie in JSF: composition vs composite    stackoverflow.com

I am starting development on a new web application which uses JSF 2 as the view technology. I have no prior experience with JSF and am a bit confused about the concepts.
I ...

3. Generate Documentation for JSF 2 composite components    stackoverflow.com

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 the ...

4. JSF 2.0 custom composite controls & nesting    stackoverflow.com

Greetings, I'm trying to implement my custom TAB control. I'd like it to be based on new composite components feature of JSF 2.0:

<i:tabControl width="480" height="320" value="#{backingBean.someIterable}" var="tab" >
    <i:tabItem href="#{tab.href}" ...

5. JSF Composite Component    stackoverflow.com

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 ...

6. First simplest composite component not working. JSF    stackoverflow.com

I am following this tutorial :- http://blogs.sun.com/enterprisetechtips/entry/true_abstraction_composite_ui_components But it's not working for me. This is my index.xhtml :-

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    ...

7. Composite Components - send more than one f:setPropertyActionListener jsf2    stackoverflow.com

I am trying to create a custom component that recieves a link and adds style class. In the original link, that the user may have f:setPropertyActionListener more than once. I don't want to ...

8. JSF define custom namespace for component declaration    stackoverflow.com

when you use a component from extarnal libraries (or custom component) in JSF page you add the xmlns declaration, for example: xmlns:util="http://java.sun.com/jsf/composite/component/util I would like to know what I have to do to ...

9. JSF2 has children    stackoverflow.com

I'm writing a composite component, you have a special tag named:

<composite:insertChildren />
Which inserts all the component's children there. Is there any way to know whether the component has children? Like a ...





10. JSF composite component childrens    stackoverflow.com

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" >
      ...

11. jsf difference between implicit objects cc and component    stackoverflow.com

Maybe this is a dumb question, but I use

cc
to refer to the composite component, for instance cc.attrs.randomAttr but I have also seen the
component
implicit object and I have used it because ...

12. JSF composite:insertFacet and composite:renderFacet    stackoverflow.com

I want to have a composite component with a facet in it, which I implement in my "implementation" of this composite component. My problem are ids, because when I only define ...

13. How to make a grid of JSF composite component?    stackoverflow.com

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:outputLabel value="label2" for="inputId2"/>
  <h:inputText id="inputId2/>

  ...
</h:panelGrid>
I want to have some ...

14. ActionExpression with composite components    stackoverflow.com

I am attempting to create a composite component that has a managed bean as an attribute and creates a variety of t:commandLink's whose action attributes will be various commands from the ...

15. Date conversion exception inside JSF composite component    stackoverflow.com

When I access a JPA managed date value from JSF, it comes back with an javax.faces.component.UdateModelException saying

'Cannot convert 01.01.10 00:00 of type class java.util.Date to class org.apache.openjpa.util.java$util$Date$proxy 
Using a JPA-managed date ...

16. Is there such a thing as inheritance in JSF 2 composite components?    stackoverflow.com

Is there such a thing as inheritance in JSF 2 composite components? As far as I know, there isn't. I'm just making sure. Thanks!





17. Where is JSF 2.1 complete documentation?    stackoverflow.com

I have many questions regarding JSF 2.1. I post most of them here since, I could never find the real ultimate documentation where I can get the answers. For example, I would currently ...

18. The basics of JSF Custom+Composite Components in JSF 2.0    stackoverflow.com

I've created a new question that should better explain my situation I'm working with something similar to the example given here What I'm doing requires a preprocessing of one of the ...

19. Is it possible to call parameterized method-signature inside a composite-component?    stackoverflow.com

im currently creating a JSF composite-component with a method signature that can accept parameters. Here's the excerpt :

<composite:interface>
    ....
    <composite:attribute name="activateHeroMethod" method-signature="java.util.List action(id.co.sofcograha.core.Dto, id.co.sofcograha.core.Dto)" />
</composite:interface>

<composite:implementation>
 ...

20. JUnit for JSF2.0 composite components    stackoverflow.com

We are starting to build infrastructure components in JSF2.0. What is the best approach for unit testing them? I tried JSFUnit in the past but wasn't satisfied with it. Is there an easier ...

21. Using resources of composite components from an external JAR    stackoverflow.com

I am using my composite components in an external jar-archive. In my jar-archive i have resources like images and css-files. For example, one of my components uses a button with an ...

22. Using CSS in composite components in a JAR    stackoverflow.com

I have created a composite component in JSF2. I works great. I would like to create it as JAR for future use. I followed the instructions here. However, when it comes to ...

23. JSF Recursive Composite Component    stackoverflow.com

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 ...

24. JSF: extending standard components via composite interface    stackoverflow.com

I'm trying to extend JSF's component class (let it be one of h:panelGroup) and render it via composite component: Step 1:

@FacesComponent(value="customPanel")
public class CustomPanel extends HtmlPanelGroup { // or UIPanel
}
Step 2:
<!-- INTERFACE -->
<composite:interface ...

25. JSF composite components. How do I pass top-level f:facet to underlying component?    stackoverflow.com

For a long time I had one composite component defined and used as follows:

<!-- simple -->
<composite:interface>
  <composite:facet name="header"/>
</composite:interface>
<composite:implementation>
  <composite:renderFacet name="header"/>
</composite:implementation>

<xyz:simple>
  <f:facet name="header">
    test
  </f:facet>
</xyz:simple>
Now ...

26. How to localize JSF 2 composite components    stackoverflow.com

I have some doubts on how localization works with composite components in JSF, i want to understand well how it works. So i decided to practice localization for composite components with a ...

27. Fail to call method inside JSF 2.0 Composite Component    stackoverflow.com

I am learning to use Composite Componentes in JSF 2.0. First I created this component bellow. It declares a managedBean and call a method of the managedBean directly.

<h:commandButton 
  ...

28. Composite Components    coderanch.com

29. Recursive Composite Component    coderanch.com

30. composite component not working    coderanch.com

31. Composite component in JSF2.0    coderanch.com

33. Recursive Composite Component    coderanch.com