Questions tagged [myfaces]

Apache MyFaces provides an implementation of the JSF specification ("MyFaces Core"), and a set of add-on libraries that work on any implementation of the specification.

Apache MyFaces is a Java Server Faces(JSF) implementation. It is a project of Apache Software Foundation and holds many sub-projects. All MyFaces frameworks, UI Libraries, components and extensions are based on MyFaces Core that has two submodules MyFaces API (myfaces-api.jar) and MyFaces Impl (myfaces-impl.jar). Following are the some information of some MyFaces sub-projects:

  • Trinidad : A framework that provides a large set of enterprise quality components. Project Site and Demo Site.

  • Tobago: It provides rich set of JSF based UI Components. The UI Components are abstracted from HTML. It also provides theming mechanism and a layout manager. Project Site and Demo Site.

  • Tomahawk: It is a set of JSF components that go well beyond the JSF specification. The Tomahawk family of components includes converters, validators, and a set of attributes added to the JSF components. Project Site and Demo Site.

Find more information on MyFaces on The Apache MyFaces main site. A good source of information can also be found on this site. A good starter tutorial can be found at this site. There is also a reference in Wikipedia.

685 questions
0
votes
0 answers

Tomcat 7 Guava issue?

I'm working on a JSF2, MyFaces and Guava website. Earlier i deployed it on a Glassfish v3 server with no problem. Now i get this strange error when i trying to deploy it on my tomcat 7 server: YYYY-MMM-DD HH:mm:ss…
ClydeFrog
  • 912
  • 1
  • 14
  • 38
0
votes
2 answers

Apache myfaces renders datatable before processing ajax event

I have a selectOneMenu which controls what should be shown in the datatable. The code is as below (I have removed all unnecessary staff):
flyasfish
  • 119
  • 2
  • 3
  • 11
0
votes
1 answer

Jsf PrimeFaces. Error during the render response. p:commandButton

I'm starting to use JSF with primefaces library over an Hibernate project. I've tried to use wizard component to manage a form but, when I click any of the buttons in the wizard, I get the following warning and the action listener is not invoked. I…
Daniela Mogini
  • 299
  • 1
  • 5
  • 17
0
votes
1 answer

t:dataScroller not working correctly on refresh

I'm using t:dataScroller to scroll some data from a t:dataTable and it is working fine except for one thing: every time an action that causes the screen to be refreshed is triggered the t:dataScroller's index is set to 1. To be more clear: when i'm…
zango123
  • 1,690
  • 2
  • 15
  • 18
0
votes
1 answer

Migration from myfaces 1.1 to 1.2

I'm trying to upgrade our web application from myfaces 1.1 to 1.2. I hoped it is easier than migration directly to the newest 2.x version. However, I'm getting such an error, when I'm trying to start the application: SEVERE:…
pkalinow
  • 1,619
  • 1
  • 17
  • 43
0
votes
1 answer

Unknown NullPointerException when trying to run Apache MyFaces 2.0.2 application

I am trying to run a sample JSF 2.0 application which is built on Apache MyFaces 2.0.2 and Apache Trinindad 2.0.1. I am running on weblogic 11g. I am encountering an NullPointerException in trinidad internal classes which i am unable to debug. Here…
Sreeram
  • 3,160
  • 6
  • 33
  • 44
0
votes
1 answer

JSF2( MyFaces) + hibernate + RichFaces Fails to Deploy

I've started a new project with MyFaces 2.1.8, Hibernate 4.1, tomcat 6.0.35 and RichaFaces 4.2.2. I downloaded myFaces 2.1.8, richafces, tomcat and then in myEclipse added "Hibernate Capabilities" which added the hibernate jars. so below are the…
ke3pup
  • 1,835
  • 4
  • 36
  • 66
0
votes
1 answer

Can't use primefaces push

I'm trying use p:push in a dialog and I'm getting this error in chrome: Uncaught Error: INVALID_STATE_ERR: DOM Exception 11 primefaces.js.xhtml:1 PrimeFaces.widget.PrimeWebSocket.send primefaces.js.xhtml:1 …
brevleq
  • 2,081
  • 10
  • 53
  • 97
0
votes
1 answer

f:ajax does not update t:dataTable on complete

I have a JSF search command button and a tomahawk dataTable that showing the result from a search. When clicking on the command button, the dataTable should output the search result. Anyway, since I use the JSF Ajax, the dataTable doesn't show. I am…
huahsin68
  • 6,819
  • 20
  • 79
  • 113
0
votes
1 answer

Myface CODI is not throwing exceptions in Eclipse

I do JSF development using Myfaces, Primefaces, Tomcat in Eclipse IDE. When testing thru I used to get exceptions thrown by Myfaces/Primefaces in the Eclipse Console. Recently I enhanced my development environment by adding MyFaces CODI and…
Murali D
  • 448
  • 1
  • 4
  • 18
0
votes
1 answer

What happens to @SessionScoped @ManagedBean which is already in HttpSession?

Old code creates a @SessionScoped @ManagedBean (namely UserSession) at the first request in a ServletFilter and puts it in the HttpSession (if not already there). Now what happens when some EL expression tries to access that ManagedBean the first…
atamanroman
  • 11,607
  • 7
  • 57
  • 81
0
votes
1 answer

How can i use the markInitialState method?

How can i use the markInitialState() method? I want to save the initial state of my component. Is markInitialState for this?
maxtorzito
  • 308
  • 7
  • 14
0
votes
1 answer

Parsing error when deploying Tomcat6 JSF application - digester.Digester

I'm getting a strange parsing issue when I try to start Tomcat6 with my application (that I am trying to port from Tomcat7 to Tomcat6). The Digester itself does not declare an error until it hits an unexpected end of file - this parsing itself must…
Ramesh
  • 613
  • 1
  • 10
  • 28
0
votes
1 answer

Popup not working Tomahawk

I'm trying to run a sample code on t:popup. I copied code is as below. <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib…
Jane
  • 127
  • 1
  • 9
0
votes
1 answer

myfaces+ajax+IE - problems on page loading

After I added f:ajax tag to one of my pages, tomcat automatically inserted jsf.js script into header: