rashmi coorg

Greenhorn
+ Follow
since Jul 11, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by rashmi coorg

i am invalidating the session when the view expires. That way session expired is handled. But is there any way i can have solution to my problem?
12 years ago
JSF

I use JSF 1.2 and richfaces 3.3 in my application. I have 2 different login pages. Suppose the user logs in through one of the login page and if the session expires, i have handled it through viewExpiredException in web.xml. I display a page where the user will be notified that the session is expired and is asked to click on a link to go to login page. When the user clicks on the link, i need to redirect the user to the same login page where he logged in. Please suggest me how can i know that the user has logged in from which login page.?
12 years ago
JSF

Bear Bibeault wrote:If the iframe is from another site, there can be no communications between the iframe and it's parent.

I'd set it up so that the remote site in the iframe can communicate back to the app via a web service.




Thanks for your reply.
I did not get a clear idea on what to set up. Could you please explain in detail.
13 years ago
JSP
In my application,I have a JSP page where I need to embed a link inside a iframe which is generated from one other service. When the iframe is loaded, i need to perform some actions, where the control is not within my application. But when a button is clicked inside the iframe I need to call some java method within my application. How can I listen to a event within the iframe. Please help me out in this issue?
13 years ago
JSP
hi.. did you get a solution for this? even i am facing a similar problem.. kindly post the solution if you have solved it..
13 years ago
JSF
I have 3 rich:datatables with 2 columns each. I need to include one more column in all these 3 data tables, which will be a radio button. The radio button group for this should be the same for all the three data tables. i was able to do the same with flex and actionscript, but now i need to implement with JSF-richfaces. so can you please suggest me on how to proceed with this?
13 years ago
JSF
thank you so much.. this works !!
13 years ago
JSF
In my jsf application i am making use of richfaces 3.. i track the user logged in and store the user-agent, user id and ip of the logged in system. this is done to prevent the user to login with same browser again with out loggin out. These details are stored in a map when the user loggs in and when user loggs out the entry for that user is removed from the map.. but if the sesssion expires i am not able to remove the user from the map as i am handling session expire with web.xml using the following code:
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/sessionExpired.jsp</location>
</error-page>
and in sessionExpired.jsp i am just redirecting the user to login page and here i will not be able to access any bean as the session is expired. so when session expires the user is blocked from loggin in again in same browser. i don't want this to happen. i want to remove the entry of the user from the map. how can this be done?
13 years ago
JSF
i have a datagrid in which one of the columns should display a link. But the label of link in all the rows is not the same.. how can i achieve this?

i have tried the Example: 'Using an item renderer with a List control' in the link http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_8.html
but not able to display the grid correctly...
13 years ago

Prasad Krishnegowda wrote:
Say, user logs in, goes to home page and goes to some other page, in the same application, now if (s)he clicks back, what happens?




Within my application the back button is disabled. But when i navigate outside my application. i am facing this problem. The url of the app doesnot change when i navigate from one page to another within the application.
Any suggestions..??
13 years ago
JSF
i have a richfaces datatable, where in i will be displaying values in multiple pages with 15 rows per page. i need to include a 'select all' option as the first column in the table.
when the user selects the 'select all' option, all the checkboxes in that particular page should be selected. But the way i have implemented, i am getting all the checkboxes getting selected
including the rows of other pages also. How can this be avoided? Suggestions please..
13 years ago
JSF
if we can capture the event when browser back button is clicked.. may be we can kill the session on occurrence of that event.. can you suggest me if this can be done.. and if it can be done.. how can we capture the event?
13 years ago
JSF
i am using richfaces3 in my web application. the problem I'm facing here is.. if the user has visited some other site like Google.com and visits my application, logs into my application, he is redirected to home page. Now if the user clicks back button he will be redirected to the previous page that is Google.com. And if the user clicks the forward button the user is directly taken to home page, without asking him to login. I am not changing the URL my app even if i am redirecting to other pages in my application. I want to force the user to login in this scenario. how can this be achieved ? please give me your suggestions.
13 years ago
JSF
in my application i will be redirected to some other site, where the cookies will be set by that site.
wen i come back to my site, i need to clear them off.. how can this be achieved? i tried with all other ways
mentioned in various sites. i'm not able to read those cookies also. is there any way this can be done?

any help is greatly appreciated..
in my application i m using the iframe to embed a third party site... where a document is embedded..
with the use of iframe it is giving me some privacy policy problem and the document is not getting embedded..
but the same works fine with other browsers like firefox and chrome...

if i don't include the third party site in an iframe instead just redirect to that site.. i am not facing any privacy issue..
so i feel if there is any alternative to iframe.. i would solve my problem..

please provide valuable suggestions..
13 years ago
JSF