on 04-21-2009 3:37 PM
I have a table to display user roles.each type of role will have a specific image to display in that table along with other roles data.
I am new to WebDynPro for Java.Can any one help me out on this.
Hi,
you need to have the image name and the simple type item name exact same,
after that, you have to provide the image type extenstion in the coding where your passing the value to the image source and image,
you need to give the simple type item name - image name + ".bmp" this is the image file extention like,
try this, will work, your missing to give the file extention,
Cheers,
Apparao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
look this tutorial
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90ac0015-d1c5-2a10-d788-aed89990811d]
Reagards,
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes,
The following are the steps which followed to insert.
1) inserted a TableCellEditor of type Image with name Image1.
2) copied the image which i want to display into /src/mimes/Components/image.jpeg.
3) created a simple Type variable in Local Directory named imageSource
4) added a name-value in enumeration with name as image and value as above url.
5) created a value Attribute in view context and mapped to above created simple type variable
finally when i run the application i am able to table with no Image mark( image with X mark)
1) inserted a TableCellEditor of type Image with name "Image1".
Ok. Bind the "source" property to the context attribute from step 5 below.
2) copied the image which i want to display into /src/mimes/Components/image.jpeg.
No, the images must be inside folder src/mimes/Components/<name_of_your_component>
3) created a simple Type variable in Local Directory named imageSource
Nonsense.
4) added a name-value in enumeration with name as image and value as above url.
Nonsense.
5) created a value Attribute in view context and mapped to above created simple type variable
Nonsense. Just set the attribute value at index i to the image filename if the image should appear in table row #i.
Armin
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.