You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2007/05/13 12:10:15 UTC

[jira] Created: (WICKET-560) [body] works strange

<wicket:body>[body]</wicket> works strange
------------------------------------------

                 Key: WICKET-560
                 URL: https://issues.apache.org/jira/browse/WICKET-560
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3
            Reporter: Peter Ertl
            Priority: Minor


While

   <wicket:body/> 

works fine in a border component the following code behaves strangely:

<wicket:body>[some mockup html]</wicket:body>

it will not _only_ render the body component but instead

  [body component]</wicket:body>

so there will be a left over closing tag without the equivalent opening tag in the resulting html...



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


[jira] Closed: (WICKET-560) [body] works strange

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

Peter Ertl closed WICKET-560.
-----------------------------

    Resolution: Fixed

fixed

> <wicket:body>[body]</wicket> works strange
> ------------------------------------------
>
>                 Key: WICKET-560
>                 URL: https://issues.apache.org/jira/browse/WICKET-560
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Peter Ertl
>            Priority: Minor
>             Fix For: 1.3
>
>
> While
>    <wicket:body/> 
> works fine in a border component the following code behaves strangely:
> <wicket:body>[some mockup html]</wicket:body>
> it will not _only_ render the body component but instead
>   [body component]</wicket:body>
> so there will be a left over closing tag without the equivalent opening tag in the resulting html...

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


[jira] Reopened: (WICKET-560) [body] works strange

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

Peter Ertl reopened WICKET-560:
-------------------------------


maybe this is not related to the fix...

the wicket:body works fine now but the 

  <wicket:head>..</wicket:head>

does not seem to be rendered anymore.

I have a very simple example here and get no output for the header contribution.


> <wicket:body>[body]</wicket> works strange
> ------------------------------------------
>
>                 Key: WICKET-560
>                 URL: https://issues.apache.org/jira/browse/WICKET-560
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Peter Ertl
>            Priority: Minor
>             Fix For: 1.3
>
>
> While
>    <wicket:body/> 
> works fine in a border component the following code behaves strangely:
> <wicket:body>[some mockup html]</wicket:body>
> it will not _only_ render the body component but instead
>   [body component]</wicket:body>
> so there will be a left over closing tag without the equivalent opening tag in the resulting html...

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


[jira] Commented: (WICKET-560) [body] works strange

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495531 ] 

Juergen Donnerstag commented on WICKET-560:
-------------------------------------------

Ups. All junit tests passed successfully. Can you attach your example (quickstart or junit test) please.

> <wicket:body>[body]</wicket> works strange
> ------------------------------------------
>
>                 Key: WICKET-560
>                 URL: https://issues.apache.org/jira/browse/WICKET-560
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Peter Ertl
>            Priority: Minor
>             Fix For: 1.3
>
>
> While
>    <wicket:body/> 
> works fine in a border component the following code behaves strangely:
> <wicket:body>[some mockup html]</wicket:body>
> it will not _only_ render the body component but instead
>   [body component]</wicket:body>
> so there will be a left over closing tag without the equivalent opening tag in the resulting html...

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


[jira] Commented: (WICKET-560) [body] works strange

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495566 ] 

Peter Ertl commented on WICKET-560:
-----------------------------------

Sorry, the problem seems to be caused by a fix of 

  https://issues.apache.org/jira/browse/WICKET-549

Once I stop using <html wicket:id="html">

the header contribution is there again...

I will report that on WICKET-549

So, the fix works fine - and - thanks a lot for fixing it!! :-))


> <wicket:body>[body]</wicket> works strange
> ------------------------------------------
>
>                 Key: WICKET-560
>                 URL: https://issues.apache.org/jira/browse/WICKET-560
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Peter Ertl
>            Priority: Minor
>             Fix For: 1.3
>
>
> While
>    <wicket:body/> 
> works fine in a border component the following code behaves strangely:
> <wicket:body>[some mockup html]</wicket:body>
> it will not _only_ render the body component but instead
>   [body component]</wicket:body>
> so there will be a left over closing tag without the equivalent opening tag in the resulting html...

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


[jira] Resolved: (WICKET-560) [body] works strange

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

Juergen Donnerstag resolved WICKET-560.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

fixed and junit test added

> <wicket:body>[body]</wicket> works strange
> ------------------------------------------
>
>                 Key: WICKET-560
>                 URL: https://issues.apache.org/jira/browse/WICKET-560
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Peter Ertl
>            Priority: Minor
>             Fix For: 1.3
>
>
> While
>    <wicket:body/> 
> works fine in a border component the following code behaves strangely:
> <wicket:body>[some mockup html]</wicket:body>
> it will not _only_ render the body component but instead
>   [body component]</wicket:body>
> so there will be a left over closing tag without the equivalent opening tag in the resulting html...

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


[jira] Commented: (WICKET-560) [body] works strange

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495354 ] 

Peter Ertl commented on WICKET-560:
-----------------------------------

in case it helps - these are my markup settings:

    final IMarkupSettings markupSettings = getMarkupSettings();
    markupSettings.setCompressWhitespace(true);
    markupSettings.setStripComments(true);
    markupSettings.setStripWicketTags(true);
    markupSettings.setStripXmlDeclarationFromOutput(true);


> <wicket:body>[body]</wicket> works strange
> ------------------------------------------
>
>                 Key: WICKET-560
>                 URL: https://issues.apache.org/jira/browse/WICKET-560
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Peter Ertl
>            Priority: Minor
>
> While
>    <wicket:body/> 
> works fine in a border component the following code behaves strangely:
> <wicket:body>[some mockup html]</wicket:body>
> it will not _only_ render the body component but instead
>   [body component]</wicket:body>
> so there will be a left over closing tag without the equivalent opening tag in the resulting html...

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