For anyone who stumbles with the same problem:

You have to make the Seam context available for the Trinidad resources
servlet (maybe because Seam manages the locale? idn) as explained in
30.1.4.8. Context management for custom servlets (
http://docs.jboss.org/seam/latest/reference/en-US/html_single/#d0e24092).

Redux; you'll have to add this entry to the components.xml:

 <web:context-filter url-pattern="/adf/*"/>

On Tue, Feb 9, 2010 at 2:15 AM, Matthias Wessendorf <mat...@apache.org>wrote:

> some (paranoid) security for "resources" folder? :)
>
> -Matthias
>
> On Tue, Feb 9, 2010 at 7:07 AM, A. Nieves <daraii.t...@gmail.com> wrote:
> > Can anyone that uses Seam give some input?
> > If I deploy a test project in JBoss 5.1 I get an
> >                    HTTP Status 403 - Access to the requested resource has
> > been denied
> >  error when trying to see the
> > http://<host:port>/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js
> > resource, but I can access the http://
> > <host:port>/test/adf/jsLibs/Common1_2_12.js
> >
> >
> > Thanx.
> >
> > On Tue, Feb 9, 2010 at 1:30 AM, Matthias Wessendorf <mat...@apache.org
> >wrote:
> >
> >> actually not sure on that. Never done Seam for over a 1.5 years
> >>
> >> On Mon, Feb 8, 2010 at 11:44 PM, A. Nieves <daraii.t...@gmail.com>
> wrote:
> >> > I created a test EAR project with Facelets 1.1.15 , Trinidad 1.2.12
> and
> >> > MyFaces 1.2.8 without Seam and I can see the LocaleElements resource.
> Can
> >> it
> >> > be something in Seam's configuration? It's weird because I can see the
> >> > Common1_2_12.js.
> >> >
> >> >
> >> > On Mon, Feb 8, 2010 at 11:59 AM, A. Nieves <daraii.t...@gmail.com>
> >> wrote:
> >> >
> >> >> Yes, I have another example deployment (the only difference it is a
> WAR
> >> and
> >> >> not an EAR) and it works correctly. But I was wondering what can be
> >> >> different in my current configuration because it does't work.
> >> >>
> >> >>
> >> >> On Mon, Feb 8, 2010 at 3:34 AM, Matthias Wessendorf <
> mat...@apache.org
> >> >wrote:
> >> >>
> >> >>> I see it here:
> >> >>>
> >> >>>
> >> >>>
> >>
> http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es
> >> >>>
> >> >>> -Matthias
> >> >>>
> >> >>> On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves <daraii.t...@gmail.com>
> >> wrote:
> >> >>> > Hello,
> >> >>> >
> >> >>> > I'm having problems when I try to submit a form and one of the
> input
> >> >>> > elements has a validator that uses LocaleElements javascript (In
> my
> >> >>> > particular case the *LocaleElements_es1_2_12.js*) The script is
> >> included
> >> >>> in
> >> >>> > the page
> >> >>> >
> (src="/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es")
> >> but
> >> >>> the
> >> >>> > resource is not available (if you try to load the js in the web
> page
> >> it
> >> >>> > displays an error). The other js resources, such as
> >> *Common1_2_12.js*,
> >> >>> are
> >> >>> > found.
> >> >>> >
> >> >>> > If I change the locale I have the same problem.
> >> >>> >
> >> >>> > I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and MyFaces
> >> 1.2.8
> >> >>> and
> >> >>> > this is my *web.xml* (
> >> >>> >
> >> >>>
> >>
> https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2&hl=en
> >> >>> > )
> >> >>> >
> >> >>> >
> >> >>> > I appreciate the help. Thnx.
> >> >>> >
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Matthias Wessendorf
> >> >>>
> >> >>> blog: http://matthiaswessendorf.wordpress.com/
> >> >>> sessions: http://www.slideshare.net/mwessendorf
> >> >>> twitter: http://twitter.com/mwessendorf
> >> >>>
> >> >>
> >> >>
> >> >
> >>
> >>
> >>
> >> --
> >> Matthias Wessendorf
> >>
> >> blog: http://matthiaswessendorf.wordpress.com/
> >> sessions: http://www.slideshare.net/mwessendorf
> >> twitter: http://twitter.com/mwessendorf
> >>
> >
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>

Reply via email to