facelets Questions

4

Solved

I'm having a problem with charset encoding in my web application (JSF 1.2, Spring and Tomcat 7), and I've ran out of ideas of what to test to see where it is going wrong. Whenever I submit somethi...
Sharika asked 22/12, 2011 at 21:36

2

Solved

I would like to remove all HTML comments from my facelets before delivering to end users. Does any standard approach exist?
Travelled asked 2/8, 2010 at 13:15

6

Solved

I am using Eclipse Kepler,version=4.3.0(tried with version=3.7.0 also).I tried using javax.faces-2.2.5.jar and javax.faces-2.2.1.jar. Steps that i am following : File -> New -> Dynamic Web Project...
Incest asked 1/3, 2014 at 18:22

5

Solved

In my index.xhtml , I have a namespace defined like this xmlns:h="http://java.sun.com/jsf/html". The server at this url indicates that the page cannot be found. Do you know where the page has move...
Rachelrachele asked 6/7, 2011 at 9:49

4

Solved

how can i set the header style of the p:panel component? i want to set the height of the panel_header div. <p:panel id="panel" toggleSpeed="500" toggleable="true"> <f:facet name="heade...
Premises asked 28/3, 2012 at 15:48

2

Solved

I'm trying to run my Eclipse JSF project on Apache Tomcat on other computer. I created a WAR file with this tutorial. However, when I deploy the WAR and open the Facelet page in Firefox, I'm gettin...
Clardy asked 11/2, 2013 at 0:49

4

Solved

Is it possible to put JSF2 Facelets files with common content into a JAR to use it from other web applications inside e.g. <ui:composition template>, <ui:include src>, <cc:implementa...
Unspoken asked 20/8, 2010 at 13:47

16

Solved

I have difficulty in removing border from a specific PrimeFaces <p:panelGrid>. <p:panelGrid styleClass="companyHeaderGrid"> <p:row> <p:column> Some tags </p:column&g...
Paltry asked 2/5, 2012 at 20:55

6

Solved

I want to put a packman game on my *.xhtml page.(I am using jsf 2 and primefaces 3.5) However, when I "translated" the html page in xhtml I get an error at this script: <script> var el ...
Merryman asked 30/4, 2013 at 15:40

2

Solved

In JSF I can map the Faces Servlet to various URL patterns. E.g. to *.xhtml. What I want however is map the Faces Servlet to no extension. Meaning, if I have a page customers.xhtml in my web root,...
Tejada asked 21/1, 2013 at 11:55

5

Solved

As an extension of this question, I'm trying to insert Javascript to a <h:commandButton />'s onclick property as action is already rendering an ajax table. What I want to do: Get the selecte...
Outdo asked 2/12, 2010 at 18:35

8

I'm using JSF with facelets and I need to get the request and session parameters inside the JSF page. In JSP pages I got this parameter like that: "${requestScope.paramName}" or "${sessionScope.par...
Eyeopening asked 15/2, 2009 at 7:7

4

Solved

I'm trying to create a DataTable with Multiple Row Selection but i'm getting an error here's the link of the tutorial http://www.primefaces.org/showcase/ui/datatableRowSelectionMultiple.jsf : Here...
Glyco asked 8/9, 2012 at 19:25

4

Solved

I've done tutorial about Facelets templating. Now I've tried to create a page that isn't in same directory as the template. I've got problems with page style, because of styles are referenced wit...
Pronouncement asked 3/12, 2011 at 11:47

2

Solved

I am trying to toggle a page that shows a <rich:dataTable>. Before I just included the <ui:include> template and it would just show the table the whole time. <ui:include src="../log...
Orinasal asked 9/9, 2013 at 17:27

2

Solved

I would like to declare a conditional method expression in EL like below: <p:dataTable id="#{cc.attrs.datatableId}" var="overview" rowSelectListener="#{cc.attrs.detailsMode == 'single' ? cc.a...
Maplemaples asked 25/3, 2011 at 14:35

10

Solved

How do I insert a non breaking space character in JSF page like I can in HTML using  ? Is there such a tag in JSF?
Turnspit asked 31/8, 2009 at 7:19

3

Solved

I have migrated my application from JSF 1.2 to 2.2. It used XML namespaces on java.sun.com domain like xmlns:f="http://java.sun.com/jsf/core". However, Oracle's Java EE 7 tutorial is using XML na...
Remotion asked 26/6, 2015 at 8:41

8

Solved

In my JSF/Facelets app, here's a simplified version of part of my form: <h:form id="myform"> <h:inputSecret value="#{createNewPassword.newPassword1}" id="newPassword1" /> <h:messa...
Woodshed asked 24/11, 2008 at 23:2

3

Solved

Defining custom components in Facelets is easy and quick but there's one thing I can't figure out. Is it possible with Facelets to define what attributes my custom component has? I.e: I've create...
Paniagua asked 8/4, 2010 at 6:41

3

Solved

I have a datatable which displays various entities based on a List<>. When I select a cell for editing I want to be able to also get the entity somehow in order to update it. Of course there is ...
Plagal asked 4/9, 2013 at 10:34

2

I have read the following post which was very helpful Migrating from JSF 1.2 to JSF 2.0 but I am having a problem with the migration as I have a custom view handler which extends from FaceletViewH...
Bladdernut asked 25/7, 2011 at 12:41

8

Solved

I am trying to integrate Spring into a JSF application. In faces-config.xml, I have included this: <application> <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolve...
Melancon asked 29/7, 2009 at 15:16

3

Solved

Ok bit of a strange one here, Iv not seen any other reports of this, we have had some UI bugs reported from IE11 users recently, after doing some testing I realised that after performing a reRender...
Communalism asked 25/2, 2014 at 13:15

2

How do I conditionally render a <ui:define>? The data in the template depends on a required <f:viewParam>. But if an invalid view parameter is provided, then the <ui:define> sho...
Fitzhugh asked 3/12, 2012 at 2:10

© 2022 - 2024 — McMap. All rights reserved.