You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "TH Lim (Created) (JIRA)" <ji...@apache.org> on 2011/11/17 09:02:51 UTC
[jira] [Created] (WICKET-4235) Parent / Child HeaderRenderStrategy
does not work with tag
Parent / Child HeaderRenderStrategy does not work with <wicket:head> tag
------------------------------------------------------------------------
Key: WICKET-4235
URL: https://issues.apache.org/jira/browse/WICKET-4235
Project: Wicket
Issue Type: Bug
Affects Versions: 1.5.3
Environment: Windows 7, JDK 1.6.x
Reporter: TH Lim
Priority: Minor
I was using <wicket:head> to render the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output.
--
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
[jira] [Updated] (WICKET-4235) Parent / Child HeaderRenderStrategy
does not work with tag
Posted by "TH Lim (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
TH Lim updated WICKET-4235:
---------------------------
Attachment: wicket-header-bug.zip
Quickstart attached
> Parent / Child HeaderRenderStrategy does not work with <wicket:head> tag
> ------------------------------------------------------------------------
>
> Key: WICKET-4235
> URL: https://issues.apache.org/jira/browse/WICKET-4235
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows 7, JDK 1.6.x
> Reporter: TH Lim
> Priority: Minor
> Attachments: wicket-header-bug.zip
>
>
> I was using <wicket:head> to render the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output.
--
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
[jira] [Reopened] (WICKET-4235) Parent / Child HeaderRenderStrategy
does not work with tag
Posted by "Martin Grigorov (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reopened WICKET-4235:
-------------------------------------
Reopen the ticket to re-check.
> Parent / Child HeaderRenderStrategy does not work with <wicket:head> tag
> ------------------------------------------------------------------------
>
> Key: WICKET-4235
> URL: https://issues.apache.org/jira/browse/WICKET-4235
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows 7, JDK 1.6.x
> Reporter: TH Lim
> Assignee: Emond Papegaaij
> Priority: Minor
> Attachments: wicket-header-bug.zip
>
>
> I was using <wicket:head> to render the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output.
--
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
[jira] [Commented] (WICKET-4235) Parent / Child
HeaderRenderStrategy does not work with tag
Posted by "TH Lim (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179314#comment-13179314 ]
TH Lim commented on WICKET-4235:
--------------------------------
I reset my "quickstart" project to use 6.0-SNAPSHOT to try it out. I have the same result regardless if I use the -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ParentFirstHeaderRenderStrategy or not.
Is there a test case or references I can use to check out this fix. Thanks
> Parent / Child HeaderRenderStrategy does not work with <wicket:head> tag
> ------------------------------------------------------------------------
>
> Key: WICKET-4235
> URL: https://issues.apache.org/jira/browse/WICKET-4235
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows 7, JDK 1.6.x
> Reporter: TH Lim
> Priority: Minor
> Attachments: wicket-header-bug.zip
>
>
> I was using <wicket:head> to render the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output.
--
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
[jira] [Resolved] (WICKET-4235) Parent / Child HeaderRenderStrategy
does not work with tag
Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4235.
-------------------------------------
Resolution: Duplicate
Fixed with WICKET-4000 in Wicket 6.0
> Parent / Child HeaderRenderStrategy does not work with <wicket:head> tag
> ------------------------------------------------------------------------
>
> Key: WICKET-4235
> URL: https://issues.apache.org/jira/browse/WICKET-4235
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows 7, JDK 1.6.x
> Reporter: TH Lim
> Priority: Minor
> Attachments: wicket-header-bug.zip
>
>
> I was using <wicket:head> to render the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output.
--
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
[jira] [Closed] (WICKET-4235) Parent / Child HeaderRenderStrategy
does not work with tag
Posted by "Emond Papegaaij (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emond Papegaaij closed WICKET-4235.
-----------------------------------
Resolution: Cannot Reproduce
Fix Version/s: 6.0.0
I tested against the latest Wicket 6.0 and it works as expected. With the default strategy, I first get the message from the panel and then from the page (child first). With -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ParentFirstHeaderRenderStrategy I get the message from the page first, followed by the message from the panel (parent first).
Be advised though that the rendering strategy is not the preferred way to put certain header items in front. Wicket 6.0 now has a PriorityHeaderItem, which gets rendered parent-first.
> Parent / Child HeaderRenderStrategy does not work with <wicket:head> tag
> ------------------------------------------------------------------------
>
> Key: WICKET-4235
> URL: https://issues.apache.org/jira/browse/WICKET-4235
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows 7, JDK 1.6.x
> Reporter: TH Lim
> Assignee: Emond Papegaaij
> Priority: Minor
> Fix For: 6.0.0
>
> Attachments: wicket-header-bug.zip
>
>
> I was using <wicket:head> to render the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output.
--
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
[jira] [Assigned] (WICKET-4235) Parent / Child HeaderRenderStrategy
does not work with tag
Posted by "Martin Grigorov (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-4235:
---------------------------------------
Assignee: Emond Papegaaij
> Parent / Child HeaderRenderStrategy does not work with <wicket:head> tag
> ------------------------------------------------------------------------
>
> Key: WICKET-4235
> URL: https://issues.apache.org/jira/browse/WICKET-4235
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5.3
> Environment: Windows 7, JDK 1.6.x
> Reporter: TH Lim
> Assignee: Emond Papegaaij
> Priority: Minor
> Attachments: wicket-header-bug.zip
>
>
> I was using <wicket:head> to render the child component (Wicket Panel) CSS / JS 1st then followed by the parent. It didn't work. It always renders the parent (Wicket WebPage) JS 1st. I used -DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy or ParentFirstHeaderRenderStrategy and it rendered the same HTML output.
--
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