myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yamo (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-198) commandLink is broken in non javascript code
Date Tue, 19 Apr 2005 11:19:05 GMT
     [ 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


Mime
View raw message