Skip to Content
0
Former Member
May 15, 2008 at 06:42 AM

Model Binding doesn't work (MVC - BSP)

55 Views

Hi

My application uses Business Server Pages with MVC.

My Model class has several Attributes and I want to use the Model Binding Concept for automatic data transfer between model an view:

1. MODEL

The attribute i want to use is an internal table: T_REP_TOP Static Attribute Private Type

2. VIEW

2.1 Page Attributes (BSP)

How do i have to declare the page attribute in order to "bind" the model attribute T_REP_TOP to my view???

2.2 Layout: Table View

<htmlb:tableView

id="topkennzahl"

selectionMode= "singleselect"

table="<%=???????????????%>"

width="80%"

onRowSelection="row_top"

footerVisible="FALSE">

</htmlb:tableView>

How do i have to fill the table tag of my table View????

Thankx for your help!!!

greetings

Michael

Edited by: Michael Hornung on May 15, 2008 8:42 AM