myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hazem Saleh (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (TOMAHAWK-1226) PPRPanelGroup support for multiple forms in a page is broken
Date Fri, 27 Jun 2008 12:47:45 GMT

     [ https://issues.apache.org/jira/browse/TOMAHAWK-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hazem Saleh resolved TOMAHAWK-1226.
-----------------------------------

    Resolution: Cannot Reproduce

> PPRPanelGroup support for multiple forms in a page is broken
> ------------------------------------------------------------
>
>                 Key: TOMAHAWK-1226
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1226
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: PPRPanelGroup
>    Affects Versions: 1.1.7-SNAPSHOT
>            Reporter: Catalin Kormos
>            Assignee: Hazem Saleh
>             Fix For: 1.1.7-SNAPSHOT
>
>
> When a triggering element is part of another form than a triggered element, PPRPanelGroup
doesn't behave well. The cause is related to where the triggered element is kept, and a possible
solution is to keep it in the "window" object.
> Please look in ppr.js at "org.apache.myfaces.PPRCtrl.prototype.elementOnEventHandler"
and at "org.apache.myfaces.PPRCtrl.prototype.formSubmitReplacement"; replacing this.triggeredElement
with window.triggeredElement fixes the problem, but it might not be the best solution. 

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


Mime
View raw message