add ServoyToolBar / JPanel with solutionmodel

Hi,

I want to use the ServoyToolbar / JPanel in my application.
I noticed that this will only work in smart client and I had the JPanel placed on my form.
But when using that form in webclient Servoy fails.

So I thought that when I remove the JPanel from the form and when I use the solution model to add the JPanel to the form only in smart client, that this would solve my problem.

But I don’t see a possibilty to add this JPanel to the form using the solutionmodel.

Do I see this correct and is there perhaps an alternative way?

thx

Martin

Beans are currently not supported in the solutionModel.

But the jpanel shouldnt be a problem when you are in the webclient (it doesnt do the same you just see an image) but it shouldnt crash or something like that

But the AddServoyToolbar is probably the problem then.
As fas as I know menubar is not supported in webclient

ahh yes if the bean does something in the initialize or creation (it expects stuff from its parent, like that it is a Swing application) then this could be a problem