Glad you figured it out :-)
On 09 May 2006, at 18:10, Oliver Dohmen wrote:
You are right. OL does not submit any informations. So the
Submission has no name.
It`s fixed after this. Now i have my submission bean filled.
thnx odo
2006/5/9, Geert Bevin < [EMAIL PROTECTED]>:Try to set a breakpoint in
your source where you get the debug
information, and look at the local variables:
this.mElementContext.mRequestState.mRequest.mHttpServletRequest
This is the HttpServletRequest and you should be able to analyze it
to see which parameters have been actually sent by your Laszlo app.
On 09 May 2006, at 17:28, Oliver Dohmen wrote:
> Yes, it does. I get the Debug Output :) That was checked before.
>
> Btw. the Data Bean i use is a POJO, but i think this should work.
> (without the validation stuff)
>
> cu odo
>
>
> 2006/5/9, Geert Bevin <[EMAIL PROTECTED]>: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
>
> _______________________________________________
> 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
_______________________________________________
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