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

Migration to NW2004s

Hi,

I'm just migrating an existing project from NW2004 SP14 to NW2004s SP8.

After I replaced the deprecated methods in my controllers there remain lots of deprecated warnings for the generated internal java files!

Some like 'setPaddingRight(String) from the type IWDFlowData is deprecated'.

How can I solve this warnings?

At the moment I have both IDEs installed (NW2004 SP14 and NW2004s SP8).

Any hint appreciated!

Thanks and regards,

Roland

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2006 at 09:53 AM

    You can get rid of such warnings by replacing deprecated property settings / features by their recommended replacements.

    For example, if you used FlowData with "paddingRight" in the past to realize button panels, you can use the new "ButtonRow" UI element in NW04s etc.

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Not necessarily, this was only an example.

      For every deprecated feature, there should be a deprecation description in the Javadoc containing the recommended replacement, e.g

        /**
         * Adds the given <code>Column</code> at the end of the <code>Columns</code> list.
         *
         * @param column     the <code>Column</code> to be added to the list
         * @see #getColumns()
       * @deprecated This association may be withdrawn with the first new NetWeaver release in 2006
       * as it is no longer needed.
       * Functionality is covered in "groupedColumns". Use "groupedColumns" aggregation instead.
         */
        public void addColumn(IWDTableColumn column);
      

      If you find deprecated features without such a description, please open an OSS message on BC-WD-JAV-RUN.

      Armin

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.