Hi,
I wanted to know what is the "usual" architecture to use with HTMLB.
I explain:
I try to use MVC architecture in a jspdynpage application: model-view-controller
So can somebody tell me how to work with htmlb in this architecture?
For example, should I use :
- HTMLB api in my Bean and create all htmlb component (Textview, IListModel, DefaulTableModel, ...) directly in my Bean and just call it in my jsp page ?
- or use (each time I can) standard api in my bean (String ArrayLlist, ...) and work with HTMLB tag only in my jsp ?
Actually, when I use simple HTMLB element like TextView or inputField, I create simple Bean with standard data (as String ...) and in my jsp, I only use:
<hbj:inputField id="lastname" value="<%=myBean.getLastName()%>" design="standard" />
But there are HTMLB component for which it is not possible to do this: for example, when I want to use tableView component, I must create, in my Bean, a DefaultTableViewModel object ... and just call " <hbj:tableView id="myTableView" model="MyBean.myTables" " in the jsp ....
So has somebody a official document which explains the used of HTMLB component (simple and complex) in a Portal application ?
Thanks,
Fabien