on 05-07-2006 8:06 PM
Hi ,
We have a requirement in which we are using Table views and Tray's at multiple places. Now we want to format all of them in the same way, i.e if I change the font size for one table view element , it should be changed for all table view elements on all pages. ( Similarly for other properties) . How can we do this?
Regards,
Divyanshu
Hi,
We are looking at changing all properties of table views/trays at all pages in one shot. Something like stylesheet. But I am not sure how to do it?
REgards,
Divyanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for all the properties use variables and for each property use the same name.
for example for design property of all tableview use variable design. and modify the value for desing only once and it affects all the tableviews.
(check out sample application htmlb_samples/default.htm and click on say button (in the tree node) - in this on the top on right side you can pass various values for properties and it gets applied to the result in the bottom portion)
if you want to have your own styles check out this weblog.
/people/brian.mckellar/blog/2005/06/12/bsp-in-depth-abap-look-and-feel-service
Regards
Raja
all the properties of the tray and tableview use abap variable instead of hard coding
for example.
instead of
<htmlb:tableView design = "ALTERNATING"
<htmlb:tableView design = "<%= design %>"
use the same variable for all the table views and this way by passing the "ALTERNATING" to variable desing all the tableview will have the same design.
Is this what you are looking for?
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.