Executing a method from a bean ?

Questions and answers on developing, deploying and using plugins and JavaBeans

Executing a method from a bean ?

Postby olivier melet » Wed Nov 03, 2004 8:35 am

I must be missing something, what should I do in order to execute a servoy method from a bean, is it possible :?:

Example: we decided to place a jScrollBar in a tabpannel in order to let the user browse through complex data which we have to process before displaying to her/him.
Everything works well, but whatever we try we could not find how to trigger the servoy method when the scrollbar is modified by the user.
What are we missing?
Does anybody have an example of a working jScollBar?
Thank You in advance.
Olivier Melet
Administration et projets
InfoForm SA
olivier melet
 
Posts: 183
Joined: Mon Apr 19, 2004 3:33 pm
Location: Switzerland

Postby Jan Blok » Wed Nov 03, 2004 11:04 am

It is default not possible to trigger a Servoy method from a bean, unless the bean was designed to work within Servoy (such as the recently released dbtreeview)
The jscrollbar is a default java swing bean which can be used by asking the value from the bean in for example onRecordSave event on a form.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 43 guests