You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Michael Grinner (JIRA)" <ji...@apache.org> on 2008/06/08 18:19:45 UTC

[jira] Updated: (WICKET-1689) style resources not looked up correctly in markup inheritance

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

Michael Grinner updated WICKET-1689:
------------------------------------

    Description: 
example:
ContactPage extends TemplatePage
TemplatePage_style.html
TemplatePage.html
ContactPage.html

works for no style, so TemplatePage.html and ContactPage.html are used.

if style is set to 'style' in the session, TemplagePage_style.html is not looked up - components on ContactPage are looked up correctly.

It does work ok if there is a ContacPage_style.html as well, then TemplatePage_style.html is looked up and used! this though is neither expected behaviour nor practical.

probably loadMarkupAndWatchForChanges sees identical ResourceStreams and does not resolve the <wicket:child> containing markup

properties, xmls etc. are looked up for all components and style independant whether higher hierarchy components properties are styled or not 



  was:
example:
ContactPage extends TemplatePage
TemplatePage_style.html
TemplatePage.html
ContactPage.html

works for not style, so TemplatePage.html and ContactPage.html are used.

if style is set to 'style' in the session, TemplagePage_style.html is not looked up - components on ContactPage are looked up correctly.

It does work ok if there is a ContacPage_style.html as well, then TemplatePage_style.html is looked up and used! this though is neither expected behaviour nor practical.

properties, xmls etc. are looked up for all components and style independant whether higher hierarchy components properties are styled or not 


> style resources not looked up correctly in markup inheritance
> -------------------------------------------------------------
>
>                 Key: WICKET-1689
>                 URL: https://issues.apache.org/jira/browse/WICKET-1689
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.3
>            Reporter: Michael Grinner
>
> example:
> ContactPage extends TemplatePage
> TemplatePage_style.html
> TemplatePage.html
> ContactPage.html
> works for no style, so TemplatePage.html and ContactPage.html are used.
> if style is set to 'style' in the session, TemplagePage_style.html is not looked up - components on ContactPage are looked up correctly.
> It does work ok if there is a ContacPage_style.html as well, then TemplatePage_style.html is looked up and used! this though is neither expected behaviour nor practical.
> probably loadMarkupAndWatchForChanges sees identical ResourceStreams and does not resolve the <wicket:child> containing markup
> properties, xmls etc. are looked up for all components and style independant whether higher hierarchy components properties are styled or not 

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