Hi again, I tried without the theme="ajax" in the submit button. It worked even at IE, but then, I lost the ajax behavior. I need update a div. So I think it is a bug of ajax theme vs IE.
What do you think? Thanks, Felipe Felipe Rodrigues wrote: > > Thanks for the help, > Now I'm trying with this simple form, simpler than the first. For my > surprise I got the same problem. > In Firefox works, in IE doesn't. > Here goes my code, first the part I getting the ActionContext and getting > the parameters: > > ActionContext ac = ActionContext.getContext(); > Map session = ac.getSession(); > Map<String, Object> parameters = ac.getParameters(); > > and my form: > > --------------------- BEGIN OF CODE > --------------------------------------------- > <[EMAIL PROTECTED] prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> > <[EMAIL PROTECTED] prefix="s" uri="/struts-tags"%> > <s:form id="formVariaveis" action="Variaveis!updateMovs" method="post"> > <table cellspacing="2"> > <tr> > <th>Variável</th> > <th>Unid</th> > <th>Valor</th> > <th>Valor anterior</th> > <th>OUT</th> > <th>INV</th> > </tr> > <tr class="itemLista"> > <td>DSC</td> > <td align="center">UNID</td> > <td><s:textfield name="valor583" size="20" value="15.00" > cssClass="inputField" theme="simple" /></td> > <td style="color: #000CCC; text-align: right">Valor Ant</td> > <td align="center"><s:checkbox name="foraMedia583" theme="simple" > value="true" /></td> > <td align="center"><s:checkbox name="desprezaValor583" > theme="simple" value="false" /></td> > </tr> > </table> > <s:submit key="Gravar" targets="divVariaveis" theme="ajax" > showLoadingText="Loading..." /> > </s:form> > --------------------- END OF CODE > --------------------------------------------- > > Thanks, > > Felipe > > > Musachy Barroso wrote: >> >> You could compare what is getting submitted to the server by both FF and >> IE. >> But it does sound weird. Try to narrow it down to a simple form, with a >> simple action, with no extra-interceptors, etc. >> >> musachy >> >> >> On 4/20/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote: >>> >>> >>> I don't want to screw up, but doesn't it sound like a bug? >>> I have nowhere more to look for a solution. >>> >>> {} >>> >>> Felipe >>> >>> >>> Felipe Rodrigues wrote: >>> > >>> > Sure, >>> > >>> > Pls, excuse the names in portuguese. It is not a simple form, and it >>> is >>> in >>> > this way because it is dinamicaly generated. >>> > >>> > --------------------- BEGIN OF CODE >>> > >>> --------------------------------------------------------------------------- >>> > <s:form id="formVariaveis" action="Variaveis!updateMovs" >>> theme="simple" >>> > method="post"> >>> > <table cellspacing="2"> >>> > <tr> >>> > <th>Variável</th> >>> > <th>Unid</th> >>> > <th>Valor</th> >>> > <th>Valor anterior</th> >>> > <th>OUT</th> >>> > <th>INV</th> >>> > </tr> >>> > <s:iterator value="vars"> >>> > <s:if test="%{errors[id].errorMsg != null}"> >>> > <tr> >>> > <td colspan="6" class="customErrorMessage" align="left">* >>> > <s:property value="%{errors[id].errorMsg}" /></td> >>> > </tr> >>> > </s:if> >>> > <tr class="itemLista"> >>> > <td><s:property value="dsc" /></td> >>> > <td align="center"><s:property value="unidade" /></td> >>> > <td><s:textfield name="valor%{id}" size="20" >>> > value="%{movimentoMap['${mesSel}'].valor}" cssClass="inputField" >>> > theme="simple" /></td> >>> > <td style="color: #000CCC; text-align: right"><s:property >>> > value="%{movimentoMap['${mesSel}'].valor}" /></td> >>> > <td align="center"><s:checkbox name="foraMedia%{id}" >>> > theme="simple" value="%{movimentoMap['${mesSel}'].foraMedia}" /></td> >>> > <td align="center"><s:checkbox name="desprezaValor%{id}" >>> > theme="simple" value="%{movimentoMap['${mesSel}'].desprezaValor}" >>> /></td> >>> > </tr> >>> > </s:iterator> >>> > </table> >>> > </s:form> >>> > <div align="right"><input type="submit" dojoType="struts:Bind" >>> > formid="formVariaveis" event="onclick" value="Gravar" >>> > targets="divVariaveis" showloading="Loading..." id="btGravar" >>> > label="Gravar" /> <input dojotype="struts:Bind" event="onclick" >>> > value="Cancelar" >>> > notifytopics="updateFormVariaveis" type="submit"></div> >>> > >>> > --------------------- END OF CODE >>> > --------------------------------------------- >>> > >>> > Thanks, >>> > >>> > Felipe >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/ActionContext-not-working-properly-with-IE-tf3617796.html#a10107434 >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> >> > > -- View this message in context: http://www.nabble.com/ActionContext-not-working-properly-with-IE-tf3617796.html#a10108453 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]