[jira] [Commented] (WW-4718) focusElement form attribute not working
[ https://issues.apache.org/jira/browse/WW-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15689192#comment-15689192 ] Lukasz Lenart commented on WW-4718: --- {{}}? > focusElement form attribute not working > --- > > Key: WW-4718 > URL: https://issues.apache.org/jira/browse/WW-4718 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.3.24, 2.5.5 > Environment: internet explorer > chrome >Reporter: Chad Davis > Fix For: 2.5.6 > > > I cannot get the focusElement attribute on the form tag to work. I've tried > it in both IE and chrome and in neither case will the text field I want to > focus when the page loads do so. > Here is the html for the form I'm trying to do this with: > {code:xml} > focusElement="subscriberListAutocomplete"> > > id="subscriberListAutocomplete" > cssClass="subscriberListAutocomplete form-control" > placeholder="Subscriber Name" > tabindex="1"/> > >cssClass="btn btn-success" > tabindex="0"/> > > > > {code} > If I change the textfield to a basic input element and use html's autofocus > attribute, it works fine. I have no idea what else I can try on this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4718) focusElement form attribute not working
[ https://issues.apache.org/jira/browse/WW-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15689183#comment-15689183 ] Lukasz Lenart commented on WW-4718: --- Do you use {{xhtml}} theme? Did you include Struts JS helper? > focusElement form attribute not working > --- > > Key: WW-4718 > URL: https://issues.apache.org/jira/browse/WW-4718 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.3.24, 2.5.5 > Environment: internet explorer > chrome >Reporter: Chad Davis > Fix For: 2.5.6 > > > I cannot get the focusElement attribute on the form tag to work. I've tried > it in both IE and chrome and in neither case will the text field I want to > focus when the page loads do so. > Here is the html for the form I'm trying to do this with: > {code:xml} > focusElement="subscriberListAutocomplete"> > > id="subscriberListAutocomplete" > cssClass="subscriberListAutocomplete form-control" > placeholder="Subscriber Name" > tabindex="1"/> > >cssClass="btn btn-success" > tabindex="0"/> > > > > {code} > If I change the textfield to a basic input element and use html's autofocus > attribute, it works fine. I have no idea what else I can try on this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (WW-4718) focusElement form attribute not working
[ https://issues.apache.org/jira/browse/WW-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4718: -- Fix Version/s: 2.5.6 > focusElement form attribute not working > --- > > Key: WW-4718 > URL: https://issues.apache.org/jira/browse/WW-4718 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.3.24, 2.5.5 > Environment: internet explorer > chrome >Reporter: Chad Davis > Fix For: 2.5.6 > > > I cannot get the focusElement attribute on the form tag to work. I've tried > it in both IE and chrome and in neither case will the text field I want to > focus when the page loads do so. > Here is the html for the form I'm trying to do this with: > {code:xml} > focusElement="subscriberListAutocomplete"> > > id="subscriberListAutocomplete" > cssClass="subscriberListAutocomplete form-control" > placeholder="Subscriber Name" > tabindex="1"/> > >cssClass="btn btn-success" > tabindex="0"/> > > > > {code} > If I change the textfield to a basic input element and use html's autofocus > attribute, it works fine. I have no idea what else I can try on this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (WW-4718) focusElement form attribute not working
Chad Davis created WW-4718: -- Summary: focusElement form attribute not working Key: WW-4718 URL: https://issues.apache.org/jira/browse/WW-4718 Project: Struts 2 Issue Type: Bug Affects Versions: 2.5.5, 2.3.24 Environment: internet explorer chrome Reporter: Chad Davis I cannot get the focusElement attribute on the form tag to work. I've tried it in both IE and chrome and in neither case will the text field I want to focus when the page loads do so. Here is the html for the form I'm trying to do this with: {code:xml} {code} If I change the textfield to a basic input element and use html's autofocus attribute, it works fine. I have no idea what else I can try on this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4636) File upload error message always in default language
[ https://issues.apache.org/jira/browse/WW-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15687941#comment-15687941 ] ASF GitHub Bot commented on WW-4636: Github user victorsosa commented on the issue: https://github.com/apache/struts/pull/97 done > File upload error message always in default language > > > Key: WW-4636 > URL: https://issues.apache.org/jira/browse/WW-4636 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.3.28 >Reporter: Pierre-Yves Soblet >Assignee: Aleksandr Mashchenko > Fix For: 2.5.6 > > Attachments: Struts2i18nTest.zip > > > Struts 2 allows to redefine error messages when an upload fails (as > documented in https://cwiki.apache.org/confluence/display/WW/File+Upload). > For instance, if I upload a file with a size greater than allowed by the > configuration using fileUpload interceptor and commons-fileupload dependency, > the following key of my resource bundle is used : > {code} > struts.messages.upload.error.SizeLimitExceededException=File size exceeded > (in i18n.properties). > {code} > However, when the current language is not the default one, the translated key > (in i18n_fr.properties for instance) is not taken into account (the default > language is used instead). > The issue seems similar to WW-3177 (that was fixed in 2.3.7). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4636) File upload error message always in default language
[ https://issues.apache.org/jira/browse/WW-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15687942#comment-15687942 ] ASF GitHub Bot commented on WW-4636: Github user victorsosa closed the pull request at: https://github.com/apache/struts/pull/97 > File upload error message always in default language > > > Key: WW-4636 > URL: https://issues.apache.org/jira/browse/WW-4636 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.3.28 >Reporter: Pierre-Yves Soblet >Assignee: Aleksandr Mashchenko > Fix For: 2.5.6 > > Attachments: Struts2i18nTest.zip > > > Struts 2 allows to redefine error messages when an upload fails (as > documented in https://cwiki.apache.org/confluence/display/WW/File+Upload). > For instance, if I upload a file with a size greater than allowed by the > configuration using fileUpload interceptor and commons-fileupload dependency, > the following key of my resource bundle is used : > {code} > struts.messages.upload.error.SizeLimitExceededException=File size exceeded > (in i18n.properties). > {code} > However, when the current language is not the default one, the translated key > (in i18n_fr.properties for instance) is not taken into account (the default > language is used instead). > The issue seems similar to WW-3177 (that was fixed in 2.3.7). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (WW-4636) File upload error message always in default language
[ https://issues.apache.org/jira/browse/WW-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15687910#comment-15687910 ] ASF GitHub Bot commented on WW-4636: Github user aleksandr-m commented on the issue: https://github.com/apache/struts/pull/97 @victorsosa, @lukaszlenart Please close this one. WW-4636 is fixed in https://github.com/apache/struts/pull/113. > File upload error message always in default language > > > Key: WW-4636 > URL: https://issues.apache.org/jira/browse/WW-4636 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.3.28 >Reporter: Pierre-Yves Soblet >Assignee: Aleksandr Mashchenko > Fix For: 2.5.6 > > Attachments: Struts2i18nTest.zip > > > Struts 2 allows to redefine error messages when an upload fails (as > documented in https://cwiki.apache.org/confluence/display/WW/File+Upload). > For instance, if I upload a file with a size greater than allowed by the > configuration using fileUpload interceptor and commons-fileupload dependency, > the following key of my resource bundle is used : > {code} > struts.messages.upload.error.SizeLimitExceededException=File size exceeded > (in i18n.properties). > {code} > However, when the current language is not the default one, the translated key > (in i18n_fr.properties for instance) is not taken into account (the default > language is used instead). > The issue seems similar to WW-3177 (that was fixed in 2.3.7). -- This message was sent by Atlassian JIRA (v6.3.4#6332)