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

Andrea Del Bene reassigned WICKET-6478:
---------------------------------------

    Assignee: Andrea Del Bene

> Nesting 3+ enclosures leads to error You most likely forgot to register the 
> EnclosureHandler with the MarkupParserFactory
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-6478
>                 URL: https://issues.apache.org/jira/browse/WICKET-6478
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.8.0
>         Environment: Websphere 9, IBM JDK 8, Wicket 7.8.0
>            Reporter: David Rain
>            Assignee: Andrea Del Bene
>              Labels: WICKET-6026
>
> The issue reported here WICKET-6026 hasn't been resolved completely. The 
> error is still present in 7.8.0 when nesting 3 or more enclosures.
> It is OK with 2 nested enclosures.
> Markup fragment causing error
> works fine in 6.24.0
> {code:html}
>     <wicket:enclosure child="optimalloanParamsHeader">
>     <!--<h3>Úvěry ke konsolidaci</h3>-->
>         <h3><span wicket:id="optimalloanParamsHeader"/></h3>
>             <!--Úvěry od jiných bank a společností-->
>             <wicket:enclosure child="otherBankLoansList">
>                 <p class="row"><strong class="label-w-360 
> highlight"><wicket:message key="bu4372.otherBankLoans"/></strong></p>
>                 <div wicket:id="otherBankLoansList">
>                     <p class="row"><strong class="label-w-360"><span 
> wicket:id="otherBankLoanType" >[Spotřebitelský úvěr]</span></strong></p>
>                     <p class="row"><strong class="label-w-360"> - 
> <wicket:message key="bu4375.currentDebt"/></strong> <span 
> wicket:id="otherBankLoanDebit" class="value">[100 000,00]</span></p>
>                     <wicket:enclosure child="otherBankLoanMonthlyInstallment">
>                       <p class="row"><strong class="label-w-360"> - 
> <wicket:message key="bu1319.monthlyInstalm"/></strong> <span 
> wicket:id="otherBankLoanMonthlyInstallment" class="value">[2 500,00 
> CZK]</span></p>
>                     </wicket:enclosure>    
>                     <p class="row double-indent"><strong class="label-w-360"> 
> - <wicket:message key="bu4395.providedLoanAmount"/></strong> <span 
> wicket:id="otherBankLoanCreditAmount" class="value">[60 000,00]</span></p>
>                 </div>
>             </wicket:enclosure>
>             <!--Úvěry v Komerční bance-->
>             <wicket:enclosure child="kbLoansList">
>                 <p class="row"><strong class="label-w-360 
> highlight"><wicket:message key="bu4425.loansInBank"/></strong></p>
>                 <div wicket:id="kbLoansList">
>                     <p class="row"><strong class="label-w-360"><span 
> wicket:id="kbLoanType" >[Spotřebitelský úvěr]</span></strong></p>
>                     <p class="row"><strong class="label-w-360"> - 
> <wicket:message key="bu4375.currentDebt"/></strong> <span 
> wicket:id="kbLoanDebit" class="value">[100 000,00]</span></p>
>                     <p class="row"><strong class="label-w-360"> - 
> <wicket:message key="bu4395.providedLoanAmount"/></strong> <span 
> wicket:id="kbLoanCreditAmount" class="value">[60 000,00]</span></p>
>                     <p class="row double-indent"><strong class="label-w-360"> 
> - <wicket:message key="bu0004.accountNumber"/></strong> <span 
> wicket:id="kbLoanCreditAccountNumber" class="value">[123]</span></p>
>                 </div>
>             </wicket:enclosure>
>         <!--Parametry nového úvěru-->
>         <h3><wicket:message key="bu0205.loanParams"/></h3>
>             <p class="row"><strong class="label-w-360"><wicket:message 
> key="bu0008.loanAmount"/></strong><span class="value"><span 
> wicket:id="loanAmount"/></span></p>
>             <p class="row"><strong class="label-w-360"><wicket:message 
> key="bu0437.typeOfLoan"/></strong><span class="value">
>                 <wicket:container wicket:id="typeOfLoan"/>
>                 <wicket:link>
>                     <a href="#" target="_blank" 
> wicket:id="linkProductConditions" class="pl-20 highslide-iframe 
> highslide-layout-6">
>                         <wicket:message key="bu7326.loanConditions">[Úvěrové 
> podmínky]</wicket:message>
>                     </a>
>                 </wicket:link>
>             </span>
>             </p>
>             <p class="row"><strong class="label-w-360"><wicket:message 
> key="bu2154.lengthOfLoanInYears"/></strong><span class="value"><span 
> wicket:id="lengthOfLoan"/></span></p>
>             <p class="row"><strong class="label-w-360"><wicket:message 
> key="bu5462.myAccountForPayment"/></strong><span class="value"><span 
> wicket:id="accountToTransfer"/></span></p>
>     </wicket:enclosure>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to