myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: How can I have more than one bean in an orchestra conversation
Date Wed, 06 Feb 2008 09:18:08 GMT
Hi!
> I have tried to define a name for my conversation but did not succeed. All
> I found in the documentation was the hint of some hidden id on page specs.
>   
In your spring config add the orchestra xsd
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:orchestra="http://myfaces.apache.org/orchestra"
       xsi:schemaLocation="
            http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
            http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
            http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
            http://myfaces.apache.org/orchestra
http://myfaces.apache.org/orchestra/orchestra.xsd">


and then you'll be able to configure the conversation name

    <bean
        name="bean2"
        class="org.apache.myfaces.examples.multibean.Bean2"
        scope="conversation.manual"
        orchestra:conversationName="multibean">
    </bean>


Ciao,
Mario


Mime
View raw message