Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
craigcmehil
Community Manager
Community Manager
0 Kudos

A while back in the Business Server Pages (BSP) forum we talked about adding a Modifiying Column in ITERATOR to include image? to a columnDefinition for a tableView Iterator. We never could get it to work, well I just managed to do it. Now unfortunately I don't know if something was changed regarding this in SP43 or not as I had SP42 when we talked about it.



So I will now take you through the process step by step and hopefully you'll find it useful. First for a bit of history and background please read this topic in the BSP forum.



Modifiying Column in ITERATOR to include image?



With that I will begin, as you can see from the thread we just could not get this to work. And we had it on the word of the experts, Steffen Knoeller and Brian McKellar !https://forums.sdn.sap.com/images/sap.gif|src=https://forums.sdn.sap.com/images/sap.gif|border=0!, well to be honest it wasn't good enough. I knew there had to be a way (now again perhaps that was SP43) but until someone tells me otherwise I'm going to feel good about myself.



And off we go....






First create your Interator class. Not sure how, then please see BSP Programming: HTMLB TableView Iterator. Then in the method

Not such a huge difference but it was something we overlooked. As an added bonus, if you click the image the event handlers fire and the page is reloaded !!



Now as I mentioned two guys from SAP I don't want anyone thinking that I'm blaming, accusing or saying something negative. As I said at the time, we could not get this to work, however, now it's possible and it's a good possiblitiy that it's because of the newest SP 43 updates. However, I won't know until someone with a lower SP than 43 actually tries it and let's me know, or someone from SAP reads this and tells us.



Updated November 2004



Well I've upgraded to SP45 and now I get nothing but errors with this solution !https://weblogs.sdn.sap.com/weblogs/images/2538/sad.gif|height=17|alt=image|width=17|src=https://web...!




5 Comments