Tagged Questions
0
votes
0answers
17 views
How can I call native C++ function from JSF page (managed bean)? Is this possible anyway?
So here is a problem I'm trying to solve: I have a native C++ function (it is hardly templatized and use C++11 features) which does math calculations: optimization of unimodal function.I want to show ...
5
votes
2answers
71 views
JSF performance limit [closed]
I have a sort of unusual question, and I know it is a very controversial, but here it comes.
I have developed a few JSF applications in the past but these all limit the amount of users that can be ...
0
votes
0answers
13 views
Netbeans: Web app project do not see the namespace of my custom component, but everything work correct
I have my JSF custom component package as maven java application, inside my custom component, i have faces-config.xml and *taglib.xml inside my META-INF, but when I package it inside my maven webapp, ...
0
votes
0answers
21 views
Primefaces Datatable RowSelect Event
I have the following in my xhtml
<h:form id="clientTableForm" prependId="false">
<p:dataTable id="clientTable" widgetVar="clientTableVar"
...
1
vote
2answers
33 views
JSF sendRedirect() java.lang.IllegalStateException: Committed
I am creating a web page that get an id from a previous page using getSessionMap() in FacesUtils. If the page did not get the id, it should be redirected to other page, in this case draft.jsf. Here is ...
0
votes
1answer
23 views
Pass argument to a backing bean constructor?
Would it be possible to pass argument to a backing bean constructor?
<p:selectOneMenu value="#{WatchfolderEditBean.classifiedObject.servergroupId}">
<f:selectItems ...
0
votes
1answer
41 views
Problems with JSF Using GlassFish
[In case it is helpful, I am working from the book Core JavaServer Faces (3rd edition) and am on page 12, or thereabouts.]
I am trying to launch a JSF application using GlassFish but am having ...
1
vote
3answers
40 views
JSF and ManagedBean : NullPointerException [duplicate]
I'm designing a JSF application with managed beans.
For the moment, I've only been trying to create a simple login page (username and password are hard-coded for the moment) :
<h:form ...
0
votes
1answer
38 views
Allow ascii character during jsf regex validation
I have this code to validate an email address and I think it works fine for normal circumstances
<h:inputText id="email" value="#{myBean.email}"
required="true">
<f:validateRegex ...
3
votes
2answers
68 views
commandButton click in p:dataTable causes @ViewScoped bean to be re@Produced after application invocation
The view:
<h:form ...
<p:dataTable value="#{myBean.list}" var="data" ...
<p:column ...
<h:commandButton action="#{controller.method(data.id)}" />
</p:column>
...
0
votes
0answers
30 views
How to change the vertical align of a <p:outputLabel> inside <p:toolbar>
As the title suggests, I am trying to change the vertical alignement of <p:outpuLabel> inside a <p:toolbar>. But nothing works! I've tried to change the primefaces classes, adding a ...
0
votes
0answers
43 views
DispatcherServlet throws exception
I Have configured Spring MVC and Spring Security and works fine. When i add DispatcherServlet
<servlet>
<servlet-name>springandbirt</servlet-name>
<servlet-class>
...
0
votes
0answers
39 views
Method not found error in JSTL
I have a class in my project.
@Component
public class Overview {
public SomeData getData() {
...
return new SomeData();
}
}
In XHTML, I used #{overview.getData()} and is ...
0
votes
2answers
52 views
Check for empty text from a rich text editor
How to check for empty text from a rich text editor?
I have a Rich text, similar to this one where I am typing.
By default, the value is set to <br> so, in Java when i check for ...
0
votes
1answer
22 views
Position Dialog in primefaces
Shortly: i want to position a dialog in the middle of the screen and not in the middle of the page.
I have a problem positioning a dialog with primefaces. My Dialog is usualy in the middle of the ...