[JIRA] Created: (APF-1091) internet explorer problem with commandLink having request parameter with name "id"

3 messages Options
Embed this post
Permalink
AppFuse - Issues mailing list

[JIRA] Created: (APF-1091) internet explorer problem with commandLink having request parameter with name "id"

Reply Threaded More More options
Print post
Permalink
internet explorer problem with commandLink having request parameter with name "id"
----------------------------------------------------------------------------------

                 Key: APF-1091
                 URL: http://issues.appfuse.org/browse/APF-1091
             Project: AppFuse
          Issue Type: Bug
          Components: Web - JSF
    Affects Versions: 2.0.2
         Environment: microsoft windows vista business, appfuse running on jetty
            Reporter: abolfazl r
            Assignee: Matt Raible


I know it's very strange but seems that Internet Explorer has problem with a request parameter with name "id". I don't know if this problem is directly related to IE (may be there is some JSF problem too) but it works without any problem in Mozilla Firefox.

To see the problem:
1. create a basic JSF appfuse project
2. login as admin
3. go to Administration/Users
4. click on some user other than admin to edit

doing the steps you'll see strangely than it redirects to editProfile of admin. the same is true with entities and CRUD generated with appfuse:gen plugin (because it uses <f:param name="id" ...> too for passing the id of the entity to be edited to the associated form)

To correct go to "users.xhtml" and change
<f:param name="id" value="#{user.id}"/>
to
<f:param name="uid" value="#{user.id}"/>
and also change
<value>#{param.id}</value>
in definition of userForm managed bean to
<value>#{param.uid}</value>

Problems go! But why?

--Rabolfazl


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1091) internet explorer problem with commandLink having request parameter with name "id"

Reply Threaded More More options
Print post
Permalink

     [ http://issues.appfuse.org/browse/APF-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1091:
-----------------------------

    Fix Version/s: 2.1

> internet explorer problem with commandLink having request parameter with name "id"
> ----------------------------------------------------------------------------------
>
>                 Key: APF-1091
>                 URL: http://issues.appfuse.org/browse/APF-1091
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Web - JSF
>    Affects Versions: 2.0.2
>         Environment: microsoft windows vista business, appfuse running on jetty
>            Reporter: abolfazl r
>            Assignee: Matt Raible
>             Fix For: 2.1
>
>
> I know it's very strange but seems that Internet Explorer has problem with a request parameter with name "id". I don't know if this problem is directly related to IE (may be there is some JSF problem too) but it works without any problem in Mozilla Firefox.
> To see the problem:
> 1. create a basic JSF appfuse project
> 2. login as admin
> 3. go to Administration/Users
> 4. click on some user other than admin to edit
> doing the steps you'll see strangely than it redirects to editProfile of admin. the same is true with entities and CRUD generated with appfuse:gen plugin (because it uses <f:param name="id" ...> too for passing the id of the entity to be edited to the associated form)
> To correct go to "users.xhtml" and change
> <f:param name="id" value="#{user.id}"/>
> to
> <f:param name="uid" value="#{user.id}"/>
> and also change
> <value>#{param.id}</value>
> in definition of userForm managed bean to
> <value>#{param.uid}</value>
> Problems go! But why?
> --Rabolfazl

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1091) internet explorer problem with commandLink having request parameter with name "id"

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1091:
-----------------------------

    Fix Version/s:     (was: 2.1.0-M1)
                   2.1.0-M2

> internet explorer problem with commandLink having request parameter with name "id"
> ----------------------------------------------------------------------------------
>
>                 Key: APF-1091
>                 URL: http://issues.appfuse.org/browse/APF-1091
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Web - JSF
>    Affects Versions: 2.0.2
>         Environment: microsoft windows vista business, appfuse running on jetty
>            Reporter: abolfazl r
>            Assignee: Matt Raible
>             Fix For: 2.1.0-M2
>
>
> I know it's very strange but seems that Internet Explorer has problem with a request parameter with name "id". I don't know if this problem is directly related to IE (may be there is some JSF problem too) but it works without any problem in Mozilla Firefox.
> To see the problem:
> 1. create a basic JSF appfuse project
> 2. login as admin
> 3. go to Administration/Users
> 4. click on some user other than admin to edit
> doing the steps you'll see strangely than it redirects to editProfile of admin. the same is true with entities and CRUD generated with appfuse:gen plugin (because it uses <f:param name="id" ...> too for passing the id of the entity to be edited to the associated form)
> To correct go to "users.xhtml" and change
> <f:param name="id" value="#{user.id}"/>
> to
> <f:param name="uid" value="#{user.id}"/>
> and also change
> <value>#{param.id}</value>
> in definition of userForm managed bean to
> <value>#{param.uid}</value>
> Problems go! But why?
> --Rabolfazl

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]