Does the request arrive at the element?
On 09 May 2006, at 17:18, Oliver Dohmen wrote:
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="/a/registerUser" 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="${register_ds}"/>
<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
--
Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users