You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volker Weber (JIRA)" <de...@myfaces.apache.org> on 2007/03/07 15:02:24 UTC

[jira] Created: (TOBAGO-310) Popup closes unexpectedly if command is execuded from inside sheet

Popup closes unexpectedly if command is execuded from inside sheet
------------------------------------------------------------------

                 Key: TOBAGO-310
                 URL: https://issues.apache.org/jira/browse/TOBAGO-310
             Project: MyFaces Tobago
          Issue Type: Bug
    Affects Versions: 1.0.10
            Reporter: Volker Weber
         Assigned To: Volker Weber


If a popup contains a sheet with a command inside the sheet, 
the popup closes when the comand is executed, 
even if the command don' t has a popupClose attribute.

This happens because the actionId contains the rowIndex, 
and with this the findComponent() fails.

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


[jira] Commented: (TOBAGO-310) Popup closes unexpectedly if command is execuded from inside sheet

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478773 ] 

Bernd Bohmann commented on TOBAGO-310:
--------------------------------------

I would prefer the second Option.

I don't like the hack in UIPage.

> Popup closes unexpectedly if command is execuded from inside sheet
> ------------------------------------------------------------------
>
>                 Key: TOBAGO-310
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-310
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.0.10
>            Reporter: Volker Weber
>         Assigned To: Volker Weber
>
> If a popup contains a sheet with a command inside the sheet, 
> the popup closes when the comand is executed, 
> even if the command don' t has a popupClose attribute.
> This happens because the actionId contains the rowIndex, 
> and with this the findComponent() fails.

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


[jira] Commented: (TOBAGO-310) Popup closes unexpectedly if command is execuded from inside sheet

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478772 ] 

Volker Weber commented on TOBAGO-310:
-------------------------------------

I have two possible solutions in mind:

First one: replace all occurences of  ":\d+:"  in clientId with ":". 
    We do this already in UIPage to find the current commandComponent form.

Second: overwrite findComponent() in UIData to remove the rowId prefix if the
    clientId starts with it.

What did you think?

> Popup closes unexpectedly if command is execuded from inside sheet
> ------------------------------------------------------------------
>
>                 Key: TOBAGO-310
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-310
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.0.10
>            Reporter: Volker Weber
>         Assigned To: Volker Weber
>
> If a popup contains a sheet with a command inside the sheet, 
> the popup closes when the comand is executed, 
> even if the command don' t has a popupClose attribute.
> This happens because the actionId contains the rowIndex, 
> and with this the findComponent() fails.

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


[jira] Resolved: (TOBAGO-310) Popup closes unexpectedly if command is execuded from inside sheet

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Volker Weber resolved TOBAGO-310.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.11

> Popup closes unexpectedly if command is execuded from inside sheet
> ------------------------------------------------------------------
>
>                 Key: TOBAGO-310
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-310
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.0.10
>            Reporter: Volker Weber
>         Assigned To: Volker Weber
>             Fix For: 1.0.11
>
>
> If a popup contains a sheet with a command inside the sheet, 
> the popup closes when the comand is executed, 
> even if the command don' t has a popupClose attribute.
> This happens because the actionId contains the rowIndex, 
> and with this the findComponent() fails.

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