Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

venkata swamymora

Ranch Hand
+ Follow
since Aug 06, 2007
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 venkata swamymora

Hi asif

Instead of <t:validateEmail message="Invalid email"/>

You can use <t:validateEmail detailMessage="Invalid Email" />

Try this one

Venkat
9 years ago
JSF
Hi

you have to use javascript for that problem

Like

take one jsp page in that page

write this code



you have to redirect your modal window page to this page

this code will refresh the parent page and closes the popup window

mention navigation in faces-config.xml file
10 years ago
JSF
Hi
I want a javascript code for pagination (or) navigate the records which is retrived from the database

my target shown below:

< << 1|2|3|4|5 >> >

Please help me regarding this

venkat
Hi

Is there any facility for datascroller to add pipe (|) to a pagination in jsf.I tried so many but no use.How can i solve this issue.I googled no use.Please give me solution for these

thanks in advance

venkat
10 years ago
JSF
Hi

Thanks for your reply

My problem is

I opened one browser(Mozilla) and run my application.Copy the URL from address bar and opened another browser(Mozilla) paste the copied URl in this browser.It is showing that page what i opened in first browser.

I want to restrict this one.If i paste that URL i want to redirect to login page. For this iam written one filter it is working fine for IE.But not for Mozilla

So how can i do this.Give me a solution for this please
10 years ago
JSF
Thanks for you reply

Can you please paste the code here to overcome this problem


venkat
10 years ago
JSF
Hi

I have a problem with filter that is

A single HTTP session is used for browsers that support multiple tabs firefox. This causes a problem when different views of a single JSF application are accessed from different browser tabs. In short this is causing or seems to be causing problems for me. How can I write a JSF application to be �tab� independent?

I thought about using a tab or �browser instance� hidden field within each form. Each time a request was received a filter would check for the special hidden field. If present, the hidden field would be used together with the session id to form a unique composite key used to access the session data. If not present a new value would be created to store the session data. I think that there are many other problems (redirect, links, etc) that I would have to also deal with� It also seems like a recipe for disaster.

I would like to hear how others have solved this problem... That is, multiple browser instances (via tabs) that share the same session id and access the same JSF application.

Thanks in advance

venkat
10 years ago
JSF
Hi Richard Green

You told like

The standard behaviour of FireFox is to share the session when you open a new tab within the same browser window. You might find this behaviour in IE7 too.

So how should i resolve this

Thanks for your reply

Venkat
10 years ago
JSF
Ok.

Thanks for your reply

Venkat
Hi everybody,


My problem is that i donot want to display url on a titlebar of popup window.How can i avoid this? please give me an idea.


Thanks in advance

Venkat
Hi everybody

Till now i may not solved this problem.Iam unable to resolve this.Just i know that i have to implement custom pagination.I dont no how to write this.So any body knows please give me an idea to solve this

Thanks in advance

Venkat
10 years ago
JSF
Hi Every body

Till now the problem was not solved.The problem is that the filter is working fine for Internet Explorer browser but not working for mozilla firefox .Any body help regarding this issue shoulb be great appreciated

My intention is to block the url(copy the url from one browser(IE) and open another browser(IE) paste the copied url to this browser)

How can we acheive this...

venkat
10 years ago
JSF
Hi

You can use


or

[code]
window.location='yourPage.faces';
[code]

try this one.It will solve your problem

venkat
10 years ago
JSF
Hi

I saw yoour reply.I faced this problem it is possible by using sandbox.you can download sandbox.jar and copied into your lib folder.

you can try like this in your jsp page



this tag used to trim the string and the follwing tag used to dispalay full string as a tooltip



here iam a given a sample how to do .So you just follow this

venkat
10 years ago
JSF
Hi Good Morning everybody

Iam new to Jsf and Myfaces.Is there possibility to get the Pipe or Divider in DataScroller?

Iam using datascroller in that scroller i want to use pipe(|)symbol.In jsf or myfaces how to implement that.If any body know the solution for this please send reply as soon as possible

Now onto my question..I would like to have a divider ("|"), but I don't
know how to implement it.
I know it is possible to do a border only on one side, but then one always
ends up after the "Next" button. Is there any way to do this? Thanks!

i am using this attribute in the datascroller
paginatorColumnClass="pipe"


But it not a correct approach and it will not working properly

example: Like such type of pipe symbol(|) i want to use in between those
number

So please kindly response my request

Venkat
10 years ago
JSF