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
2
votes
0 answers

OmniFaces o:socket and myfaces f:websocket re-implement authentication with tokens, is it possible to disable?

We were really happy to see f:websocket in JSF 2.3, as it's an awesome feature that really bridges the gap stateful applications. Unfortunately the implementation seems to be problematic in a load balanced environment, or worse off in a…
Jonathan S. Fisher
  • 8,189
  • 6
  • 46
  • 84
2
votes
1 answer

Making Glassfish respond to ajax request JSF 2

I'm trying to do an ajax request to my server (Glassfish v3.1 open source edition) and for any reason the request never go to the server, running the same proyect on tomcat 7 it works correctly, there's any configuration that i should make on…
Jose Gregorio
  • 59
  • 1
  • 8
2
votes
0 answers

JBoss 7.2 upgrade with JSF - No active contexts for scope type javax.enterprise.context.SessionScoped

I am trying to upgrade our Jboss EAP from version 6.4.21 to 7.2. We are using JSF with myfaces implementation – version 2.3.7 The Jboss server starts successfully but as I try to browse to the application, I am getting the following…
bga
  • 21
  • 1
2
votes
2 answers

Getting same instance of `componentType` in composite component on every use

Hi Have this Wierd Issue in which I am using a Composite Component which I wrote and I get values from the previous use of the backing bean of the CC (the componentType bean) I don't know how to describe this better than just show the code. I'll try…
Ben
  • 10,020
  • 21
  • 94
  • 157
2
votes
1 answer

FacesConverter is null (JSF 2.3, CDI 2.0)

I tried to setup a FacesConverter to display some entity through my JSF page as referenced in JSF specification. I'm running the following: - Open Liberty 19.0.0.11 (tested on 19.0.0.6 as well, don't ask me why this version, I picked randomly…
Cedric
  • 23
  • 2
2
votes
2 answers

How can I execute jQuery click() event before a JSF or action is performed?

Trying to bind click confirmation with jQuery (to clean code in JSF page) I understand that onclick inline function (oamSubmitForm();) written by MyFaces is executed before jQuery click() event. Is possible to do jQuery click before…
Mirco Attocchi
  • 776
  • 1
  • 7
  • 14
2
votes
1 answer

Customize Facelets error page

I have a Facelets(JSF 1.2 (myfaces)) web app and I want to customize my error page - which would seem to be a natural thing to do when an application matures. I got really confused in the process. I found the following: I haven't found a way to…
mist
  • 1,853
  • 2
  • 19
  • 33
2
votes
1 answer

myfaces htmlHead is not rendered first

I have started to maintain a legacy JSF application. It uses myFaces 1.1.x and tomahawk 1.1.6. I need to print META tag X-UA-Compatible as the first element of HEAD element otherwise IE will ignore it. <%@page contentType="text/html;charset=UTF-8"…
Leos Literak
  • 8,805
  • 19
  • 81
  • 156
2
votes
1 answer

EE4J , JSF spec , MyFaces and Future direction

Until JSF 2.3 the mojarra (reference implementation) and myfaces were based on JSR specification document. With a move to the EE4J: Would there be any equivalent of specification document? how does it impact the future of other implementation…
Ravi
  • 391
  • 2
  • 18
2
votes
0 answers

WebSphere Portal 6.1 + WAS 6.1 + Myfaces Portlet Bridge

Does anyone know how to replace the IBM JSF Portlet Bridge with Myfaces Portlet Bridge 2.0? I want to set up a small local testing environment. Pluto + Tomcat + Myfaces Portlet Bridge. My Portlets are on JSF 1.1, but it should be possible to use JSF…
lrxw
  • 3,576
  • 7
  • 32
  • 46
2
votes
1 answer

How to refer element id dynamically

I am trying to spread the radio buttons using tomahawk selectOneRadio. My id looks like this
Achaius
  • 5,904
  • 21
  • 65
  • 122
2
votes
0 answers

JSF h:selectOneMenu wont call relevant setter method

Hi I've got a question
Darth Shirr
  • 527
  • 1
  • 7
  • 24
2
votes
1 answer

not rendered when using MyFaces instead of Mojarra

I've been developing a website with JSF2.0 TomEE 1.7.3. In the last question I've asked : What are the recommended JSF dependencies with TomEE1.7.x? I got advices and decided to migrate from GlassFish(Mojarra) Faces to myFaces, because myFaces is…
Hirofumi Okino
  • 975
  • 1
  • 10
  • 22
2
votes
1 answer

MyFaces Tomahawk JSCookMenu - failure to navigate to page defined by action in faces-config

This is my first attempt at using JSCookMenu and its homepage (http://jscook.yuanheng.org/JSCookMenu/) has been down for more than a week, so forgive me if the answer to my question should appear on there. I have a simple web app, stripped down in…
Sorcha
  • 195
  • 1
  • 2
  • 7
2
votes
1 answer

Bug with omnifaces 1.10 when OmniPartialViewContext#startDocument performs transparent redirection

I am using the following stack : PrimeFaces 5.3.1 MyFaces 2.2.8 OpenWebBeans 1.6.2 OmniFaces 1.10 DeltaSpike 1.5.1 Tomcat 8.0.28 AFAI understand, only MyFaces and OmniFaces are important there. I have a bug when an ajax request is performed by a…
Ludovic Pénet
  • 1,136
  • 1
  • 16
  • 32