You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Vladimir Limansky (JIRA)" <ji...@apache.org> on 2008/12/04 13:14:37 UTC
[jira] Created: (WW-2907) Ajax validation bind does not work in
iframes using Firefox
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.
[jira] Resolved: (WW-2907) Ajax validation bind does not work in
iframes using Firefox
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-2907.
---------------------------------
Resolution: Won't Fix
Closing dojo related tickets as "Won't fix". if you have a patch for this issue, feel free to attach it and re-open.
> 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.
[jira] Commented: (WW-2907) Ajax validation bind does not work in
iframes using Firefox
Posted by "Vladimir Limansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45122#action_45122 ]
Vladimir Limansky commented on WW-2907:
---------------------------------------
Actually, it does not work in FF at all.
The workaround I found is adding 'submit link' element just BEFORE sx:submit button
> 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.
[jira] Commented: (WW-2907) Ajax validation bind does not work in
iframes using Firefox
Posted by "Vladimir Limansky (JIRA)" <ji...@apache.org>.
[ 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.