hi,

you can look into org.dbforms.util.ParseUtil class. There is a static method 
ParseParameter - name may be different i am not at home yet - which should do the task.

regards 
Henner

-----Original Message-----
From: Viviana Tessari <[EMAIL PROTECTED]>
Sent: 09.02.04 11:55
To: [EMAIL PROTECTED]
Subject: Re: [dbforms] retrieve a parameter not specified in dbforms-config
I put a System.out of "request.getParameter("delete_image1")" in both 
preInsert and preUpdate methods, but I get always null. I tried to modify 
also other parameters in update, but always get null. I suppose that this 
happens becouse the form is multipart and so request.getParameter doesn't 
work. You tried with a normal form or with a multipart one? Probably there 
is another way to obtain parameters from a multipart form, but I don't know 
how.
I'm using dbf 1.1.4pr2.
Thanks
Viviana

At 19.30 09/02/2004 +0900, Shawn wrote:

>_This way works for me:
>><input type="textfield" name="delete_image1" value="true"/>
>
>>request.getParameter("delete_image1")
>
>One note though, say if I use and updateInterceptor -- if this 
>"delete_image1" field is the only thing that changed then I will see 
>something like this in my log
>  INFO [http8080-Processor22] (UpdateEvent.java:111) - no parameters to 
> update found
>and it seems like nothing gets passed.  In otherwords, your inteceptor 
>will only see that value if some values for the page were changed and 
>needed to be updated.  That's how it seems to work for me under dbf2.0.
>--
>Shawn
>
>Happily using M2, Opera's revolutionary e-mail client: 
>http://www.opera.com/m2/



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to