Hi Musachy,

Your question to prepare some test form/page gave some results.
My problem was that I had problems submitting remote forms.
Submitting with a button had problems, then I tried to submit it with
the <s:a/> element.
And it worked in FF but not in IE.
But I found something interesting after looooong testing :)

Some pseudocode below:

<div id="myParentDIV">
 <form action="/namespace/my.action" theme="ajax">
   <s:hidden name="id"/>
   <s:textfield name="name"/>
   <s:a theme="ajax" targets="myParentDIV">Save</s:a>
 </form>
</div>
<div id="mySecondDIV">
</div>

IE 6
In this case <s:a> makes request to '/app/namespace/my.action'
ut does not attach params.
If I switch <s:a> targets attribute to point to the second div - then
it works and passes params....
The only difference that I see is that it is not it's parent div.

Under FF it works in both cases.

Is there any special reason of this behaviour?
Can it be fixed?
Now I can easily make workarounds - now I know the reason of failures,
but can it be fixed?
Or this is some bug in IE?

Or maybe this is not allowed?

In fact what I tried is that the 'myParentDiv' element is of type
   <s:div id="myParentDIV" theme="ajax" href="%{someURL}" ...>
and the form is loaded by the browser in a separate request.
But I tried to make both div elements to be declared with <s:div> that
preload their contents. It still works only if the target is not the
parent div but the other div.

Best Regards
Dariusz Wojtas

On 1/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
Can you create a ticket with the scenarios that do not work? I'll
probably have time to go over it on the weekend.

thanks
musachy

Dariusz Wojtas wrote:
> Hi Musachy,
>
> This is probably lack of precision from my side.
> Saying "ajax forms" I thought about remote forms.
>
> Even having them working with inputs of type submit/image only (no
> anchors) - just to have one method of submission that works in all
> cases. Currently there are problems with both: anchor and input button
> submission.
>
> At least one submission method that works with remote forms in all
> scenarios ....
>
> Best regards
> Dariusz Wojtas
>
>
> On 1/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
>> I think the problem is only with files right? On showcase there are
>> several examples (not the remoting forms), like on the div, anchor, and
>> button page which work.
>>
>> regards
>> musachy
>>
>> Dariusz Wojtas wrote:
>> > Hi,
>> >
>> > Does the current form submission come from a problem in dojo?
>> > Or is this something else?
>> > What are the current conclusions about it?
>> >
>> > I do not want to be too annoying, this is just important for me.
>> > Any chance to have it working within a week or two?
>> >
>> > Best regards
>> > Dariusz Wojtas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to