facelets Questions

2

Solved

I try to use <f:param> tag to build output link URL with parameters depending on some my conditions. When I place this tag inside h:output link and try to set different values for 'disable' ...
Counselor asked 9/6, 2011 at 20:18

6

I am having trouble with implementing two SelectOneMenu controls, where data in the second one depends on the selection made in the first. This example on the primeFaces showcase is almost the same...
Hepplewhite asked 22/6, 2011 at 5:49

2

Solved

I'm using JSF 2.0 with Facelets in a Java EE 6 application server (GlassFish v3). I have configured an error page for exceptions, in web.xml: <error-page> <exception-type>java.lang.Th...
Gamecock asked 8/6, 2010 at 15:5

2

Solved

I have a simple Facelet tag: <ui:composition> <ui:insert /> </ui:composition> which is used in order to avoid declaring multiple c:set tags. Let's say I registered it in the ...
Sheridan asked 21/5, 2012 at 19:49

1

I am using JBoss4.2 with the eclipse IDE. When I run the hellojsf program using JSP view technology, it works fine. When I try with Facelets usings the same components, I am getting the below excep...
Hifalutin asked 20/6, 2012 at 7:24

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

2

Solved

Related to a previous example, i tried to monitor my get/set methods on the server (when they are called, and how often). So, my actual been look such : @ManagedBean(name="selector") @RequestScope...
Skvorak asked 25/11, 2010 at 22:28

1

Solved

It occurs ago me that ui:decorate is functionally the same as ui:include except that you can also pass ui:param and ui:define to the included file. Am I crazy? EDIT : Although in fact you can pas...
Yentai asked 27/5, 2012 at 23:51

1

Solved

I am trying to implement pinterest's pinit button using a snippet like the one below: <h:outputLink value="http://pinterest.com/pin/create/button/" class="pin-it-button" count-layout="horizonta...
Fiske asked 22/5, 2012 at 11:24

1

Solved

I need to create a layout like this but with all the containers on separated files, like: top.xhtml <p:layout fullPage="true"> <p:layoutUnit position="north" header="#{support.applicati...
Meunier asked 21/5, 2012 at 16:48

2

Solved

I have found one idea here, putting files under /WEB-INF is a way to block direct access: With Facelets, one can also put XHTML files under the /WEB-INF, if they are templates or included files...
Teage asked 13/5, 2012 at 14:16

5

I am using JSF with RichFacecs to create a web portal .I want to redirect the user to the login page on session time out. I was trying to throw a SecurityException in session expiry/logged out stag...
Goethite asked 17/9, 2009 at 11:44

2

Solved

When I try to call Richfaces.showModalPanel('id') I am getting Richfaces is not defined javascript error and nothing happening. In my sample application I have two pages, one is master view and an...
Pinnate asked 1/5, 2012 at 20:27

2

Solved

I see this information in my jboss console, when my pages don't render properly. Does anyone know what this means? 14:22:46,403 INFO [facelet] Facelet[/layout/header.xhtml] was modified @ 1 :54:54...
Chime asked 29/9, 2010 at 8:56

2

Solved

I've been working with a simple Java EE project using JSF. <h:form id="phoneForm"> <h:dataTable id="phoneTable"> </h:dataTable> </h:form> I tried to set CSS via #phon...
Isar asked 4/5, 2011 at 4:48

0

I am trying to include jsp page in my xhtml page following how-to-include-a-jsp-page-in-a-facelets-page but UIComponentBase class is not found, not sure why as application builds fine am getting th...
Nine asked 12/4, 2012 at 16:45

3

Solved

If I cannot use the @ManagedProperty annotation with @Named, because @ManagedProperty doesn't work in CDI(?), then how do you pass params in the URL to the facelets client? In my code, I want to pa...
Transpadane asked 7/4, 2012 at 22:19

4

Solved

How to skip JSR-303 Bean validation with JSF, when a button is clicked? A bit lengthy question to explain a few approaches... Consider a list in a form: <h:form id="form"> <h:commandBut...
Carincarina asked 31/1, 2011 at 15:14

1

Solved

I have been playing with JSF and have a project working that has a header/footer/navigation/content panels. The project, however, goes from page 1 to page 2, etc., with each page having a different...
Hyson asked 1/4, 2012 at 15:20

1

Solved

How can i set the id of ui:repeat Structure of my code is Tabview ui : repeat dattable column checkbox I am getting the id of checkbox as tabViewId:0:j_idt45:0:dataTableId:0:checkBoxId ...
Mciver asked 29/3, 2012 at 7:17

1

Solved

I have made a lot of progress in converting my JSF applications to book-markable pages, but I am wondering if I am doing it the right way. One question is that is there a best-practice location for...
Fenske asked 25/3, 2012 at 0:12

1

Every project example I've seen so far, in a book or a tutorial, have got the XHTML (Facelets) pages on the same level as WEB-INF directory. I've read also that in order to have the pages not direc...
Feedback asked 16/3, 2012 at 10:45

3

Solved

I would like to create table which can display data from database into JSF page. I found this code: <h:dataTable value="#{bookStore.items}" var="store"> <h:column> <f:facet name="...
Tuantuareg asked 8/3, 2012 at 10:28

5

Solved

Facelets relies on XML namespaces to work with XHTML. How are HTML 4, and as far as I know, HTML 5 do not support namespaces. Also HTML 5 has some new elements that are not available in XHTML. Even...
Matabele asked 29/5, 2010 at 16:19

1

Solved

Perhaps somebody can enlighten me. If putting <f:metadata> <f:viewParam name="test" value="#{test.value}"/> </f:metadata> inside a template, the setter setValue is never call...
Extraditable asked 4/3, 2012 at 9:4

© 2022 - 2024 — McMap. All rights reserved.