Win a copy of Terraform in Action this week in the Cloud forum!

Maya Pillai

Ranch Hand
+ Follow
since Jul 17, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Maya Pillai

Hi,

I want to write test case for a functionality written in a servlet. How can I do it with Spring ? We also need to check whether the process timed out after a stipulated time ? Thanks in advance.
8 years ago
Hi,

In my application all the managed beans are in scope session. Will it cause any performance issue? Do we need to serialize this bean objects.

Can anyone tell me the best approach. I am using jsf1.2

Thanks.
11 years ago
JSF
Hi,

Can anyone tell me which is the best report generation tool for creating reports in .doc format.

Thanks...
Hi,

Can anyone tell me how to pass parameter from EL expression to JSF backing bean.



I am using JSF1.2.

Thanks.
11 years ago
JSF
I am using spring2 and the following jar files for Acegi

acegi-security-1.0.5.jar
acegi-security-tiger-1.0.5.jar
11 years ago
Hi,

Can anyone help me to configure Acegi in my Spring / HIbernate / JSF application. The error i am getting is ' The requested resource (/Project/j_acegi_security_check.jsf) is not available'. Please find my code below.

ApplicationContext.xml






WEB.XML







FACES-CONFIG.XML


<?xml version="1.0"?>



XHTML






Thanks.




11 years ago
Hi,

We are planning to develop an online examination in JSF. The exam contains 25 questions, there will be four answers (radio buttons) for each question. User can select one option against each question. Can anyone tell how to do it in JSF? is it possible to do it using data table? how to display the questions.


Thanks.
11 years ago
JSF
I made the change .....still only the second option is working always....whatever value (true/false) in the isNOKFilled variable.

11 years ago
JSF
I am trying to display a button in jsf page based on a condition.

Backing Bean
-----------------


JSF
------


The second button is displaying only whatever (true/false) returned from the backing bean.

Can anyone help me to solve this.
11 years ago
JSF
I am getting an exception (exception while getting property userAge) when using the backing bean property as Integer.....It is working fine when i change the property to String.

Backing Bean
-----------------------------
Private Integer userAge;

setter and getter

JSF
--------
<h:inputText class="txtNormal" id="userAge" value="#{nominationFormOneBean.userAge}" />

Can anyone help me to solve this.
11 years ago
JSF
Hi,

I have a primary key in my table. I am using the below code to generate the primary key.

@Id
@GeneratedValue(strategy = GenerationType.ENTITY)
private Long id;


What change should i made to the annotation if i want to assign primary key. I will assign a number to id field before saving this entity to database.

Can anyone help me .

Thanks...
Hi,

Validation not working for the screens where value change listener is used.

Can anyone help me to solve it.
11 years ago
JSF
Hi,

How di i configure HTS (Hibernate Tool Suite). I am using JPA annottaions.
What should i give in the following fields when configuring HTS.

Mapping Location and files. (i dont have any hbm.xml files as i am using JPA )

Classpath entries.

Please help.
HI,

I am trying to populate values in a drop down list. Values are taken from the database as a List. I am attaching the code and the error i am getting.
Please help me to solve this.

Code:



Error:

"{2}" Conversion Error setting value ''{0}'' for ''{1}''.

11 years ago
JSF
How to use Hibernate JPA annotation when extending HibernateDaoSupport?
The below code throws an exception - Unknown entity:
-------------
public class CustomerDaoHibernateImpl extends HibernateDaoSupport implements CustomerDao {


public void saveAccount(User user) {
System.out.println("CustomerDaoHibernateImpl save");

this.getHibernateTemplate().save(user);

}
---------------------

@Entity
@Table (name="User")
public class User {
private long id;
private String password;
@Id
@GeneratedValue
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Column (name="password")
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
11 years ago