Might be that hivemodule.xml isn't configured correctly for including
assets?

On 3/20/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> Hmm...Then I have no idea why that's not working. The only other scenerio
> where this would happen is if there was an actual bug in the tacos.jscode,
> in which case browsers will sometimes invalidate the entire file.
>
> Did you grab this from cvs or the website?
>
> On 3/20/06, Kristian Marinkovic <[EMAIL PROTECTED]> wrote:
> >
> > here is the source:
> >
> >
> > <script type="text/javascript">
> >           djConfig = { isDebug: false,
> >                         baseRelativePath: "js/dojo/",
> >                         preventBackButtonFix: false };
> > </script>
> > <script type="text/javascript" src="js/dojo.js" />
> > </head>
> >
> > <body title="Dynamic blocks/animated effects">
> > <script type="text/javascript"
> >
> >
> src="/tapestry_tacos/app?digest=b28ed13c10dc1486db25d6aa85688eec&amp;path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Ftacos.js&amp;service=asset"></script>
> >
> > <script type="text/javascript"
> >
> >
> src="/tapestry_tacos/app?digest=1c86cd382631b3d03e913387f074e6be&amp;path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Fprototype.js&amp;service=asset"></script>
> >
> > <script type="text/javascript"><!--
> >
> >         dojo.require("dojo.fx.html");
> >                          dojo.require("dojo.io");
> >
> >
> >
> >
> >
> >
> >
> >              "Jesse Kuhnert"
> >              <[EMAIL PROTECTED]
>
> >              om>                                                        An
> >                                         "Tapestry users"
> >              20.03.2006 16:10           <
> tapestry-user@jakarta.apache.org>
>
> >                                                                      Kopie
> >
> >               Bitte
> antworten                                        Thema
> >                     an                  Re: Re: Tacos Beta: JSError
> "tacos
> >              "Tapestry users"           is not defined
> >              <[EMAIL PROTECTED]
> >              karta.apache.org>
> >
> >
> >
> >
> >
> >
> >
> >
> > Hmmm..I'm not sure...On one of your pages, if you do a view source do
> you
> > see tacos.js being included towards the head of your document anywhere?
> >
> > Did you add it to your .application file as a library?
> >
> > On 3/20/06, Kristian Marinkovic <[EMAIL PROTECTED]>
> wrote:
> > >
> > > tacos4-beta-1-lib.jar is located at WEB-INF/lib; components are
> rendered
> > > without problems;
> > > instead of a xmlhttprequest a GET is performed
> > >
> > > i just realized there was something in the web.xml of the tacos demo
> > > application (.war)
> > > do i have to add it to my web.xml too?
> > >
> > >
> > >   <servlet>
> > >   <servlet-name>TacosDemo</servlet-name>
> > >   <servlet-class>net.sf.tacos.demo.ConfigurationServlet
> </servlet-class>
> > >   <load-on-startup>1</load-on-startup>
> > >   </servlet>
> > >
> > >   <servlet-mapping>
> > >   <servlet-name>TacosDemo</servlet-name>
> > >   <url-pattern>/app</url-pattern>
> > >   </servlet-mapping>
> > >
> > > <!--
> > >   <servlet-mapping>
> > >   <servlet-name>TacosDemo</servlet-name>
> > >   <url-pattern>*.html</url-pattern>
> > >   </servlet-mapping>
> > >    -->
> > >
> > >   <servlet-mapping>
> > >   <servlet-name>TacosDemo</servlet-name>
> > >   <url-pattern>*.direct</url-pattern>
> > >   </servlet-mapping>
> > >
> > >   <servlet-mapping>
> > >   <servlet-name>TacosDemo</servlet-name>
> > >   <url-pattern>*.sdirect</url-pattern>
> > >   </servlet-mapping>
> > >
> > >   <servlet-mapping>
> > >   <servlet-name>TacosDemo</servlet-name>
> > >   <url-pattern>/assets/*</url-pattern>
> > >   </servlet-mapping>
> > >
> > >   <servlet-mapping>
> > >   <servlet-name>TacosDemo</servlet-name>
> > >   <url-pattern>*.svc</url-pattern>
> > >   </servlet-mapping>
> > >
> > >
> > >
> > >
> > >
> > >              "Jesse Kuhnert"
> > >              <[EMAIL PROTECTED]
> > >              om>
> > An
> > >                                         "Tapestry users"
> > >              20.03.2006 15:56
> > <tapestry-user@jakarta.apache.org>
> > >
> > Kopie
> > >
> > >               Bitte antworten
> > Thema
> > >                     an                  Re: Tacos Beta: JSError "tacos
> > is
> > >              "Tapestry users"           not defined
> > >              <[EMAIL PROTECTED]
> > >              karta.apache.org>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > It sounds like the tacos.js file is not being included in your page
> for
> > > some
> > > reason. Did you include the tacos jar in your web app?
> > >
> > > On 3/20/06, Kristian Marinkovic <[EMAIL PROTECTED]>
> > wrote:
> > > >
> > > >
> > > > hi,
> > > >
> > > > whenever ich try to run applications with tacos components i get
> > > following
> > > > js error:
> > > >
> > > > "Error: tacos is not defined"
> > > >
> > > > the project files were taken from the tacos demos (
> EffectsExample.java
> > ,
> > > > EffectsExample.page
> > > > and EffectsExample.html) ... in fact just a copy
> > > >
> > > > Any suggestions how to solve this?
> > > >
> > > > regards,
> > > > kris
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Jesse Kuhnert
> > > Tacos/Tapestry, team member/developer
> > >
> > > Open source based consulting work centered around
> > > dojo/tapestry/tacos/hivemind.  http://opennotion.com
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tacos/Tapestry, team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind.  http://opennotion.com
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.  http://opennotion.com
>
>

Reply via email to