[
https://issues.apache.org/jira/browse/TOBAGO-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680630#comment-17680630
]
Udo Schnurpfeil commented on TOBAGO-2191:
-----------------------------------------
Seems to be a problem in the jsf_js_ts lib DomQuery.fromMarkup function.
> In special case: Unproper HTML replacement after AJAX
> -----------------------------------------------------
>
> Key: TOBAGO-2191
> URL: https://issues.apache.org/jira/browse/TOBAGO-2191
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: JavaScript
> Reporter: Udo Schnurpfeil
> Priority: Minor
>
> If the fragment loaded by AJAX contains a <header> tag, there will be an
> html-block around the fragment like:
> {code}
> <html>
> <head></head>
> <body>
> <tobago-panel><header>replacement</header></tobago-panel>
> </body>
> </html>
> {code}
> exprected:
> {code}
> <tobago-panel><header>replacement</header></tobago-panel>
> {code}
> It occurs e.g. on the page
> https://tobago-demo.apache.org/demo-5-snapshot/content/080-sheet/30-event/Sheet_Event.xhtml
> Click the radio select to change the sheet below. After the request the
> <tobago-selgment-layout> tag is inside a <html><body>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)