|
Hi all, I would like to send some parameters to the backend while using a form component. I tried to use dataset.setQueryParam, but soon I learned that the submit.submit() will wipe any query parameter in the dataset. The I tried to include a hidden form component in the form, something like: ---------8<----------------------------------------------------- <canvas> <class name="hiddenfield" extends="baseformitem" /> <class name="xtd_form" extends="form"> <hiddenfield name="key" value=""/> </class> <xtd_form name="a"> <statictext text="test" /> <edittext width="200" name="bla" /> </xtd_form> </canvas> ---------8<----------------------------------------------------- This will fail with: ---------8<----------------------------------------------------- Compilation Errors Syntax error: the attribute value ended in mid-_expression_. Look for an unclosed '(', '{', or '['. ---------8<----------------------------------------------------- Apart from not showing any hint about the location of the offending code, the message itself is very misleading. How nasty! How do you guys send hidden paramenters to the backend? Thaks in advance, -- Paulo |
- [Laszlo-user] bug trying to extend baseformitem... Paulo Scardine
- Re: [Laszlo-user] bug trying to extend baseformitem (k... Paulo Scardine
- Re: [Laszlo-user] bug trying to extend baseformite... P T Withington
- Re: [Laszlo-user] bug trying to extend basefor... Paulo Scardine
- Re: [Laszlo-user] bug trying to extend baseformitem... Henry Minsky
