Hi Martin, 

thanks for help. 
A pull request is here as you asked:
https://github.com/apache/wicket/pull/894

My trouble is that I only get these warnings in production and couldnt find 
them in development, so the classic debug->breakpoint wont work but the 
messages will :)


----- Ursprüngliche Mail -----
> Von: "Martin Grigorov" 
> An: "users" <users@wicket.apache.org>
> Gesendet: Dienstag, 18. Juni 2024 08:50:09
> Betreff: Re: Getting more details into the logs for Component warning

> Hi,
> 
> The easiest is to put a breakpoint at
> https://github.com/apache/wicket/blob/b2d55be7b06d736b2085387ecc29cdd22540b588/wicket-core/src/main/java/org/apache/wicket/Component.java#L2480
> Feel free to send a Pull Request with more details in the log message!
> 
> On Tue, Jun 18, 2024 at 9:32 AM Korbinian Bachl
>  wrote:
> 
>> Hi,
>>
>> it seems as I somewhere made a set MarkupId on a component that renders
>> body only. I got much like this:
>>
>> [[WARN  - Component                  - Markup id set on a component that
>> renders its body only. Markup id: ida0ce, component id: body.]]
>>
>> The markup id seems a repeater generated one. Any idea how I can get more
>> details about the Component like maybe its class so I can spot it?
>>
>> Best,
>>
>> KB
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to