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

On Fri, Jun 17, 2016 at 8:46 PM, Martin Grigorov <[email protected]>
wrote:

> It is caused by a change for WICKET-5988
>
> Now the body container is not added to the Border but it relies solely on
> component resolving.
> The problem is that the resolving is not used when visiting the children
>
> Please file a ticket at JIRA!
> Thanks!
> On Jun 17, 2016 10:08 AM, "Martin Grigorov" <[email protected]> wrote:
>
>> Hi,
>>
>> I'll take a look soon!
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Thu, Jun 16, 2016 at 8:04 AM, Dirk Forchel <[email protected]>
>> wrote:
>>
>>> Hi Martin,
>>> I've added a much more simpler test application to show what's not
>>> working
>>> (see myproject2.zip below).
>>> On the first page you can see on the right side a TextComponent with a
>>> simple Behavior added to a Page. This Behavior adds some
>>> JavaScriptResourceReference (the jQuery function definition) and an
>>> OnDomReadyHeaderItem (the jQuery function call) to the header. If it
>>> works,
>>> the value of the input field is replaced from "test" to "Hello Dude!" and
>>> the input element is highlighted for a short moment.
>>> On the second page you can find the same functionality but added to a
>>> Border
>>> component. This works as well as described.
>>> On the third page I've added a TextComponent with the same Behavior but
>>> to
>>> the BorderBodyContainer (the content area) of our layout class (a Border
>>> component) which is added to another Border (our layout container). On
>>> this
>>> page, the Behavior is NOT working with Wicket 7.3. But the same IS
>>> working
>>> with Wicket 6.23. You can easily switch between both versions by changing
>>> the wicket.version in the pom.xml.
>>> I've noticed during my investigation, that the "renderHead" method of the
>>> Behavior class never gets called and I have not glue why! I could
>>> imagine,
>>> that one reason could be the fact, that we use two nested Border
>>> components.
>>> But the behavior should work with this combination as well, I think.
>>> Could you please have a look at this problem.
>>>
>>> Here is the quickstart:  myproject2.zip
>>> <http://apache-wicket.1842946.n4.nabble.com/file/n4674910/myproject2.zip
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://apache-wicket.1842946.n4.nabble.com/Problem-migrating-to-Wicket-7-tp4674842p4674910.html
>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>

Reply via email to