Hi all,

i working with the RIFE Laszlo Kit atm. Updated to OL 3.2 and RIFE 1.4.

My Problem is that i can`t get my Bean filled from a Request.

Environment is:

element from site :

    <element id="registration" implementation=" d.a.m.elements.Register" url="" contenttype="text/xml">
            <submission name="register">
                <bean classname="d.a.m.beans.UserData "/>
            </submission>
        </element>

Code from the Source:

public void processElement() {
 
        Template t = getXmlTemplate("registration");
        UserData userData = getSubmissionBean( UserData.class);
        log.severe("UserData : " + userData);

        print(t);
    }

LZX Code :

<baseform name="userdata_form" datapath="new:/userdata" width="${ parent.width}" height="${parent.height}">
            <submit name="register" data="">            <baseformitem focusable="false" visible="false" name="submission" text="register" />
            <vbox name="vbox1" inset="10" width="${parent.width}" height="${parent.height}">
                <hbox name="form_box" width="${parent.width }">
                   <vbox name="left"  width="${(parent.width/2)}" spacing="10">
                        <method event="onvisible">
                            LzFocus.setFocus(salutation);
                        </method>
                        <forminput name="salutation" label="Anrede"       datapath="@salutation"  labelwidth="$once{ classroot.labelwidth}"  fieldwidth="200" mandatory="true"/>       
                        ....
I debugt it a bit and i could not find the submission name.

So, what`s wrong with the code ?

Thnx, odo

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

Reply via email to