You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "yamo (JIRA)" <my...@incubator.apache.org> on 2005/04/19 11:19:56 UTC

[jira] Created: (MYFACES-198) commandLink is broken in non javascript code

commandLink is broken in non javascript code
--------------------------------------------

         Key: MYFACES-198
         URL: http://issues.apache.org/jira/browse/MYFACES-198
     Project: MyFaces
        Type: Bug
    Versions: 1.0.9 beta    
 Environment: Windows XP SP2, J2SE 1.4.2_07
    Reporter: yamo


When ALLOW_JAVASCRIPT is 'false', commandLink in any form doesn't work.


-- 
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-198) commandLink is broken in non javascript code

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

Mike Kienenberger commented on MYFACES-198:
-------------------------------------------

JSF CommandLink requires javascript.

http://java.sun.com/j2ee/javaserverfaces/1.1/docs/renderkitdocs/HTML_BASIC/javax.faces.Commandjavax.faces.Link.html

Won't Fix.

> commandLink is broken in non javascript code
> --------------------------------------------
>
>          Key: MYFACES-198
>          URL: http://issues.apache.org/jira/browse/MYFACES-198
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9m9
>  Environment: Windows XP SP2, J2SE 1.4.2_07
>     Reporter: yamo

>
> When ALLOW_JAVASCRIPT is 'false', commandLink in any form doesn't work.

-- 
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-198) commandLink is broken in non javascript code

Posted by "yamo (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-198?page=comments#action_63151 ]
     
yamo commented on MYFACES-198:
------------------------------

When I added the following codes, it seem work well.

"org.apache.myfaces.renderkit.html.HtmlLinkRenderer"
-----
private static final String HIDDEN_SUBMIT_INPUT_SUFFIX = "_SUBMIT";
private static final String HIDDEN_SUBMIT_INPUT_VALUE = "1";
-----

"org.apache.myfaces.renderkit.html.HtmlLinkRenderer#renderNonJavaScriptAnchorStart"
-----
hrefBuf.append("&");
hrefBuf.append(HtmlRendererUtils.getFormName(component, facesContext));
hrefBuf.append(HIDDEN_SUBMIT_INPUT_SUFFIX);
hrefBuf.append("=");
hrefBuf.append(HIDDEN_SUBMIT_INPUT_VALUE);
-----


> commandLink is broken in non javascript code
> --------------------------------------------
>
>          Key: MYFACES-198
>          URL: http://issues.apache.org/jira/browse/MYFACES-198
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: Windows XP SP2, J2SE 1.4.2_07
>     Reporter: yamo

>
> When ALLOW_JAVASCRIPT is 'false', commandLink in any form doesn't work.

-- 
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