You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Andreas Hochsteger (JIRA)" <ji...@apache.org> on 2005/11/01 20:58:55 UTC

[jira] Created: (COCOON-1672) Help popup broken in CForms samples

Help popup broken in CForms samples
-----------------------------------

         Key: COCOON-1672
         URL: http://issues.apache.org/jira/browse/COCOON-1672
     Project: Cocoon
        Type: Bug
  Components: Blocks: Forms, - Samples  
    Versions: 2.1.8-dev (Current SVN)    
    Reporter: Andreas Hochsteger


If you open the multiform (ajax) sample (http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/do-multipage.flow) and click on the help popup for the email addres, it is working.
But if you click on next, then it is not working any more.
I get the following JavaScript error:
Error: helpWinN10010 has no properties

It seems to me, that the help window is not referenced correctly after the first submit.

Perhaps it's AJAX-related, because it is working for non-ajax samples:
http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/form1
http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/captcha/

Similar problems can be found on the following samples with the help popup and calendar popup, where the images are missing too:
http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form1.flow
http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form2.flow
http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/hotel.flow

I tested it locally with a fresh svn checkout (r330107) and on cocoon.zones.apache.org with Firefox 1.5beta2 and IE 6 (Win XP Pro, SP2), Sun JDK 1.5.0_04.


-- 
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: (COCOON-1672) Help popup broken in CForms samples

Posted by "Sylvain Wallez (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/COCOON-1672?page=comments#action_12356541 ] 

Sylvain Wallez commented on COCOON-1672:
----------------------------------------

I'm currently working on a fix.

The problem is twofold:
- use of generate-id() which should be avoided in an Ajax environment where several requests participate to a single page
- <script> tags in Ajax responses which aren't evaluated

> Help popup broken in CForms samples
> -----------------------------------
>
>          Key: COCOON-1672
>          URL: http://issues.apache.org/jira/browse/COCOON-1672
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms, - Samples
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Andreas Hochsteger
>     Assignee: Sylvain Wallez

>
> If you open the multiform (ajax) sample (http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/do-multipage.flow) and click on the help popup for the email addres, it is working.
> But if you click on next, then it is not working any more.
> I get the following JavaScript error:
> Error: helpWinN10010 has no properties
> It seems to me, that the help window is not referenced correctly after the first submit.
> Perhaps it's AJAX-related, because it is working for non-ajax samples:
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/form1
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/captcha/
> Similar problems can be found on the following samples with the help popup and calendar popup, where the images are missing too:
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form1.flow
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form2.flow
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/hotel.flow
> I tested it locally with a fresh svn checkout (r330107) and on cocoon.zones.apache.org with Firefox 1.5beta2 and IE 6 (Win XP Pro, SP2), Sun JDK 1.5.0_04.

-- 
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] Closed: (COCOON-1672) Help popup broken in CForms samples

Posted by "Sylvain Wallez (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1672?page=all ]
     
Sylvain Wallez closed COCOON-1672:
----------------------------------

    Resolution: Fixed

Fixed by revisions r330513 and r330514

> Help popup broken in CForms samples
> -----------------------------------
>
>          Key: COCOON-1672
>          URL: http://issues.apache.org/jira/browse/COCOON-1672
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms, - Samples
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Andreas Hochsteger
>     Assignee: Sylvain Wallez

>
> If you open the multiform (ajax) sample (http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/do-multipage.flow) and click on the help popup for the email addres, it is working.
> But if you click on next, then it is not working any more.
> I get the following JavaScript error:
> Error: helpWinN10010 has no properties
> It seems to me, that the help window is not referenced correctly after the first submit.
> Perhaps it's AJAX-related, because it is working for non-ajax samples:
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/form1
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/captcha/
> Similar problems can be found on the following samples with the help popup and calendar popup, where the images are missing too:
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form1.flow
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form2.flow
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/hotel.flow
> I tested it locally with a fresh svn checkout (r330107) and on cocoon.zones.apache.org with Firefox 1.5beta2 and IE 6 (Win XP Pro, SP2), Sun JDK 1.5.0_04.

-- 
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] Assigned: (COCOON-1672) Help popup broken in CForms samples

Posted by "Sylvain Wallez (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/COCOON-1672?page=all ]

Sylvain Wallez reassigned COCOON-1672:
--------------------------------------

    Assign To: Sylvain Wallez

> Help popup broken in CForms samples
> -----------------------------------
>
>          Key: COCOON-1672
>          URL: http://issues.apache.org/jira/browse/COCOON-1672
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms, - Samples
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Andreas Hochsteger
>     Assignee: Sylvain Wallez

>
> If you open the multiform (ajax) sample (http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/do-multipage.flow) and click on the help popup for the email addres, it is working.
> But if you click on next, then it is not working any more.
> I get the following JavaScript error:
> Error: helpWinN10010 has no properties
> It seems to me, that the help window is not referenced correctly after the first submit.
> Perhaps it's AJAX-related, because it is working for non-ajax samples:
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/form1
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/captcha/
> Similar problems can be found on the following samples with the help popup and calendar popup, where the images are missing too:
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form1.flow
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/form2.flow
> http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/library/hotel.flow
> I tested it locally with a fresh svn checkout (r330107) and on cocoon.zones.apache.org with Firefox 1.5beta2 and IE 6 (Win XP Pro, SP2), Sun JDK 1.5.0_04.

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