Darius/Muscachy- http://trac.dojotoolkit.org/search?q=1598&ticket=on&changeset=on&wiki=on 1598 isnt on the dojo buglist.. and ...neither is Error setting expression 'timeProp' with value
Did I mis-understand? M- --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --------------------------------------------------------------------------- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. ----- Original Message ----- From: "Dariusz Wojtas" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Sunday, January 14, 2007 11:08 AM Subject: Re: [S2] Ajax form and file submission with s:a > Hi Musachy, > > Is there any chance to ... check the file submission with an anchor? > Does not work for me. > > And IE still has plenty of problems with param passing. > I tried to reopen WW-1598 yesterday - but I do not have enough rights. > I just ended with adding a comment. (what should I do in such case? > create a new issue?) > > > Dates. > > The s:datetimepicker tag works nicely now when it is configured for > 'date', but if fails for 'time' (backed by a java.util.Date > property). > datetimepicker of type 'date' sends 2 properties in the request > dateProp > dojo.dateProp > but time property only sends single property > timeProp > and I can observe an error message in logs: > > 16:57:01,656 ERROR - ParametersInterceptor - > ParametersInterceptor - [setParameters]: Unexpected Exception catched: > Error setting expression 'timeProp' with value > '[Ljava.lang.String;@18806f7' > > <s:datetimepicker > name="timeProp" > language="pl" > type="time" > label="Time ..."/> > > I have a form of theme 'ajax' and datetime properties still do not > generate table row. > I am saying that as I am not sure how our last discussion ended and > what you are exactly asking for :) > > Using yestardays trunk build. > > regards > Dariusz Wojtas > > On 1/14/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: >> I've never tried that myself, but if dojo.bind() supports submission of >> forms with files, then it should be possible. >> >> //did you ever figure out the problem with the date? >> >> regards >> musachy >> >> Dariusz Wojtas wrote: >> > Hi, >> > >> > I have a form declared this way: >> > >> > <s:form action="/my.action" >> > theme="ajax" >> > method="POST" >> > enctype="multipart/form-data"> >> > <s:hidden name="parentId"/> >> > ... >> > <s:a theme="ajax" title="Save" targets="attDiv">Save</s:a> >> > ... >> > ... >> > <s:file name="myFile" label="File"/> >> > <s:textarea name="desc" theme="simple" label="Desc"/> >> > </s:form> >> > >> > >> > file declaration: >> > private java.io.File myFile // +getter/setter >> > >> > When I press the link and there is no s:file element, the form gets >> > submitted. >> > But if the file is in the form, pressing the link makes request to: >> > http://localhost:8080/myApp/struts/dojo/iframe_history.html?noInit=true >> > [as shown by FF 2.0, using FireBug] >> > and the request is not passed to the server. >> > Firefox shows: >> > [object HTMLDocument] >> > in the target div instead of the expected content. >> > >> > >> > It's difficult to say what exactly IE is doing because it fails as >> > even the hidden param is not passed with the request. But IE at least >> > makes that request to the server. >> > >> > Is submission of forms with files supperted by S2? >> > I am using S2 trunk. >> > >> > Regards >> > Dariusz Wojtas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >