3
votes
0answers
264 views
Invalidating specific user's session causing own JSF page's navigation to break
I'm currently maintaining a Map of all currently active HTTPSessions in an @ApplicationScoped bean. (As per suggestions here, and in various other topics: Invalidate Session of a specific user)
I'm ...
3
votes
0answers
478 views
p:selectOneMenu value set to null, when in p:inplace in refreshed tab view
I'm using p:tabView to split the editable data into the sections. All edit elements are places inside p:inplace components. The problem is specifically with p:selectOneMenu component.
When the whole ...
2
votes
0answers
21 views
Autocomplete MessageSource in JSF in IntelliJ IDEA Ultimate
I use IntelliJ IDEA (ultimate ed., v12.1.3) on my project. We use JSF to display our pages and messages_en.properties (or *_different_language) to handle i18n/l10n.
.properties files are handled by ...
2
votes
0answers
95 views
Fitting text into the Events of Primefaces Extensions' Timeline
The problem is, that I want to fit the text into the box-event of the timeline. How can I set this?
<p:layoutUnit id="center" position="center">
<pe:timeline id="timeline" ...
2
votes
0answers
92 views
selenium server launching two test execution tabs in firefox
So as the title suggests, when launching my HTML suite with a custom firefox profile (also with multiwindow), the server is launching two tabs, both trying to execute the test, targetting the same ...
2
votes
0answers
136 views
Mojarra 2.2-snapshot and doctypes
I've decided to try JSF 2.2 (or what we have of it so far), so I grabbed the latest snapshot build of Mojarra and set it up. Now I have a template that uses prettyphoto. It worked great on JSF 2.1, ...
2
votes
0answers
109 views
Glassfish - ajax does not work
I've done the migration from Tomcat to Glassfish and now my ajax requests does not work. I read this post I changed the settings glassfish-web.xml file such as there, but it did not help. I'm use JSF ...
2
votes
0answers
245 views
Using return/enter key to save edited cell in Primefaces 3.4 in-cell editable datatable
As the title says, instead of clicking on the "Save" button after switching to edit-mode, I would like to have the same functionality when pressing the enter/return-key.
I attempted to do this with ...
2
votes
0answers
383 views
f:ajax onerror being triggered. Why?
I have an h:commandLink with a f:ajax as below
<h:commandLink id="submitAjaxSearch" value="Submit Search" >
<f:ajax execute="searchForm" listener="#{dcjsEarthSearchBean.doAjaxSearch}"
...
2
votes
0answers
1k views
Clicking on p:selectBooleanCheckbox should enable/disable the input text
When the checkbox is selected, the corresponding input text should be enabled. But the permit property is not set, nor updateRoles listener is called. I get no exceptions, no indication of something ...
2
votes
0answers
247 views
ContextNotActiveException with CDI
I am trying to set up CDI (for @ConversationScoped) within an app using JSF/Primefaces and deployed on Jetty. I am receiving this exception with (what I believe is) a very basic ConversationScoped ...
2
votes
0answers
204 views
Updating Richfaces from 4.0.2 to 4.2.2 breaks web app deployment
An existing and working Netbeans v7.0 project had it's 4 richfaces jars replaced to a newer version after which the project was cleaned and built successfully, the glassfish server was stopped and the ...
2
votes
0answers
316 views
LazyInitializationException vs. Too many tables - better model?
for two days now I am trying to get my JSF+Primefaces/JBoss AS 7.1/Hibernate application to work and I am bouncing back and forth between LazyInitializationExceptions and Too many tables; MySQL can ...
2
votes
0answers
137 views
Single Managed Bean for retrieving different types of lists
Are there any issues if I use a single ManagedBean for retrieving multiple kinds of list. A List of Integer(s), a list of String(s) or list of Object(s) depending on the context. I won't need to ...
2
votes
0answers
84 views
How to determine when user has cancelled downloading file from web site — tr:fileDownloadActionListener
I'm using JSF 1.2 with Trinidad Library
In my xhtml file in order to enable downloading I'm using <tr:fileDownloadActionListener>.
How can I know when a user cancel downloading the file ?