Hello Eddy,

I met the same problem.
Here is how i managed it :
I took the example of a subscription form.

First element :

<element implementation="eu.mysite.subscription.subscriptionVIP">
    <submission name="vip_data" >
        <bean name="vip" classname="eu.mysite.beans.VIP" />
            <bean name="adresse" classname="eu.mysite.beans.Address" />
            <bean name="gender" classname="eu.mysite.beans.Gender" />
    </submission>
     <outbean name="addBean" classname="eu.mysite.beans.Address" prefix="add_"/>
</element>


2nd element :

<element implementation="eu.mysite.subscription.subscriptionVIPOk">
    <inbean name="addBean" classname="eu.mysite.beans.Address" prefix="add_"/>
   
</element>


Site description :

<site>
    <element id="subscriptionVIP" file="subscriptionVip.xml"
        url="">         <flowlink srcexit="subscriptionVIPOK" destid="subscriptionVIPOk" />
        <exit name="subscriptionVIPOK" />

                   <datalink srcoutbean="addBean" destid="subscriptionVIPOk" destinbean="addBean"/>
                 
    </element>
    <element id="subscriptionVIPOk" file="subscriptionVIPOK.xml" />
</site>

In the subscriptionVIP implementation, don't forget :

        setNamedOutputBean("addBean", <your bean>);
       
subscription_vip_ok.html :
    Your address is : <!--V 'INPUT:add_addr1'/-->


Hope this helps.



On 5/26/06, Eddy Young <[EMAIL PROTECTED]> wrote:
Hi,

I've been very busy lately, so there have been very few posts from me.

I started looking at using <inbean/> and <outbean/> to pass more
information from one element to another. Unfortunately, there is not
much information as to how to use it properly on the Wiki.

Can anyone help please?

Thanks,

Eddy
--
http://coding.mu
http://priscimon.com/blog



_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to