Tagged Questions
-1
votes
0answers
7 views
Will <h:inputHidden> tag do the html encoding for the attribute value it renders?
Will tag do the html encoding for the attribute value it renders?
I cannot find any document on this.
Anyone can help?
1
vote
2answers
281 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
3answers
5k views
Get the selected value from selectOneChoice in ADF and not the index
I am new to JDeveloper and ADF and I am facing a bit of a problem in getting the selected value from selectOneChoice component. This is the valuChangeListener:
public void ...
1
vote
0answers
25 views
Authorisation in JSF using Spring Security openID
I write application using JSF and Spring Security.I need to add on my login page authorization via Google, Facebook and so on. I use for this purposes openId.
So when I try to forward my request to ...
0
votes
1answer
18 views
JSF and Spring AOP @Around not beeing invoked
Hello I'm newbie in Spring AOP.
I have writed something like this:
My Annotation:
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ExceptionHandling {
String ...
2
votes
2answers
64 views
How to integrate results from RESTful api with JSF?
How to pass results from RESTful service to JSF components? I read many postings, but couldn't find a straightforward method. Using RESTful APIs wherever possible is the main requirement for my ...
0
votes
0answers
23 views
JSF 2.0 validation of 2 composite components
I am new to JSF and composite components. I have two composite components, for inputting maxAge and minAge properties, which need to be validated (minAge can't be more than maxAge). Which is the best ...
0
votes
1answer
59 views
Good practice to code partition
Example I have a JSF managed bean, and in I have method to create user:
public String createNewAccount() {
FacesContext context = FacesContext.getCurrentInstance();
Map ...
1
vote
2answers
42 views
JSF2+Hibernate4+Spring3 Integration
Hi Right now i am using JSF2+Hibernate in my web project but I know Spring is very popular and powerful framework(i am new in Spring) so i am thinking to integrate Spring and Hibernate4 in my project ...
0
votes
1answer
55 views
Attachment Coming while sending meeting invite on lotus notes
I am trying to send a meeting invite on Lotus notes using iCalendar and Java Mail API and its working fine except the fact that in the content of the mail an attachment is coming which doesn't even ...
0
votes
1answer
20 views
AM/PM in my timepicker is being converted to a different language
my AM/PM in my time picker is converted in to japanese.
web.xml
<context-param>
<param-name>javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE</param-name>
...
-1
votes
1answer
33 views
Illegal Syntax for Set Operation
I have a problem in connecting My xhtml page to the managed bean, the action on the commandButton works but when it comes to passing values it dosn't work.
here is my jsf code:
<h:form id="form" ...
0
votes
1answer
37 views
Non rendered components do not have values updated
I am using a form with two radio buttons (h:selectOneRadio), two text fields (h:selectOneRadio) and one reset button (a4j:commandButton). I am also using a4j:support to re-render the text fields when ...
4
votes
1answer
105 views
Getting warning from JSF: The response was already committed by the time we tried to set the outgoing cookie for the flash
I have a page1.jsf, in this page i have a commandButton that put an object in ELFlash, and redirects to page2.jsf. In this page i recover the object by ELFlash. Everything works fine. But while the ...
1
vote
1answer
39 views
java.lang.ClassNotFoundException: play.db.jpa.JPABase using hibernate
I keep getting the following error messages in the catalina.out log on tomcat 7 and i just cant find the source:
java.lang.ClassNotFoundException: play.db.jpa.JPABase
at ...