cancel
Showing results for 
Search instead for 
Did you mean: 

Help with ESS Web Dynpro screens

Former Member
0 Kudos

Hi, I have been asked to modify a couple fo ESS Web Dynpro screens. On one screen I was able to add a text box with text on it ok, but when I changed the text on one of it's buttons it did not take. it looks fine until I deploy it but then only the text box I added shows up, but the text in the button does not change.

I also need to know where I can find the text for a message that is built on the fly.

I am working on the benefits part of ESS and I need to get this done by tomorrow.

Thanks

Mike Curtis

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael,

on which property did you place the text for the button?

Text messages are normally "thrown" in the wddobeforeAction method of a view. Just check the methods of the view.

What are you using - WD for ABAP or Java?

Former Member
0 Kudos

I placed the text for the button on the "text" property in the view for the button. So it shows in the Developer Studio but when it is deployed it does not change. I checked and this view for ESS does not have a method wddobeforeAction.

Thanks

Mike

Former Member
0 Kudos

So if you are using the Dev Studio we are in Java...

In the WD Project, there are the "Web Dynpro Components", did you check the "Message Pool" in your Component. In java msg are defined in there... or they are hard coded in the coding :-(.

What happend if you add an new button to the view, can you change the text then?

Former Member
0 Kudos

I looked in the "Message Pool" and there was nothing there. Before I made the change the button read "Review Enrollment" on the text property. I just changed it to read "Save Enrollment" in the same spot so I am not sure if there is some java code that is passing the value to the button text.

I was able to add a button and it showed up when I deployed it. But I am not sure what I can do with it.

Thanks

Mike

Former Member
0 Kudos

What I would do is:

Exchange the Button by a new one and set the action method of the old button in the new one.

If this is not a choice, rename the button and see if some error are shown. Not shure, but maybe some objects get generated for each element. By renaming the button you will see where they are used in the customer code... just an idea.

Make sure, that you review the contollers (in the view and the component). Check the wdDo* methods. Here customer code can be insert. Somewhere in there must be the msgs.

Former Member
0 Kudos

I did the button exchange and that worked great. But I will try renaming the original button so that I can find where it is being generated.

Also, I am having trouble finding where a text element gets it's text from:

wdContext.currentUITextsElement().setCostsHeaderText(wdThis.wdGetFcBenefitsInterface().getText("CostsHeaderText", null));

I am looking to find out where UITextsElement is finding the texts to put on the screen. Would you know where it comes from?

Thanks

Mike

Former Member
0 Kudos

"wdContext.currentUITextsElement()" means that there is a Context Element with the name UITexts in the View. This context element might be bind to a TextView element.

"wdThis.wdGetFcBenefitsInterface().get" executes a method from your WD Model. What model do you use? Double click on the WD Component. Might the text come from the model (something like an EJB etc.)?

Former Member
0 Kudos

I am a little confused on what you are saying, I am really new to java and Web Dynpro and don't know if I understand where to look. I can see a UITexts element in the context view, but I can't see where the text might be coming from. I am using the BenefitsModel from ESS.

Answers (0)