From jira-events at lists.jboss.org Tue Feb 9 11:36:19 2010 Content-Type: multipart/mixed; boundary="===============8294654993971076573==" MIME-Version: 1.0 From: A. Nieves (JIRA) To: seam-issues at lists.jboss.org Subject: [seam-issues] [JBoss JIRA] Resolved: (JBSEAM-4532) The Myfaces Trinidad resource LocaleElements JS does not appear when using Seam and the forms do not work when using a trinidad component that displays translated messages Date: Tue, 09 Feb 2010 11:36:19 -0500 Message-ID: <262578729.1265733379544.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 2097146952.1265694559540.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com --===============8294654993971076573== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBSEAM-4532?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] A. Nieves resolved JBSEAM-4532. ------------------------------- Resolution: Rejected The problem is not a bug, but for some reason you have to make available Se= am's context to the Trinidad resources servlet adding the web:context-filte= r to the components.xml. > The Myfaces Trinidad resource LocaleElements JS does not appear when usin= g Seam and the forms do not work when using a trinidad component that displ= ays translated messages > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------------------- > > Key: JBSEAM-4532 > URL: https://jira.jboss.org/jira/browse/JBSEAM-4532 > Project: Seam > Issue Type: Bug > Affects Versions: 2.2.0.GA > Environment: Windows XP, JBoss 5.1, Myfaces Trinidad 1.2.12, Face= lets 1.1.15, Seam 2.2.1 > Reporter: A. Nieves > > Some Myfaces Trinidad components use, when rendered, the Trinidad resourc= e LocaleElements__.js. = > The resource is included in the rendered page source (e.g.: ) but when you try to access that js th= e server gives an error: > HTTP Status 403 - Access to the requested resource has been denied > This only happens using Seam. = > Example EAR project to reproduce: https://docs.google.com/leaf?id=3D0B1ms= 0mMJOqpPM2M5Zjg1ZWEtMDZlNC00MjViLWEyMmItODQ3YWI1MmI1NDcx&hl=3Den > Example Source: > https://docs.google.com/leaf?id=3D0B1ms0mMJOqpPYzAyMDI0ZWYtMTZkMC00NzI5LW= E1MmYtMGVhOTI4YmM3MTIw&hl=3Den > If the test form included in the example is tried a javascript error noti= fying that the TrMessageFactory._TRANSLATIONS (that is defined in the Local= eElements_es1_2_12.js) is undefined (using FireBug) and the form will not s= ubmit. > If the is removed the form will be submitted correctl= y because it will not try yo use the TrMessageFactory._TRANSLATIONS. -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============8294654993971076573==--