incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: converting ADF -> Trinidad problem: javascriptDetector not found??
Date Fri, 17 Nov 2006 03:00:05 GMT
Whoa, *no idea*.  Definitely isn't a Trinidad thing.  Maybe
this comes from the MyFaces side of things?

-- Adam



On 11/16/06, Jim Graf <jgraf@pacbell.net> wrote:
>
> Hi,
>
> I'm converting a working MyFaces/ADF app to MyFaces/Trinidad and I'm
> grinding through it. Most is pretty simple as it is in documentation
> that I can find, but for something like 'region' => 'componentRef' (and
> etc), I had to go to the demo source for. I just couldn't find it in the
> 'things renamed': http://wiki.apache.org/myfaces/Trinidad_renaming
>
> But now I'm stuck on the strangest thing:
>
> The requested resource (/GdsSubmit2/_javascriptDetector_) is not available.
>
> I thought javascript came from the Adf ResourceServlet? What I now have is:
>
> <!-- ADF resource loader servlet -->
> <servlet>
>         <servlet-name>resources</servlet-name>
>         <servlet-class>
>                 org.apache.myfaces.trinidad.webapp.ResourceServlet
>         </servlet-class>
> </servlet>
>
> <servlet-mapping>
>         <servlet-name>resources</servlet-name>
>         <url-pattern>/adf/*</url-pattern>
> </servlet-mapping>
>
> I believe this matches the demo web.xml, but I could have easily
> introduced some mistake.
>
> The other interesting thing is that when I access my app:
> http://sparky/GdsSubmit2/faces/Login.jspx
>
> I get this redirect:
>
> http://sparky/GdsSubmit2/_javascriptDetector_?goto=/GdsSubmit2/faces/Login.jspx
>
> I'm just being a bit lazy by posting this, as I should just convert one
> of my small test apps and figure it out, but I really hope someone goes
> "Seen it!"
>
> thanks,
> jim
>

Mime
View raw message