hi, 

i have 2 forms, both should be submitted via ajax.

1. one is in my home.html and should be submitted using a submit-component:
<input jwcid="@Submit" value="einloggen" listener="listener:login" 
updateComponents="loggedIn"/>

2. one is in a subcomponent and should also be submitted via submit-component:
<a jwcid="@Submit" listener="listener:searchProcesses" 
updateComponents="listForm"/>


this renders to two submits, both with id 'Submit':

        <form method="post" action="/posDB/app" id="Form">
<div style="display:none;" id="Formhidden"><input type="hidden" name="formids" 
value="TextField,TextField_0,Submit" />
...
                <p><input type="submit" name="Submit" id="Submit" 
value="einloggen" /></p>
        </form>

and

                <form method="post" action="/posDB/app" id="listForm">
<div style="display:none;" id="listFormhidden"><input type="hidden" 
name="formids" 
value="TextField,TextField_0,Submit,table,condSorted,condSort,condSorted_0,condSort_0,condSorted_1,condSort_1,condSorted_2,condSort_2,condSorted_3,condSort_3,iterRows,If,If_0,If_1,If_2,If_3,If_4,If_5,If_6,If_7,If_8,iterPage,condCurrent,condCurrent_0,condCurrent_1,condCurrent_2,condCurrent_3,condCurrent_4,condCurrent_5"
 />
<input type="hidden" name="component" value="$OrderProcessList.listForm" />
<input type="hidden" name="page" value="Home" />

        <input type="submit" name="Submit" id="Submit" />
</div>

because auf this, dojo can not submit the 2. form via ajax, cause it is 
listening for the other submit with the id of 'Submit'.

kind regards,
peter

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

Reply via email to