[Laszlo-user] DHTML

Sandro Chierici sandro.chierici at gmail.com
Thu Dec 13 07:37:43 PST 2007


Hi,
i'm Sandro,  i've done an application with laszlo for the front end and
tomcat+hibernate+spring for back-end.
I've defined laszlo datasource that point to
localhost/serverapp/view_needed.xml
Inside Spring i've defined a lot of views, one for every datasource request,
and related spring-mvc-controller  mappings like this:

    <bean id="xmlTablesController" class="
it.dietquest.deploy.controllers.RequestController" scope="request">
        ....

    <!-- CONTROLLER MAPPING DEFS -->
    <bean id="urlMapping" class="
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="mappings">
            <props>
                <prop key="/tables.xml">xmlTablesController</prop>
            </props>
        </property>
    </bean>

    <!-- VIEW RESOLVER DEF -->
    <bean id="xmlViewResolver" class="
org.springframework.web.servlet.view.XmlViewResolver">
      <property name="location" value="/WEB-INF/views.xml"/>
    </bean>


And so on....

Thus, at every datasource request, my spring controller bean get data from
db and send pure xml to laszlo.

Sandro

On Dec 13, 2007 4:15 PM, logu ramesh <logurame at gmail.com> wrote:

> hi...
>      Please tell me how to integrate rpc laszlo application with spring...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20071213/81a76932/attachment.html


More information about the Laszlo-user mailing list