Questions tagged [mojarra]

Mojarra is the codename of Sun/Oracle's JSF reference implementation. It is a subproject of Glassfish.

Mojarra is the codename of Sun/Oracle's JSF reference implementation. It is a subproject of Glassfish.

Online resources

Related tag info pages

Frequently asked questions

472 questions
12
votes
2 answers

selectManyCheckbox LazyInitializationException on process validation

It appears that if you use a selectManyCheckbox backed by a set that is proxied by hibernate you will run into problems with the dreaded LazyInitializationException. This has nothing to do with the state of the backing bean! After debugging Mojarra…
Andrew Wheeler
  • 281
  • 3
  • 10
12
votes
3 answers

Exception about flash in Mojarra JSF

I upgraded to Mojarra JSF 2.2.1 (from 2.1.22) and since then for each of my requests I'm having an exception in console: GRAVE: JSF1094: Could not decode flash data from incoming cookie value /?. Processing will continue, but the flash is…
Aritz
  • 30,971
  • 16
  • 136
  • 217
11
votes
1 answer

JSF1064 "Unable to find or serve resource" warning on jsf 2.0

I'm working on an Enterprise project with Java EE 5 and JSF 2.0 (Mojarra 2.0.3) on Weblogic 10.3.3 I don't have an error, but a very annoying warning in my console when going through my application. Whenever I perform a redirect in JSF, I get a…
Dieter Hubau
  • 649
  • 2
  • 6
  • 17
11
votes
1 answer

Work around for faulty INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL in Mojarra JSF 2.1

I know there are a number of posts about converting empty string to null in JSF2. The usual prescription is to add the following to web.xml. Does not appear to work
Andrew Wheeler
  • 281
  • 3
  • 10
10
votes
1 answer

com.sun.faces.ClientStateSavingPassword - recommendations for actual password?

In all of the reference pages I've found with regards to encrypting the ViewState, the only comment on the password is "your password here". Are there any recommendations regarding the length / complexity of the password that we should use?
Evan Knowles
  • 7,426
  • 2
  • 37
  • 71
10
votes
1 answer

JSF SelectItems and escaping (xss)

there is a selectOneMenu in my example with a f:selectItems-attribute. The select-items are resolved from my bean like this:
CSan
  • 954
  • 1
  • 10
  • 25
10
votes
1 answer

Should PARTIAL_STATE_SAVING be set to false?

It seems that today (April 2012), both MyFaces and Mojarra's JSF 2.1 implementations have defects around partial state saving and that PARTIAL_STATE_SAVING should be set to false. Is this true?
BestPractices
  • 12,738
  • 29
  • 96
  • 140
9
votes
3 answers

When downloading Mojarra libraries for JSF it is showing error "zip file is empty" in Eclipse

I'm working on JSF project, I'm trying to set up project facets in Eclipse, When I'm downloading Mojarra libraries for JSF2.2 it is giving error message. I'm using Eclipse Neon 2. See the below image for more information.
Arvind Katte
  • 995
  • 2
  • 10
  • 20
9
votes
1 answer

Mojarra 2.2 versions diverging

https://javaserverfaces.java.net/nonav/2.2/releasenotes.html lists two diverging version branches of JSF2.2 where, strangely, 2.2.8-xx seems to be more recent than 2.2.9 and above. Some bugs are fixed only in 2.2.9…
Roben
  • 840
  • 9
  • 19
9
votes
5 answers

faces-config.xml xsd error for version 2.1

Eclipse keeps telling me there is a problem with http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd on my faces-config.xml, is anyone else having an issue with it?
casolorz
  • 8,486
  • 19
  • 93
  • 200
8
votes
1 answer

Own ResourceHandler to stream images from DB

I'm strugging with my own resource-implementation. The getInputStream-method doesn't get called. My handler: public class ResourceHandlerWrapperImpl extends ResourceHandlerWrapper { private final ResourceHandler wrapped; public…
user871611
  • 3,307
  • 7
  • 51
  • 73
8
votes
2 answers

Clicking h:commandLink causes Uncaught ReferenceError: mojarra is not defined

I am aware of this post and I double checked all the possibilities there. I'm using JSF 2.0 with Mojarra implementation on Glassfish 3. I'm trying to use two simple tags to change the application language. This is the .xhtml…
Ionut
  • 2,788
  • 6
  • 29
  • 46
8
votes
5 answers

How to produce javax.faces.ViewState hidden field without 'id' and 'autocomplete' attributes

This is what I have in the output HTML document (produced by JSF 2.0/Mojarra 2.0.3): My document…
yegor256
  • 102,010
  • 123
  • 446
  • 597
8
votes
4 answers

Bean validation doesn't work with mojarra 2.2.4

I'm trying to use Hibernate Validator 5.0.1 and JSF2.2 but their integration seems to be broken since mojarra version 2.2.3. I've created small app to demonstrate the issue and get exception "javax.servlet.ServletException: Expression Error: Named…
user2928411
  • 83
  • 1
  • 5
8
votes
3 answers

JSF 2.2 - fileupload does not work with Ajax. Form appears to have incorrect enctype (only via AJAX)

Trying to implement the JSF 2.2 example I have the following code:
Ioannis Deligiannis
  • 2,679
  • 5
  • 25
  • 48
1
2
3
31 32