You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ryan Wynn (JIRA)" <de...@myfaces.apache.org> on 2006/07/24 20:28:13 UTC

[jira] Created: (MYFACES-1370) CommandLink does not work with javascript turned off

CommandLink does not work with javascript turned off
----------------------------------------------------

                 Key: MYFACES-1370
                 URL: http://issues.apache.org/jira/browse/MYFACES-1370
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.1.3
            Reporter: Ryan Wynn


CommandLink would not work with javascript turned off.

	<context-param>
		<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
		<param-value>false</param-value>
	</context-param>




This fixes it.

		hrefBuf.append('&');
		hrefBuf.append(findNestingForm(component, facesContext).getFormName()
				+ "_SUBMIT");
		hrefBuf.append('=');
		hrefBuf.append(1);


If added to the renderNonJavaScriptAnchorStart method in HtmlLinkRendererBase

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MYFACES-1370) CommandLink does not work with javascript turned off

Posted by "Ryan Wynn (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1370?page=comments#action_12423161 ] 
            
Ryan Wynn commented on MYFACES-1370:
------------------------------------

Ah, you're right.  I guess this will just have to be localized to my own custom renderer.  I am all for javascript but I have some strict requirements.

Thanks.



> CommandLink does not work with javascript turned off
> ----------------------------------------------------
>
>                 Key: MYFACES-1370
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1370
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.1.3
>            Reporter: Ryan Wynn
>
> CommandLink would not work with javascript turned off.
> 	<context-param>
> 		<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
> 		<param-value>false</param-value>
> 	</context-param>
> This fixes it.
> 		hrefBuf.append('&');
> 		hrefBuf.append(findNestingForm(component, facesContext).getFormName()
> 				+ "_SUBMIT");
> 		hrefBuf.append('=');
> 		hrefBuf.append(1);
> If added to the renderNonJavaScriptAnchorStart method in HtmlLinkRendererBase

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MYFACES-1370) CommandLink does not work with javascript turned off

Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1370?page=comments#action_12423123 ] 
            
Mike Kienenberger commented on MYFACES-1370:
--------------------------------------------

By the way, we can accept patches against Tomahawk's t:commandLink if you'd like to open a similar patch against that component.

> CommandLink does not work with javascript turned off
> ----------------------------------------------------
>
>                 Key: MYFACES-1370
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1370
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.1.3
>            Reporter: Ryan Wynn
>
> CommandLink would not work with javascript turned off.
> 	<context-param>
> 		<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
> 		<param-value>false</param-value>
> 	</context-param>
> This fixes it.
> 		hrefBuf.append('&');
> 		hrefBuf.append(findNestingForm(component, facesContext).getFormName()
> 				+ "_SUBMIT");
> 		hrefBuf.append('=');
> 		hrefBuf.append(1);
> If added to the renderNonJavaScriptAnchorStart method in HtmlLinkRendererBase

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira