facelets Questions

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 want to understand the basic mechanism of <ui:remove>. As per my knowledge, <ui:remove> is basically used in conjunction when basic HTML stuff is part of your Facelets page. When you ...
Firkin asked 26/6, 2013 at 13:8

3

Solved

I'm using JSF 1.2 with Richfaces and Facelets. I have an application with many session-scoped beans and some application beans. The user logs in with, let's say, Firefox. A session is created wit...
Wilfredowilfrid asked 3/3, 2010 at 15:4

3

Solved

I am using Eclipse to work with PrimeFaces like this: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/h...
Elaina asked 30/10, 2010 at 20:41

1

Solved

I need to execute a JSF managed bean action method using ajax during HTML DOM load event, similar to jQuery's $(document).ready(function() { $.ajax(...) }). I can only use the JavaScript generated ...
Amido asked 16/5, 2013 at 13:7

1

Solved

I have a <p:panel> with id X and i want to remove the padding from its content X_content the generated HTML for the panel content is: <div id="X_content" class="ui-panel-content ui-widge...
Marked asked 10/5, 2013 at 15:49

1

Solved

I have included a JSP page into Facelets using <ui:include>. In JSP page I am able to get the PDF, but it displays content as plain text. How is this caused and how can I solve it? JSP page:...
Chaffinch asked 25/4, 2013 at 6:2

1

Solved

I am trying include a common page into a template but all I get is a blank page without error. common.xhtml actually has the content that indicate in the template.xhtml. It seems the template.xhtm...
Caril asked 22/4, 2013 at 21:12

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

3

Solved

I have a client who wants to use JSF2 and they like that XHTML is now the default (Facelets). However, they have a huge amount of "legacy" JSP from their JSF1.x codebase. I know it's probably not...
Keele asked 14/10, 2010 at 18:0

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

3

Solved

I am following the Java EE6 tutorials and I don't understand the difference between JSF and Facelets. Chapter 4 goes has a section 'Developing a Simple JavaServerFaces Application' and Chapter 5 ha...
Dalston asked 12/7, 2012 at 17:57

2

Solved

I have a problem with one JSF page. This is the source code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns:h="h...
Shayna asked 26/12, 2011 at 10:7

2

Solved

I am having a little trouble figuring out how to do and's on EL expressions in Facelets. So basically I have: <h:outputText id="Prompt" value="Fobar" rendered="#{beanA.prompt == true &&a...
Michikomichon asked 18/12, 2011 at 15:59

1

Solved

I want to use ManagedBean in my Converter. The ManagedBean is responsible for getting data from database. In Converter I want to convert string into object which must be get from database. This is...
Cahier asked 13/3, 2013 at 17:55

3

I have a template somewhere that has <ui:insert name="help_contents" /> and a page that defines <ui:define name="help_contents><!-- actual contents --></ui:define>, where th...
Oxyacetylene asked 27/2, 2013 at 12:34

2

I have the following construct at several places in my webapp in order to conditionally render page fragments depending on some actions: <h:panelGroup rendered="#{managedBean.serviceSelected ==...
Corin asked 16/8, 2012 at 14:40

1

Solved

Is it possible to create a custom JSF core Facelet component. Something like <custom:composition> of <ui:composition>, or <custom:include> for <ui:include> It would be helpf...
Fadein asked 21/2, 2013 at 16:10

3

Solved

I'm using JSF 2.0. I'm using the <h:messages> tag to render error messages. I can use css to style my messages a little bit but I've create a composite component to render messages that c...
Redbug asked 14/2, 2011 at 0:32

1

Solved

I am using JSF 2.0. I created custom JSTL tags with tagfiles and that were working fine in JSP. But I want to use custom JSTL tags in Facelets too. Is it possible to create tagfiles in Facelets or ...
Ani asked 7/2, 2013 at 12:55

1

Solved

There is a problem with p:selectOneMenu selection when adding a f:selectItem. View: <p:selectOneMenu value="#{selectionTest.selectedName}"> <f:selectItem itemLabel="Select" noSelectionO...
Gymnosophist asked 1/1, 2013 at 13:11

1

Solved

How can we include multiple xhtml pages into a summary page. Here all the xhtml pages including same template. commonTemplate.xhtml <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.o...
Reinareinald asked 27/12, 2012 at 12:33

1

Solved

Is there a rule on how to overwrite template definitions <ui:define> with <ui:insert>. Template A: <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"> template A conte...
Enrollee asked 26/12, 2012 at 6:15

3

Solved

If I want to create more than one instance of managed bean in JSF 2.0, under different names in the same scope, how should I proceed? Ideally, I want the equivilant to (for example): @ManagedBeans...
Mediant asked 14/9, 2010 at 14:53

© 2022 - 2024 — McMap. All rights reserved.