open link in new window prevention

2008-03-05 Thread Mario Ivankovits
Hi! Is there any reason that the MyFaces command link is rendered with href=# and onlclick=return xxx() instead of href=javascript: ? It seems, the latter will make the open link in new window feature of some browsers stopping to work. Which is what I'd like to have. What do you think about

Re: open link in new window prevention

2008-03-05 Thread Cristi Toth
Hi Mario, Why do you say that some browsers can't open the link in a new window? At least you can use the target attribute of the form and it should work... regards, On Wed, Mar 5, 2008 at 9:39 PM, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! Is there any reason that the MyFaces command

Re: open link in new window prevention

2008-03-05 Thread Mario Ivankovits
Hi! Why do you say that some browsers can't open the link in a new window? No, I do not think that this is what I said, at least, I didn't wanted to say that. You probably know the right mouse click/open link in new window function of the browsers? You probably also know that this is a major

Re: open link in new window prevention

2008-03-05 Thread Mario Ivankovits
Hi! Is there any reason that the MyFaces command link is rendered with href=# and onlclick=return xxx() instead of href=javascript: ? It seems to me the right thing to do is to simply change the href=# to href=javascript:void(0). I think we can do that, no? Ciao, Mario