on 09-25-2008 6:08 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the Page no 26 of the following PDF for using MIME objects in WD and Verify your steps:
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.