[
https://issues.apache.org/struts/browse/WW-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45123#action_45123
]
Vladimir Limansky commented on WW-2907:
---------------------------------------
Page example working in FF:
Even though you submit using sx:submit button, it will not work in FF without
<sx:a
formId="QuestionFormId"
validate="true"
ajaxAfterValidation="false"
showLoadingText="false">Submit Form with a link</sx:a>
Element
<s:form
action="bidSubmit!saveQuestion"
name="bidSubmit!saveQuestion"
id="QuestionFormId"
method="post">
<c:set var="subjectLabel"><s:text name="buyer:Summary">Summary</s:text>
</c:set>
<s:textfield name="question['subject']"
label="${subjectLabel}"
size="40"
required="true"
requiredposition="left"
cssClass="portlet-form-input-field"/>
<c:set var="questionLabel"><s:text
name="buyer:DetailedQuestion">Detailed question</s:text></c:set>
<s:textarea name="question['question']"
rows="5" cols="40"
label="${questionLabel}"
cssClass="portlet-form-input-field"/>
<tr>
<td>
<span class="invisible">
<sx:a
formId="QuestionFormId"
validate="true"
ajaxAfterValidation="false"
showLoadingText="false">Submit Form with a link</sx:a>
</span>
</td>
</tr>
<c:set var="questionSubmitLabel"><s:text
name="buyer:Submit">Submit</s:text> </c:set>
<sx:submit
id="SubmitQuestionId"
validate="true"
ajaxAfterValidation="false"
targets="popup_content"
showLoadingText="false"
value="${questionSubmitLabel}"
formId="QuestionFormId"
cssClass="portlet-form-button"/>
</s:form>
> Ajax validation bind does not work in iframes using Firefox
> -----------------------------------------------------------
>
> Key: WW-2907
> URL: https://issues.apache.org/struts/browse/WW-2907
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.0
> Environment: struts2-dojo-plugin-2.1.0.jar struts2-core-2.1.0.jar
> Firefox 2.0.0.18
> Reporter: Vladimir Limansky
>
> The mandatory felds ajax validation does not work when using a "popup" (HTML
> layered iframe) only in Firefox 2.0 (The submit button or the submit link are
> not binded to make a validation ajax request). It works fine in IE 7, but to
> make it work in IE6 or in FF 3.0, I need to make one extra-reload of my popup
> iframe first.
> So
> IE7 - ok
> IE6, FF 3.0 - needs extra-iframe-reload to make it work
> FF 2.0 - does not work at all (binded ajax request is not being sent)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.