Ravi Kumar

Greenhorn
+ Follow
since Sep 07, 2005
Merit badge: grant badges
For More
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 Ravi Kumar

Hi Kiran,

I have a style class declared on my panel which was causing the page to print in two pages. After i removed that it prints fine now.

Thanks
15 years ago
JSF
Issue fixed thanks.
15 years ago
JSF
Hi,

I am using the following to print the same requirement using t:dataTable.

rowClasses="even,odd"
rowOnMouseOver="this.style.backgroundColor='#9ACD32';"
rowOnMouseOut="this.style.backgroundColor='#{tableBackgroundColor}';"

Thanks
15 years ago
JSF
Hi All,

I am trying to print a page in Tabbed pane. It prints the first page empty and content is shown in the second page.
Can we avoid this??
Let me know.

Thanks
15 years ago
JSF
I need to get PageContext in my PhaseListener. Do I need get it from FacesContext?

Thanks
16 years ago
JSF
Can any explain how this works.
I want to know whether this is tied to contained managed authentication??

Ex:
visibleOnUserRole ="ROLE1,ROLE2"
enableOnUserRole ="ROLE1"

where does it read the roles from?

Thanks
16 years ago
JSF
I have a JSF application where in I want to implement role based security at component level and also at page level access.

I don't want to go with container managed security. I want to use application managed security. Authentication process is already done is done by a system and I get the role of the User.

It would be helpful if there are any suggestions on how to proceed further? I am looking at authorization aspect.



Thanks.
16 years ago
JSF
I am storing values into session. When the session expires, a new session is created. I don't want to loose the value in session. That's the reason I am trying to set my session not to expire.

My Issue is resolved.I used the same scriplet code to set the session not to expire.

However if there is any way I could do using JSTL I would like to know.

Thanks
[ February 13, 2007: Message edited by: Ravi Kumar ]
17 years ago
JSP
Thanks Adeel Yes I meant the session. Is there anyway to see that the session doesn't expire. Any alternative approach to this.
[ February 13, 2007: Message edited by: Ravi Kumar ]
17 years ago
JSP
Hello All,

I got most of the part working. However I have one question

1. Is there anyway to see that the session values do not expire.

Using scriplets I was doing
session.setMaxInactiveInterval(-1);

How do I set this??

[ February 12, 2007: Message edited by: Ravi Kumar ]
[ February 12, 2007: Message edited by: Ravi Kumar ]
17 years ago
JSP
Hello All,

I need some help with JSTL tags. One with retreiving values from request object and other with storing the values into session so that I can access the value from another page.

I trying to replace scriptlet code with JSTL tags.
Here is my working scriplet code.






I am trying to access the hello variable from other page.
by using


Could anyone provide with some direction.
I am using core tags to do the if else logic.
here is my JSTL Code.

And trying to access the variable value in another page by



I am getting error message saying that session has no value.
Please let me know what is wrong with the above code.

[ February 12, 2007: Message edited by: Kris10 ]
[ February 13, 2007: Message edited by: Bear Bibeault ]
17 years ago
JSP
Thanks Merrill. I will try that.
17 years ago
Hello,

I need some direction on how to proceed on using hashmap. I am new to this. Please advise.

I have a form with Struts validation enabled. In my form I have a drop down.Based on value from drop down. I need to load one particular value.


My form has a default value assigned to a particular field. But when something is selected from dropdown I need to overwrite that default value with the value mentioned in the Hashmap for that selected dropdown value(key).


I am using Hashmap to store the key value pairs. Now my question is where should this functionality be. Will it be in the ActionForm or in the Action class.

Thanks.
17 years ago
Hello,

Steps to follow --
1.First Get the username/admin name from DB.
2.On the page corresponding to that userid set the options. Say suppose only admin can delete/update records. Then when you display those buttons/links check for userid and show only if he is an admin.

Hope this helps.
17 years ago
thanks for the input. It is working fine now.
17 years ago