You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Zoltan Luspai (JIRA)" <ji...@apache.org> on 2010/12/15 18:06:01 UTC

[jira] Created: (WICKET-3255) css/js files added as header contribution not added via ajax request

css/js files added as header contribution not added via ajax request
--------------------------------------------------------------------

                 Key: WICKET-3255
                 URL: https://issues.apache.org/jira/browse/WICKET-3255
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.14
            Reporter: Zoltan Luspai


I'm trying to upgrade from 1.4.7 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request. 

Details are:

*I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
   this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
   this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));

The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.7:

{{{
<link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
< <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
}}}

Is this a regression, or just some change I'm missing?

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


[jira] Commented: (WICKET-3255) css/js files added as header contribution not added via ajax request

Posted by "Jeremy Thomerson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971748#action_12971748 ] 

Jeremy Thomerson commented on WICKET-3255:
------------------------------------------

As a note, I am working today on the final fix for ajax header contributions with the new stuff added in the original (broken) commit.  After I get the fix committed, I will be building a release tonight or tomorrow night.

> css/js files added as header contribution not added via ajax request
> --------------------------------------------------------------------
>
>                 Key: WICKET-3255
>                 URL: https://issues.apache.org/jira/browse/WICKET-3255
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.14
>            Reporter: Zoltan Luspai
>             Fix For: 1.4.15
>
>
> I'm trying to upgrade from 1.4.13 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request. 
> Details are:
> *I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
>    this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
>    this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));
> The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.13:
> {{{
> <link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
> < <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
> }}}
> Is this a regression, or just some change I'm missing?

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


[jira] Updated: (WICKET-3255) css/js files added as header contribution not added via ajax request

Posted by "Zoltan Luspai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltan Luspai updated WICKET-3255:
----------------------------------

    Description: 
I'm trying to upgrade from 1.4.13 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request. 

Details are:

*I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
   this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
   this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));

The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.13:

{{{
<link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
< <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
}}}

Is this a regression, or just some change I'm missing?

  was:
I'm trying to upgrade from 1.4.7 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request. 

Details are:

*I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
   this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
   this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));

The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.7:

{{{
<link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
< <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
}}}

Is this a regression, or just some change I'm missing?


> css/js files added as header contribution not added via ajax request
> --------------------------------------------------------------------
>
>                 Key: WICKET-3255
>                 URL: https://issues.apache.org/jira/browse/WICKET-3255
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.14
>            Reporter: Zoltan Luspai
>             Fix For: 1.4.15
>
>
> I'm trying to upgrade from 1.4.13 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request. 
> Details are:
> *I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
>    this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
>    this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));
> The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.13:
> {{{
> <link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
> < <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
> }}}
> Is this a regression, or just some change I'm missing?

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


[jira] Commented: (WICKET-3255) css/js files added as header contribution not added via ajax request

Posted by "Zoltan Luspai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971749#action_12971749 ] 

Zoltan Luspai commented on WICKET-3255:
---------------------------------------

Thank you for the quick responses; so I'm waiting for 1.4.15.

> css/js files added as header contribution not added via ajax request
> --------------------------------------------------------------------
>
>                 Key: WICKET-3255
>                 URL: https://issues.apache.org/jira/browse/WICKET-3255
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.14
>            Reporter: Zoltan Luspai
>             Fix For: 1.4.15
>
>
> I'm trying to upgrade from 1.4.13 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request. 
> Details are:
> *I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
>    this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
>    this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));
> The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.13:
> {{{
> <link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
> < <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
> }}}
> Is this a regression, or just some change I'm missing?

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


[jira] Closed: (WICKET-3255) css/js files added as header contribution not added via ajax request

Posted by "Pedro Santos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Santos closed WICKET-3255.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.15

Hi Zoltan, it is already fixed at 1.4.15, more explanations at: 
http://apache.markmail.org/search/?q=Re%3A%20svn%20commit%3A%20r1033843#query:Re%3A%20svn%20commit%3A%20r1033843%20list%3Aorg.apache.wicket.dev+page:1+mid:qlcjm5bh2hbqfrjl+state:results

> css/js files added as header contribution not added via ajax request
> --------------------------------------------------------------------
>
>                 Key: WICKET-3255
>                 URL: https://issues.apache.org/jira/browse/WICKET-3255
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.14
>            Reporter: Zoltan Luspai
>             Fix For: 1.4.15
>
>
> I'm trying to upgrade from 1.4.7 to 1.4.14 and found that css and js files added as header contribution are not appearing in the ajax request. 
> Details are:
> *I have a WikiPageCard (Panel subclass) class which adds two header contributions like this:
>    this.add(CSSPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.css"));
>    this.add(JavascriptPackageResource.getHeaderContribution(WikiPageCard.class, "WikiPageCard.js"));
> The first instance of this WikiPageCard component is only added to the page in an ajax request, so the css/js files are not part of the page during the initial load. I had a look at the Wicket's ajax debug window, and I can see that indeed these lines are missing from the ajax response with Wicket 1.4.14, but they are present in 1.4.7:
> {{{
> <link rel="stylesheet" type="text/css" href="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.css?w:lm=1289895391" />
> < <script type="text/javascript" src="../resources/com.intland.codebeamer.wicket.pages.wikiexporttopdf.WikiPageCard/WikiPageCard.js?w:lm=1289895391"></script>
> }}}
> Is this a regression, or just some change I'm missing?

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