cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:

Former Member
0 Kudos

Hi,

I am new to web dynpro java. I am trying some basic programs.

Like take two values in first page and trying to add those two valueand show the result in next page.

But i am getting this error.

Can any one help me.

The error which i am getting is this.

The initial exception that caused the request to fail, was:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Property 'value' of AbstractInputField with id 'fvalue' in view 'StartView' must be bound to the context

at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1264)

at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:582)

at com.sap.tc.ur.renderer.ie6.InputFieldRenderer.render(InputFieldRenderer.java:58)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)

at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)

Regards,

H.V.Swathi

Accepted Solutions (1)

Accepted Solutions (1)

siddharth_jain
Active Contributor
0 Kudos

Hi,

Go to Webdynpro Explorer and under srcmimesComponents--<ComponentPackage>

verify that Under your component Package folder(like com.sap.YourComponentName) image exist.

Check the Source property of Image UI element and specify only Image name like img.jpg .Reload and rebuild your WD Project.

Deploy the New Archive. and see if it works.

Siddharth

Answers (3)

Answers (3)

siddharth_jain
Active Contributor
0 Kudos

Hi,

Check the Page no 26 of the following PDF for using MIME objects in WD and Verify your steps:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4a417a90-0201-0010-f499-8d41fc78...

Siddharth

siddharth_jain
Active Contributor
0 Kudos

Hi,

Make sure that Value of your InputField is Bind to the Context.

You can check this By going into inputField property,If it is not bind you will see a red cross mark ,Verify the same with all the UI elements in your Views.

Siddharth

Former Member
0 Kudos

Hi,

in StartView

bind the InputField UI element with context attribute "fvalue".

go to properties of InputField UI element you find value property ,

bind the fvalue with value property of the element.

Regards,

ramesh

Edited by: Ramesh Babu V on Sep 25, 2008 10:47 AM

Former Member
0 Kudos

Thank you it is working fine.

And i have one more doubt.

I am trying to show one image(gif) file in the page..

After i run the application.

I have imported it in the <project>/<project component>/src/mine/component/<project package>/.gif file but it is not showing after i run.

I have specified the file name in the source property of the Image field in the page.

Can u help me

Former Member
0 Kudos

add Image UI Element and set the following properties

· source

Determines the Web address (URL) of the graphic through which the UI element receives the data. If you store the image file in your Web Dynpro project under src /mimes /Components /, you only have to specify the file name without a path.

example source=image.gif

Regards,

ramesh

Former Member
0 Kudos

Hi

i have saved that in the local folder of the project.. and specified

the name of the file in the source property.

Even then it is not display in the image cross mark is comminf while running.

Former Member
0 Kudos

deploy the application once.

even if it not came, change the source property to aaaa.gif deploy.

and again set the source property to original name and deploy application.

Former Member
0 Kudos

I tried this but still not displaying the image