myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-1856) h:commandLink with target="_blank" does not work
Date Fri, 11 Apr 2008 05:16:04 GMT
h:commandLink with target="_blank" does not work
------------------------------------------------

                 Key: MYFACES-1856
                 URL: https://issues.apache.org/jira/browse/MYFACES-1856
             Project: MyFaces Core
          Issue Type: Bug
            Reporter: Leonardo Uribe


The problem is here:

	function oamSubmitForm(formName, linkId, target, params)
	{		
               /*......................*/
		if((typeof target=='function') && target != null)
		{
			oldTarget=document.forms[formName].target;
			document.forms[formName].target=target;
		}

maybe we should do this instead

		if( target != null)

or maybe
         
		if(typeof target!='undefined')

I will take a look to see what is better

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message