Skip to Content
author's profile photo Former Member
Former Member

Method Overloading at View Level

<b>Hi</b>,

<font size = "4" face = "Monotype Corsiva" color = "#0000FF"> <b>At a view level WebDynpro allows you to create methods. But these methods have the be of unique name. They don't allow methods to be overloaded, which is such an important asset to be had. Why doesn't webdynpro have this? And is there any future plan to support the same. </font></b>

<b>With Regards </b>

<b>Murali</b>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 22, 2004 at 03:20 PM

    Hello Murali,

    Could you please send me the project and let me know exactly, what you want to do and the method you have created and you want to call? Please expect some days of delay since I will be back in the office beginning of next week.

    karin.schattka@sap.com

    Best regards, Karin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 23, 2004 at 07:49 AM

    Hello,

    I think you could do that at least at the end of the coding where the comment says:

    <i>The following coding section can be used for any Java coding that has not to be visible to other controllers/views or that contains constructs currently not supported directly by Web Dynpro (such as inner classes or member variables etc.)</i>

    Regards

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 23, 2004 at 03:23 PM

    Hi Ilarum,

    It is possible to overload methods in Java (in ABAP it would not be possible). But this would not be a typical case within a Web Dynpro application, because Web Dynpro consumes rather fixed signatures. If you have applications where it would make sense to have method overloading, you could remove the method from the controller and put them in pure Java classes.

    Hope that helps!

    Best regards, Karin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.