You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alan Chan (JIRA)" <de...@myfaces.apache.org> on 2009/12/14 02:53:18 UTC

[jira] Commented: (MYFACES-1900) violates the JSF spec

    [ https://issues.apache.org/jira/browse/MYFACES-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789965#action_12789965 ] 

Alan Chan commented on MYFACES-1900:
------------------------------------

Hi, found that when I test to click the link generated by h:commandLink using Windows Mobile 6 emulator, the link just has no response. And after I applied back the patch mentioned in myfaces-1900-patch.txt, it works again. Please un-comment back the code mentioned in myfaces-1900-patch.txt. It is because the Windows Mobile doesn't support the document.createElement() and form.appendChild() inside the javascript function oamSetHiddenInput

The emulator I used to test is downloaded from here:

http://www.microsoft.com/downloads/details.aspx?familyid=38C46AA8-1DD7-426F-A913-4F370A65A582&displaylang=en#filelist


> <f:param> violates the JSF spec
> -------------------------------
>
>                 Key: MYFACES-1900
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1900
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-252
>    Affects Versions: 1.2.3
>         Environment: MSIE
>            Reporter: Gertjan van Oosten
>            Assignee: Leonardo Uribe
>             Fix For: 1.2.4
>
>         Attachments: myfaces-1900-patch.txt, patchMYFACES1900Proposal2.patch
>
>
> Since nothing seems to be happening with MYFACES-1723, I'm raising this major bug against the JSF 1.2 specification.
> Summary: MyFaces 1.2.3 does not support <f:param name="id" /> under Microsoft Internet Explorer, which violates the JSF 1.2 specification;
> cf. section 4.1.11 UIParameter and section 9.4.8 <f:param> the 'name' attribute of <f:param> is a String with no specific exceptions for a name of "id".
> Some additional details: with myfaces-api-1.2.2.jar and myfaces-impl-1.2.2.jar, using <f:param name="id" /> works;
> with myfaces-api-1.2.3.jar and myfaces-impl-1.2.3.jar using <f:param name="id" /> fails, e.g. an
>   <h:commandLink actionListener="#{myController.selectId}">
>     <f:param name="id" value="123" />
>   </h:commandLink>
> when submitted does not pass the param to selectId(), that is: the value in
>   public void selectId(ActionEvent event)
>   {
>      final String value = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("id");
>   }
> remains null.

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