on 05-24-2006 1:50 PM
Hi,
I have a problem with accessing a deep structure component from a tableView control.
The structure is defined like this:
structure project_data
main_data type structure
data_table1 type table
data_table2 type table
...
end structure
The deep structure project_data is an attribute of my model class.
When I have a table attribute, it can directly be accessed by using table="//model/table_data" in the tableView.
What do I have to write in my table attribute to access the deep structure directly via model binding.
table="//model/project_data.table_data" doesn't work, it throws a bsp exception.
Thanks in advance!
There are set limitations to the delivered model binding logic. It can't degotiate that deep of a structure. This is the path logic:
path syntax:
name [ "[" row "]" ] [ "." column ]
Check out the methods under the Interface (IF_BSP_MODEL_BINDING) in the class CL_BSP_MODEL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So there is no direct way of doing this?
But why does it work for textEdits like this: value="//model/project_data.main_data-description"
What would I have to do in the interface methods to get it work, or is it simpler to just add the elements of the deep structure directly to my model class?
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.