myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Wynn (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1370) CommandLink does not work with javascript turned off
Date Mon, 24 Jul 2006 21:04:14 GMT
    [ 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

        

Mime
View raw message