Servoy Beans and Solution Model

Hi All

I need to place a Bean in a solution model form. The form is created on the fly. I cannot find a way to place the Bean in that new form.
The no. of bean instance to be placed is dependent on the no. of records in a table. So solution Model is obvious to use.

So what is the way to achieve this ?

At this time you can’t add beans via the solutionModel. I guess you can create a feature request for this in the support system.
But perhaps you could do it in another way, by using an existing form with that bean on it that you clone it via the SM. Then you can show this cloned form via a (hidden) tabpanel that you create on the fly on your main form.

Hope this helps.

Thanks Robert Ivens for the reply.
But I think it will not solve the problem. Because I need the Beans to be placed like a matrix(with multiple rows and columns).

Created Feature Request id : 316749

Hi,

But you can put these tabpanels (with referenced forms with bean) anywhere you like using the SolutionModel. Of course you can’t use a listview but when you use a recordview you can create any matrix you like by code.
So instead of adding beans you are adding tabpanels referencing forms with a bean.

Hope this helps.

Yes I got your point.
It will add some more overhead. But it will solve my problem. :)

Thanks for your help.

pradiptab:
Thanks Robert Ivens for the reply.
But I think it will not solve the problem. Because I need the Beans to be placed like a matrix(with multiple rows and columns).

Created Feature Request id : 316749

This feature request will be included in Servoy 6.0 .

Hi Laurian,

that’s great news! I just saw the commit on svn. Will this be available in 5.2 branch as well?

Thanks,

lvostinar:
This feature request will be included in Servoy 6.0 .

Thanks Team Servoy. Waiting for the release. :)

ptalbot:
Hi Laurian,

that’s great news! I just saw the commit on svn. Will this be available in 5.2 branch as well?

Thanks,

No, new features are added to trunk only.

OK thanks!