You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gertjan van Oosten (JIRA)" <de...@myfaces.apache.org> on 2008/07/01 10:53:45 UTC

[jira] Commented: (MYFACES-1723) f:param should display a warning if name="id"

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

Gertjan van Oosten commented on MYFACES-1723:
---------------------------------------------

As far as I'm concerned this is not  a minor improvement but a *MAJOR* *BUG* when using MyFaces 1.2.3 in combination with MSIE.

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.

> f:param should display a warning if name="id"
> ---------------------------------------------
>
>                 Key: MYFACES-1723
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1723
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>    Affects Versions:  1.2.0
>         Environment: Internet Explorer 6, Windows XP
>            Reporter: Ognjen Blagojevic
>            Priority: Minor
>
> Javascript function oamSetHiddenInput(formname, name, value) does not work in IE 6 when name="id". JSF framework should throw an exception or at least log a warning when user try to set parameter with this name.

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