This project is read-only.

Views can also be created using ControllerManager contains a dictionary of views. The listing 1 below shows how to create a view using statements.

<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="">

  <import resource="spring-Koossery.MVCwin.Tuto_SESSIONS.xml"/>

  <object id="LoginView" type="Koossery.MVCwin.Tuto.views.form.LoginView">
    <property name="ViewName">
    <property name="Session">
      <ref object="Session"/>

Notes that we include de xml spring file SESSIONS. The Session object is injected in all views. Using this technique we can initialize all other necessary properties.

Last edited Jun 19, 2009 at 6:00 PM by mohamadou, version 5


No comments yet.