tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Homburg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2450) component "If" dont work correct since TAP5-2445 changes
Date Mon, 09 Feb 2015 11:16:35 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312111#comment-14312111
] 

Sven Homburg commented on TAP5-2450:
------------------------------------

I can't reproduce it by a smal sample.
i trace to code where the exception occures (ComponentPageElementImpl line 441)

and get variable content of "current" and "expectedElementAtCompletion"

{code:title=content of current}
<div class="btn-group">
  <button data-toggle="dropdown" type="button" class="btn btn-default btn-xs dropdown-toggle">
    Aktionen <span class="caret"></span>
  </button>
  <ul style="z-index: 1000;" role="menu" class="dropdown-menu">
    <li>
      <a target="_blank" href="/sts-intranet/shipment/order/browse:printshipmentsticker/121381">
        <i class="fa fa-print"></i>Palettenschein
      </a>
    </li>
  </ul>
</div>
{code}

{code:title=content of expectedElementAtCompletion}
<ul style="z-index: 1000;" role="menu" class="dropdown-menu">
  <li>
    <a target="_blank" href="/sts-intranet/shipment/order/browse:printshipmentsticker/121381">
      <i class="fa fa-print"></i>Palettenschein
    </a>
  </li>
</ul>
{code}

hope that helps


> component "If" dont work correct since TAP5-2445 changes
> --------------------------------------------------------
>
>                 Key: TAP5-2450
>                 URL: https://issues.apache.org/jira/browse/TAP5-2450
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Sven Homburg
>         Attachments: sts-intranet.log
>
>
> since michaels performance changes , the if component dont work as in the past like the
bottom example.
> {code:title=Page.java}
> @Component(parameters = {"test=condition"}
> private If ifSomethingWrong
> {code}
> {code:title=Page.tml}
> <span t:id="ifSomethingWrong">
>   blabla
> </span>
> {code}
> if i use this code, tapestry throws an exception means markup is unbalanced.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message