Questions tagged [jsf-2.2]

JavaServer Faces 2.2 is the major JSF upgrade that's part of Java EE 7. It has some significant new features like task flows (Faces Flow), a stateless mode, basic theming (resource library contracts), build-in HTML5 support and a much improved "bare HTML" mode (passthrough elements). Starting from this version, JSF formally supports CDI and for some features even depends on CDI.

For the real wiki, please jump over to the wiki: https://stackoverflow.com/tags/jsf/info.

2253 questions
0
votes
0 answers

NotSerializableException: org.springframework.binding.mapping.impl.DefaultMappingResults

I'm getting Caused by: org.springframework.webflow.execution.repository.snapshot.SnapshotCreationException: Could not serialize flow execution; make sure all objects stored in flow or flash scope are serializable at…
user656449
  • 2,950
  • 2
  • 30
  • 43
0
votes
1 answer

What is the JSF equivalent of the Spring framework "model" object?

In Spring you have to add attributes to the model object between view requests. Then those views use that model object to retrieve the attributes and display them. Is there an equivalent in JSF?
Kingamere
  • 9,496
  • 23
  • 71
  • 110
0
votes
0 answers

FacesContext return wrong value

in login method i stored the connected user in FaceContex to use it in others managedbeans the problem that when i run this method: User connectedUser = (User)…
amine
  • 1
  • 2
0
votes
1 answer

Despite of not including javascript in my JSF page I get "outputScript with no library, no name, and no body content" error message

I have read two discussion on the addressed error message (discussion 1, discussion 2) but none of them is relevant to my case. I do not use explicitly any javascript in my JSF template and JSF template client page. I use ajax by
Roland
  • 327
  • 7
  • 19
0
votes
1 answer

why update of works in IE but not in chrome

I am trying to include ".xhtml" in other; and it works perfectly in "Internet Explorer" but not in "Chrome" My principale view which include two views one of them is menu.xhtml :
user3693890
  • 203
  • 1
  • 6
  • 15
0
votes
0 answers

Why @ViewScoped Managed Bean's @PostConstruct init() method never called?

I am newbie to JSF/Java ee7 and tried to test some features to understand how things work. I used templating for testing purposes. Here is the relevant JSF template client:
Roland
  • 327
  • 7
  • 19
0
votes
1 answer

Primefaces Spinner required to Input formatted number

In a Java project we are using PrimeFaces 2.2.1 as a JSF extension. We are implementing in a register form the data of schedule as "Load hours" separated in two fields, hours and minutes. We are using the Spinner (p:spinner component) as input…
Yajairo87
  • 345
  • 1
  • 8
  • 25
0
votes
1 answer

Why does PrimeFaces 5.3 not call my listener function when I catch the "blur" and "focus" events?

My intention was to show information on filling a text area component. When it gets the focus I show the info, when it loses the focus I clear the info. I do not want to proccess any input value just catch the focus and blur events and call the…
Roland
  • 327
  • 7
  • 19
0
votes
0 answers

How to update PrimeFaces datatable using poll with updated toggled columns

I've been working on a jsf project(using primefaces 5.2). I've a datatable which gets updated using a poll in every 10 seconds.I also have a column toggler. Everything is working fine but the only problem is that when poll updates the datatable it…
HeartATech
  • 57
  • 1
  • 2
  • 12
0
votes
0 answers

How I can get treetable from primefaces on ManagedBean

I have used this instruction but it returns null TreeTable treeTable = (TreeTable) FacesContext.getCurrentInstance().getViewRoot().findComponent("form:apps"); TreeNode no = treeTable.getRowNode(); Thank's for your response
0
votes
2 answers

When does mojarra adds a naming container to the list of optional parameters?

In the source of the class AjaxBehaviorRenderer (line 260) there is a line that apparently appends the NamingContainer Id to the list of optional parameters of mojarra.ab(...). I've never come across it so I'm curious as to when it is…
Ced
  • 15,847
  • 14
  • 87
  • 146
0
votes
1 answer

Print   in empty table cell

I want to create JSF table with clickable rows. Example:
FastWalker
  • 23
  • 5
0
votes
1 answer

How to put an image as watermark in TextField using primefaces?

Click on the following link, TextBox with search Image on Left i want the text box exactly the sameway with watermark in it. I tried multiple ways,but nothing worked Content from my .xhtml file
0
votes
1 answer

doesn't work

I am working on a migration project from jsf 1.2 to jsf 2.2, I followed correctly the steps to do this migration but when I want to change the old tag to import css files by the new tag ,this later doesn't work and any css files imported!! pliz…
1 2 3
99
100