Skip to Content

JavaBean methods not visible


I created a JavaBean with properties, getters and setters and a few other methods (addRecord, deleteRecord etc.). I'm using this bean to insert & update data on a Oracle database.

I created a model from this JavaBean, added it to used models and did the context mapping.

I can see the getters and setters fine, but the other methods do not show up.

What should I do to get these methods visible to WebDynpro ? Should these methods be of certain type or should I add them somwhere (to methods in the JavaBean model in dev studio maybe ?) to be visible ?

Any help greatly appreciated!

Kind Regards,

Jari Pakarinen

Message was edited by: Jari Pakarinen

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Oct 07, 2005 at 07:42 AM

    Hi again 😊

    Should I just use the JavaBean straigth from the view of component controller and leave the model thingy out of the picture ?

    What are the pros/cons here ?



    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 07, 2005 at 10:07 AM

    After import JavaBean model and connecting in data modeler, try applay model to view. It's work fine.

    In controller you can bind that model puting code in controller wdDoInit()

    try {
      MyObject myobject= new MyObject();
      } catch (Exception e) {}

    When you want to call some method, make action and in action method put


    I hope it will help you.



    Add comment
    10|10000 characters needed characters exceeded