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

Mojarra to MyFaces: NPE on EL expression

Long story short, I am experimenting on migrating to MyFaces on an application I am working on, when I noticed that the ViewState was over 18MB in size for a single page. I suspect this is because I have over 10 forms on this page, which is…
maple_shaft
  • 10,435
  • 6
  • 46
  • 74
0
votes
1 answer

View Expired issues on mojarra

I have a large richfaces tree and each element in the tree can be selected which loads the content via AJAX and edited which redirects you to a new page. This was working great until I had a particularly large document I was working on and saving no…
nablex
  • 4,635
  • 4
  • 36
  • 51
0
votes
1 answer

inner working of JSF 1.2

I'm trying to understand the inner workings of JSF 1.2 sun implementation. I have the following questions. It is stated that Lifecycle class manages the processing of the entire lifecycle of a particular JavaServer Faces request. It has execute and…
John Eipe
  • 10,922
  • 24
  • 72
  • 114
0
votes
1 answer

Upgrading to latest mojarra in glassfish 3.1.2.2

So I got tired of some problems that might be related to the bundled mojarra 2.1.6. So decided to give 2.1.17 a shot. Deleted C:\glassfish3\glassfish\domains\domain1\osgi-cache and replaced C:\glassfish3\glassfish\modules\javax.faces.jar with the…
Aksel Willgert
  • 11,367
  • 5
  • 53
  • 74
0
votes
1 answer

How can `p:autocomplete` be made to show its selected value, after a postback (or, "partial" postback)?

(java7, jsf/mojarra v2.1.11, primefaces v3.4.2) Problem I have a form with an p:autocomplete input field that the user is required to populate, along with other fields (shown, below). Right now, after the page is returned with validation and/or…
sairn
  • 461
  • 3
  • 24
  • 58
0
votes
1 answer

How can I prevent the string value -- "null" -- from appearing in my "p:autocomplete" input field following a form submit

(java7, jsf/mojarra v2.1.11, primefaces v3.4.2) Problem I have a form with a p:autocomplete input field that I require the user to populate. It looks like this:
sairn
  • 461
  • 3
  • 24
  • 58
0
votes
1 answer

ViewScoped Constructor being called before save method in JSF 2.1.16

Related to my JSF application, I noticed there's a problem with the Mojarra JSF 2.1.16 library. I have a ViewScoped bean which loads a user from a login got as ViewParam. After that loaded user data can be managed and saved. Below is the view code,…
Aritz
  • 30,971
  • 16
  • 136
  • 217
0
votes
1 answer

Primefaces datatable multiple checkbox not working

Recently, I've been working on a project that uses Primefaces UI. One of the requirements is to have a data table where a user can select multiple rows. I've implemented something similar to:…
czetsuya
  • 4,773
  • 13
  • 53
  • 99
0
votes
2 answers

Weird JSF PrettyFaces Exception

Hi i get an exception from time to time (can't reproduce) and don't know what to do.. Here is the stacktrace: java.lang.NumberFormatException.forInputString 13:46:52,015 ERROR…
Nick Russler
  • 4,608
  • 6
  • 51
  • 88
0
votes
1 answer

How to attach multiple files onto a page and show the progress on a progressbar. And upload the files to the server

I know tamawhak provides a file upload component. But my requirement is to just display an 'Add file' button on the page(no input field is required). Upon clicking the button a choose file window should popup. Once the file to be attached is chosen,…
user1721801
0
votes
1 answer

Flash scope objects are getting lost

I have a JSF page that displays a table from an object called TableQuery that supports stateful pagination, sorting, etc. The bean that accesses the object is a RequestScoped object, and it attempts to preserve the TableQuery by storing it the…
AlanObject
  • 9,613
  • 19
  • 86
  • 142
0
votes
1 answer

Displaying selected Item's data (JSF, Primefaces)

I am having problems with displaying the selected item's data on a dialogue using Primefaces dialogue. setSelectedUsers method will fire but the dialogue won't display the data of the user object. Any idea what I am missing here! I had a look at the…
Pinchy
  • 1,506
  • 8
  • 28
  • 49
0
votes
1 answer

JSF2 f:ajax render on a panel holding a ui:repeat doubles data once

I have a ui:repeat inside a h:panelgroup, and a f:ajax outside the panel. The f:ajax click event triggers a render on the h:panelgroup. When I load the page the repeater shows my 5 items on the list. When I click the button for the first time, the…
casolorz
  • 8,486
  • 19
  • 93
  • 200
0
votes
1 answer

Configuring Mojarra 2.1.X on Eclipse Indigo

The User Library download from Properties/Project Facets/Java Server Faces only lists Apache and Mojarra 2.0.X options. And setting up a user library manually, if I add javax.faces-2.1.11.jar, it doesn't error, puts the jar in the entry, then says…
0
votes
1 answer

Openfaces TabbedPane not working properly

I'm having a problem with an Openface TabbedPane in a JSF application so I created a new application to test the TabbedPane. I have the following code in my page:
user579674
  • 2,159
  • 6
  • 30
  • 40