Bean Newbie Question

Ok. I have a very very basic question.

I would like to add a pie chart to a layout in my solution. I placed a bean, and am complete lost from there. I found very little info about beans in the manual. A Google search came up with lots of info on building a bean and beans for web pages, but I need to know how to use the beans that came with Servoy. I need to know how to set up the properties of the pie chart bean so it shows data from my foundset.
Any suggestions as to where I can get more info on how to work the beans would be greatly appreciated. Thanks.

Hi Jim,

The nice thing about Servoy is that you can use standard Java Beans but, having that said, that is about it!

A Java bean is not necessarily a Servoy bean.
In other words a standard bean will not have anything in it to support Servoy ‘out-of-the-box’. It is the other way around.

That means you have to figure out how to do thing pretty much with your imagination and as much information you can find about the bean.

All properties and methods are meant to be used within a Java environment. Servoy is such environment but we drive it through JavaScript so that is where the hard part in scripting comes in.

With the above in mind you should be able to get it going…

Hope this helps

Jim

Have you looked at the sample CRM app that comes with Servoy? From memory this includes some charting so you will be able to copy/paste the code to get started.

Graham Greensall
Worxinfo Ltd