You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Peace Software (JIRA)" <ad...@incubator.apache.org> on 2006/06/23 03:33:29 UTC

[jira] Created: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with 
-------------------------------------------------------------------------------------------------------------------------

         Key: ADFFACES-36
         URL: http://issues.apache.org/jira/browse/ADFFACES-36
     Project: MyFaces ADF-Faces
        Type: Bug

 Environment: We are using request scope beans
    Reporter: Peace Software


There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.

This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

-- 
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] Updated: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-36:
---------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-36
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-36
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating-core
>         Environment: We are using request scope beans
>            Reporter: Peace Software
>             Fix For: 1.0.0-incubating-core
>
>
> There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.
> This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

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


[jira] Closed: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf closed ADFFACES-36.
--------------------------------------


> af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ADFFACES-36
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-36
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating-core
>         Environment: We are using request scope beans
>            Reporter: Peace Software
>             Fix For: 1.0.0-incubating-core
>
>
> There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.
> This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

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


[jira] Reopened: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

Posted by "Peace Software (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-36?page=all ]
     
Peace Software reopened ADFFACES-36:
------------------------------------


So are you saying Trindad  doesn't support request scope?  Surely that is not acceptable.

> af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with
> ------------------------------------------------------------------------------------------------------------------------
>
>          Key: ADFFACES-36
>          URL: http://issues.apache.org/jira/browse/ADFFACES-36
>      Project: MyFaces ADF-Faces
>         Type: Bug

>  Environment: We are using request scope beans
>     Reporter: Peace Software

>
> There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.
> This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

-- 
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: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-36?page=comments#action_12417423 ] 

Adam Winer commented on ADFFACES-36:
------------------------------------

In this case, there is no ValueChangeEvent, nor can there be, so we can't know that we need to refresh.

You need to either:  use something with a longer lifespan than request scope, or keep the value in the UIComponent so JSF state saving will take care of it (e.g., call FacesContext.renderResponse() in a valueChangeLIstener).

> af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with
> ------------------------------------------------------------------------------------------------------------------------
>
>          Key: ADFFACES-36
>          URL: http://issues.apache.org/jira/browse/ADFFACES-36
>      Project: MyFaces ADF-Faces
>         Type: Bug

>  Environment: We are using request scope beans
>     Reporter: Peace Software

>
> There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.
> This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

-- 
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] Resolved: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-36?page=all ]
     
Adam Winer resolved ADFFACES-36:
--------------------------------

    Resolution: Invalid

> af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with
> ------------------------------------------------------------------------------------------------------------------------
>
>          Key: ADFFACES-36
>          URL: http://issues.apache.org/jira/browse/ADFFACES-36
>      Project: MyFaces ADF-Faces
>         Type: Bug

>  Environment: We are using request scope beans
>     Reporter: Peace Software

>
> There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.
> This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

-- 
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] Resolved: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-36?page=all ]
     
Adam Winer resolved ADFFACES-36:
--------------------------------

    Resolution: Invalid

> af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with
> ------------------------------------------------------------------------------------------------------------------------
>
>          Key: ADFFACES-36
>          URL: http://issues.apache.org/jira/browse/ADFFACES-36
>      Project: MyFaces ADF-Faces
>         Type: Bug

>  Environment: We are using request scope beans
>     Reporter: Peace Software

>
> There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.
> This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

-- 
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: (ADFFACES-36) af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-36?page=comments#action_12417724 ] 

Adam Winer commented on ADFFACES-36:
------------------------------------

No, I didn't say that;  re-read my comment.  If you're using request scope, each PPR request is, quite obviously, a separate scope, and the value will be reset from one request to the next - that's plain logic.  The only part that's non-obvious is that partialTriggers only fires when an event fires - and valueChangeEvents only fire when the value changes *as perceived on the server* - not on the client.  That's a generic JSF issue, not Trinidad.  The behavior you're seeing is precisely as specified, and not a bug.

Please don't reopen this bug directly;  if you have further questions, bring them up on adffaces-user, and we can work towards a solution there.

> af:selectOneChoice doesn't cause a partial page refresh if you choose the initial value the select box was rendered with
> ------------------------------------------------------------------------------------------------------------------------
>
>          Key: ADFFACES-36
>          URL: http://issues.apache.org/jira/browse/ADFFACES-36
>      Project: MyFaces ADF-Faces
>         Type: Bug

>  Environment: We are using request scope beans
>     Reporter: Peace Software

>
> There seems to be some optimisation going on that is stopping a partial page refresh to be triggered if the user selects the initial value the select box was rendered with.
> This is a problem for us as we are using request scope beans.  Imagine the page is rendered with the value of the select being "x", the user changes the value to "y" and  a partial page refresh is triggered.  However when the user changes the value back to "x" no refresh is triggered as as far as the backing bean is concered the value is already "x", because we are request scope beans, and therefore no refresh is necessary.

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