You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Robert Schoch (JIRA)" <de...@myfaces.apache.org> on 2012/08/03 14:37:02 UTC
[jira] [Comment Edited] (TRINIDAD-2238) dialog popup via
commandButton's action property can only be done once in same page in
Trinidad 2.0.1
[ https://issues.apache.org/jira/browse/TRINIDAD-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428034#comment-13428034 ]
Robert Schoch edited comment on TRINIDAD-2238 at 8/3/12 12:36 PM:
------------------------------------------------------------------
The Attachment contains a test case with ENABLE_LIGHTWEIGHT_DIALOGS=true in the web.xml and partialSubmit="true" in the launcher button for a test dialog to reproduce the error.
If partialSubmit is set to false, it works.
Also: If ENABLE_LIGHTWEIGHT_DIALOGS is set to false, a dialog launch with partialSubmit="true" can be done only once.
was (Author: robs888):
This is a test case with ENABLE_LIGHTWEIGHT_DIALOGS=true in the web.xml and partialSubmit="true" in the launcher button for a test dialog to reproduce the error.
If partialSubmit is set to false, it works.
Also: If ENABLE_LIGHTWEIGHT_DIALOGS is set to false, a dialog launch with partialSubmit="true" can be done only once.
> dialog popup via commandButton's action property can only be done once in same page in Trinidad 2.0.1
> -----------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-2238
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2238
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 2.0.1-core
> Environment: windows,eclipse,firefox,Trinidad 2.0.1,javax-faces-2.1.4
> Reporter: mojiayi
> Attachments: TrinidadDialogTestCase.zip
>
>
> I use this commandButton to popup a dialog,it's work fine for the first time.
> <tr:commandButton text="print" action="dialog:table" useWindow="true" actionListener="#{tableBean.printTableListener}"
> width="900" height="500" partialSubmit="true"/>
> Once I close this dialog,there is a js error shown in console of parent page.
> jsf.ajax.request: source not set
> [Break on this error] throw new Error("jsf.ajax.request: source not set");
> this js error is occured in line 1700 of file jsf.js in jsf jar.
> And if I try to click this button to open this dialog again,dialog will not popup,nothing happens.Unless a ppr or reopen a page,dialog popup normally.
> I think this is a bug of the new version of trinidad,because no such error in trinidad 1.2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira