Tagged Questions
0
votes
0answers
9 views
How to configure url mapping to get all* url request to one jsf page in PrettyFaces / Rewrite
Can I configure PrettyFaces / Rewrite for mapping all incoming URL request to one page?
Then how I can get full URL path after domain name from PrettyFaces / Rewrite? Maybe have some annotation or ...
1
vote
0answers
16 views
Composite components in an external JAR are not recognized in Netbeans
I have packaged a number of composite components in a JAR. However, when using them in another project (using Maven), Netbeans editor puts red error lines under lines which use the composite ...
0
votes
0answers
36 views
Spring: Error creating bean with name 'DataSource' defined in ServletContext resource
I found two questions like this but the answers didn't solve my problem.
I have a maven project with two modules: core and web. The core module works fine but
when I run the web module I get this ...
0
votes
0answers
24 views
Calendar in PrimeFaces, time and localization
Welcome. I wanted to add the calendar with PrimeFaces on my website. I want to use the TimePicker to also be able to set the time. So looks like my calendar:
<p:calendar ...
0
votes
1answer
27 views
java.util.MissingResourceException: Can't find resource for bundle
I've searched but to no avail. I'm getting this error in my console when running my JSF application.
I'm trying to add a basic messages.properties file to my calculator app, working from a tutorial. ...
0
votes
2answers
42 views
Concat two String in JSF EL expression
I have the following el expression:
<af:outputText value="#{viewArticle.publish ? ('Publish on ' + viewArticle.publishDate + ' by ' + viewArticle.publishFirstName + ' ' + ...
0
votes
2answers
40 views
Can I inject a POJO to a BackingBean ? And a @Entity to a POJO? How does it work?
So this is my code:
<h:form>
<p:dataTable var="customer" value="#{customersTableBackingBean.allCustomers}">
<p:column headerText="First Name">
...
0
votes
1answer
42 views
p:InputTextArea value doesn't get the newest value
I have a strange behaviour in my app and I'm running out of options to solve it, because sometimes it works and other times it doesn't (depending on the component hierarchy). Basically, I'm using an ...
0
votes
0answers
10 views
How to render multiple PanelGrids with different text fields in PrimeFaces DataTable? [duplicate]
The following is just an example but imagine I have a list of Vehicles and that list is divided up into Cars, Trucks, etc.
From my understanding you're only allowed to have one rowexpansion in a ...
0
votes
2answers
34 views
Push messages for JSF and PrimeFaces
I'm developing an online chess board where you can play with others humans. At the moment users are notified about new moves by email.
Is there any elegant way to push new moves instantly to the ...
0
votes
2answers
53 views
Java Bean getter not returning values
I am trying to design a simple java bean/xhtml setup for a homework assignment. The implementation seems simple enough, however I can not get GlassFish to pull the info from the java bean and display ...
0
votes
2answers
45 views
Error in configure to error page in jsf?
In my project I have to display a error page when specific errors occurs in my code.
I have added the following script in my header.xhtml page.This page is added to each and every page.So whenever ...
0
votes
1answer
32 views
Which is the controller in JSF MVC [duplicate]
As everybody know, JSF is an MVC. Its Model is the Managed(Backing) bean , View is the JSF/XHTML/JSP page.But which one is the Controller.JSF LifeCycle books/articles doesnt specify this.
-1
votes
1answer
45 views
javax.servlet.ServletException: HV000030: No validator could be found for type: java.lang.Integer
I have to update information in my database with JSF interface.
XHTML Code:
<b> <h:panelGrid columns="2" style="width:100%">
<p:outputLabel value="First Name :" />
...
1
vote
1answer
37 views
Primeface FileUpload Ajax
I have a strange problem with the fileupload update of Primefaces. I upload an image and save it in a database and this is already working.
Here is my code for the fileupload.
<p:fileUpload ...