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]

Reply via email to