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

Cannot change / translate labels as described in "How To... Create New Web Forms"

Hi everyone,

I have developed some custom Web Forms according to the document "How To... Create New Web Forms" (http://scn.sap.com/docs/DOC-22253). The Web Forms themselves work just fine.

However, I cannot change / translate the labels in the Web Form as described in the document. It says that I would need to import the attached ZIP file (which is a BundleProject) into SAP Netweaver Portal Studio, change the *.properties-files and finally export everything to an *.ear-file. When exporting, building the project fails as the file "tc~km~frwk.jar" is missing. A quick look in the build path shows that NWDS is looking for the file at \\production2.wdf.sap.corp\naas\java\730\km.facades\NW730EXT_SP_COR\gen\dbg\java\packaged\public\_kmfrwk which of course does not exist!

Could anybody tell me what the correct reference should look like?

Regards,
Walter

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2012 at 12:28 PM

    The problem can be solved by implementing fake classes for the missing classes referenced by the sample project. The fake classes do not need to implement any functionality, there just needed that the project can be compiled. Before the project is deployed, the fake classes have to be removed from the ear. By doing so, we managed to get the desired result.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Walter,

      I have removed this jar reference and able to build and deploy the project with out any errors. But the label texts from the bundle.properties file are not read by the WPC when the Webform is opened in Edit mode. Can you please share, How did you achieved the desired results.

      Regards,

      Ramesh

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.